pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/ruby-gnome2-gtk Fix path to includes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/809c17915268
branches:  trunk
changeset: 362310:809c17915268
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 11 09:08:14 2017 +0000

description:
Fix path to includes.

diffstat:

 x11/ruby-gnome2-gtk/distinfo                          |   3 ++-
 x11/ruby-gnome2-gtk/patches/patch-ext_gtk2_extconf.rb |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d841732b6c6e -r 809c17915268 x11/ruby-gnome2-gtk/distinfo
--- a/x11/ruby-gnome2-gtk/distinfo      Thu May 11 08:48:37 2017 +0000
+++ b/x11/ruby-gnome2-gtk/distinfo      Thu May 11 09:08:14 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2017/01/29 07:54:21 tsutsui Exp $
+$NetBSD: distinfo,v 1.9 2017/05/11 09:08:14 jperkin Exp $
 
 SHA1 (gtk2-3.1.1.gem) = d1acb3b2d653e17535c2dd78904b540b5e4336dd
 RMD160 (gtk2-3.1.1.gem) = eedc436ab7678456dc80bf48866915316a180fd8
 SHA512 (gtk2-3.1.1.gem) = 60debe5a5222902b402c0612d95d6af07eadd553751e4e2702e69160894ae3813516878142ceb43195597973f1aebeec46f45ac1de6ada2f577d3f8a21c1a897
 Size (gtk2-3.1.1.gem) = 466944 bytes
+SHA1 (patch-ext_gtk2_extconf.rb) = 2fbab5de00317c772970f0968549e9f78aaf8a9a
diff -r d841732b6c6e -r 809c17915268 x11/ruby-gnome2-gtk/patches/patch-ext_gtk2_extconf.rb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ruby-gnome2-gtk/patches/patch-ext_gtk2_extconf.rb     Thu May 11 09:08:14 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_gtk2_extconf.rb,v 1.1 2017/05/11 09:08:14 jperkin Exp $
+
+Use INCFLAGS to find includes.
+
+--- ext/gtk2/extconf.rb.orig   2017-05-11 08:54:39.678533544 +0000
++++ ext/gtk2/extconf.rb
+@@ -68,7 +68,7 @@ $defs << "-DRUBY_GTK2_TARGET=\\\"#{targe
+ STDOUT.print(target, "\n")
+ 
+ gdk_include_path = nil
+-include_paths = $CFLAGS.gsub(/-D\w+/, '').split(/-I/) + ['/usr/include']
++include_paths = $INCFLAGS.gsub(/-D\w+/, '').split(/-I/) + ['/usr/include']
+ include_paths.each do |path|
+   path.strip!
+ 



Home | Main Index | Thread Index | Old Index