| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | $NetBSD: patch-giscanner_dumper.py,v 1.1 2013/05/15 15:46:52 adam Exp $ | | 1 | $NetBSD: patch-giscanner_dumper.py,v 1.2 2013/05/15 19:17:59 adam Exp $ |
2 | | | 2 | |
3 | Don't treat 'clang' as Visual C++ compiler. | | 3 | Don't treat 'clang' as Visual C++ compiler. |
4 | | | 4 | |
5 | --- work/gobject-introspection-1.36.0//giscanner/dumper.py.orig 2013-05-15 15:30:07.000000000 +0000 | | 5 | --- giscanner/dumper.py.orig 2013-05-15 15:30:07.000000000 +0000 |
6 | +++ work/gobject-introspection-1.36.0//giscanner/dumper.py | | 6 | +++ giscanner/dumper.py |
7 | @@ -86,11 +86,6 @@ class DumpCompiler(object): | | 7 | @@ -86,11 +86,6 @@ class DumpCompiler(object): |
8 | self._linker_cmd = os.environ.get('CC', self._compiler_cmd) | | 8 | self._linker_cmd = os.environ.get('CC', self._compiler_cmd) |
9 | self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config') | | 9 | self._pkgconfig_cmd = os.environ.get('PKG_CONFIG', 'pkg-config') |
10 | self._pkgconfig_msvc_flags = '' | | 10 | self._pkgconfig_msvc_flags = '' |
11 | - # Enable the --msvc-syntax pkg-config flag when | | 11 | - # Enable the --msvc-syntax pkg-config flag when |
12 | - # the Microsoft compiler is used | | 12 | - # the Microsoft compiler is used |
13 | - # (This is the other way to check whether Visual C++ is used subsequently) | | 13 | - # (This is the other way to check whether Visual C++ is used subsequently) |
14 | - if 'cl' in self._compiler_cmd: | | 14 | - if 'cl' in self._compiler_cmd: |
15 | - self._pkgconfig_msvc_flags = '--msvc-syntax' | | 15 | - self._pkgconfig_msvc_flags = '--msvc-syntax' |
16 | self._uninst_srcdir = os.environ.get( | | 16 | self._uninst_srcdir = os.environ.get( |
17 | 'UNINSTALLED_INTROSPECTION_SRCDIR') | | 17 | 'UNINSTALLED_INTROSPECTION_SRCDIR') |
18 | self._packages = ['gio-2.0 gmodule-2.0'] | | 18 | self._packages = ['gio-2.0 gmodule-2.0'] |