openbsd-ports/devel/gobject-introspection/patches/patch-giscanner_scannermain_py
2012-03-29 06:29:08 +00:00

16 lines
707 B
Plaintext

$OpenBSD: patch-giscanner_scannermain_py,v 1.3 2012/03/29 06:29:08 ajacoutot Exp $
Prime the scanner with two common directories for includes.
--- giscanner/scannermain.py.orig Wed Oct 19 20:38:53 2011
+++ giscanner/scannermain.py Fri Mar 23 15:34:07 2012
@@ -231,6 +231,8 @@ def process_packages(options, packages):
parser = _get_option_parser()
pkg_options, unused = parser.parse_args(filtered_output)
options.cpp_includes.extend(pkg_options.cpp_includes)
+ options.cpp_includes.append('${X11BASE}/include')
+ options.cpp_includes.append('${LOCALBASE}/include')
options.cpp_defines.extend(pkg_options.cpp_defines)
options.cpp_undefines.extend(pkg_options.cpp_undefines)