summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk26/files/patch-wx-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/wxgtk26/files/patch-wx-config.in')
-rw-r--r--x11-toolkits/wxgtk26/files/patch-wx-config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk26/files/patch-wx-config.in b/x11-toolkits/wxgtk26/files/patch-wx-config.in
new file mode 100644
index 000000000..434032d26
--- /dev/null
+++ b/x11-toolkits/wxgtk26/files/patch-wx-config.in
@@ -0,0 +1,11 @@
+--- wx-config.in.orig Thu Apr 21 00:32:34 2005
++++ wx-config.in Thu May 5 16:36:09 2005
+@@ -1142,7 +1142,7 @@
+ _include_cppflags="-I${includedir} -I${prefix}/contrib/include"
+ fi
+
+-_cppflags=$(echo "-I${libdir}/wx/include/@TOOLCHAIN_FULLNAME@" $_include_cppflags "@WXDEBUG_DEFINE@" "@TOOLCHAIN_DEFS@" "@TOOLCHAIN_DLL_DEFS@" $_gui_cppflags "@WXCONFIG_INCLUDE@" "@WX_LARGEFILE_FLAGS@" "@GCC_PRAGMA_FLAGS@")
++_cppflags=$(echo "-I${includedir}/wx-@WX_RELEASE@/@TOOLCHAIN_FULLNAME@" $_include_cppflags "@WXDEBUG_DEFINE@" "@TOOLCHAIN_DEFS@" "@TOOLCHAIN_DLL_DEFS@" $_gui_cppflags "@WXCONFIG_INCLUDE@" "@WX_LARGEFILE_FLAGS@" "@GCC_PRAGMA_FLAGS@")
+
+ # now without further ado, we can answer these too.
+ [ -z "$output_option_cppflags" ] || echo $_cppflags