summaryrefslogtreecommitdiff
path: root/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-07-31 11:57:45 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-07-31 11:57:45 +0000
commita5f590e51d3b147b9b5085ac6a2920189b42967a (patch)
treecee27e48f57eafc0ae5948472d8e095072bb5222 /devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
parent- Convert to new perl framework (diff)
The FreeBSD GNOME team presents a Glib and Gtk+ 3 update.
This update updates Glib20 to 2.36 and Gtk+ 3.8 * The gio-fam-backend port that used gamin for the GFileMonitor API is gone. It is replaced by a GIO kqueue implementation developed as part of a NetBSD GSoC 2011 project by Dimitry Matveev. * Fix a bug in the glib20 Makefile so it includes -lintl in the glib-2.0 pkgconfig file [1]. This broke static linking and newer binutils. * Add introspection USE_GNOME component which sets GI_SCANNER_DISABLE_CACHE to prevent creation of / root/.cache dir. Defaults to build & run depend, but :build and :run switches available. * New x11-toolkits/pangox-compat port and companion USE_GNOME component for pangox support which was removed from the pango port. Add it to ports still using pangox API. Exp-run by: bapt@ PR: ports/178958 [1] Submitted by: emaste@ [1]
Diffstat (limited to 'devel/gobject-introspection/files/patch-giscanner_sourcescanner.py')
-rw-r--r--devel/gobject-introspection/files/patch-giscanner_sourcescanner.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py b/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
new file mode 100644
index 000000000000..999fc742b2ff
--- /dev/null
+++ b/devel/gobject-introspection/files/patch-giscanner_sourcescanner.py
@@ -0,0 +1,16 @@
+--- giscanner/sourcescanner.py.orig 2013-03-06 23:53:19.000000000 +0100
++++ giscanner/sourcescanner.py 2013-06-28 22:01:04.000000000 +0200
+@@ -281,8 +281,11 @@
+ # some help from gcc from MinGW/Cygwin or so.
+ # Note that the generated dumper program is
+ # still built and linked by Visual C++.
+- if 'cl' in cpp_exec:
+- cpp_args = 'gcc'.split()
++ if 'clang' not in cpp_exec:
++ if 'cl' in cpp_exec:
++ cpp_args = 'gcc'.split()
++ else:
++ cpp_args = cpp_exec
+ else:
+ cpp_args = cpp_exec
+ cpp_args += ['-E', '-C', '-I.', '-']