summaryrefslogtreecommitdiff
path: root/devel/gobject-introspection/files/patch-giscanner_dumper.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_dumper.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_dumper.py')
-rw-r--r--devel/gobject-introspection/files/patch-giscanner_dumper.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/gobject-introspection/files/patch-giscanner_dumper.py b/devel/gobject-introspection/files/patch-giscanner_dumper.py
new file mode 100644
index 000000000000..7307c617e314
--- /dev/null
+++ b/devel/gobject-introspection/files/patch-giscanner_dumper.py
@@ -0,0 +1,14 @@
+--- giscanner/dumper.py.orig 2013-02-23 11:40:08.000000000 +0100
++++ giscanner/dumper.py 2013-06-28 21:51:35.000000000 +0200
+@@ -89,8 +89,9 @@
+ # Enable the --msvc-syntax pkg-config flag when
+ # the Microsoft compiler is used
+ # (This is the other way to check whether Visual C++ is used subsequently)
+- if 'cl' in self._compiler_cmd:
+- self._pkgconfig_msvc_flags = '--msvc-syntax'
++ if 'clang' not in self._compiler_cmd:
++ if 'cl' in self._compiler_cmd:
++ self._pkgconfig_msvc_flags = '--msvc-syntax'
+ self._uninst_srcdir = os.environ.get(
+ 'UNINSTALLED_INTROSPECTION_SRCDIR')
+ self._packages = ['gio-2.0 gmodule-2.0']