summaryrefslogtreecommitdiff
path: root/pcr/kiwix-git/0003-fix-nspr-include-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/kiwix-git/0003-fix-nspr-include-path.patch')
-rw-r--r--pcr/kiwix-git/0003-fix-nspr-include-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/kiwix-git/0003-fix-nspr-include-path.patch b/pcr/kiwix-git/0003-fix-nspr-include-path.patch
new file mode 100644
index 000000000..4941c77dc
--- /dev/null
+++ b/pcr/kiwix-git/0003-fix-nspr-include-path.patch
@@ -0,0 +1,12 @@
+diff -Nur kiwix-0.9.orig/configure.ac kiwix-0.9/configure.ac
+--- kiwix-0.9.orig/configure.ac 2014-10-29 20:55:35.000000000 -0200
++++ kiwix-0.9/configure.ac 2016-01-18 19:11:38.275882125 -0300
+@@ -805,7 +805,7 @@
+ AM_CONDITIONAL([GECKO_OLD_BOOL_TYPE], [test "$GECKO_OLD_BOOL_TYPE"])
+ AM_CONDITIONAL([GECKO_OLD_INT_TYPE], [test "$GECKO_OLD_INT_TYPE"])
+
+-LIBXUL_CFLAGS="-I${GECKO_SDK_INCLUDE} -I${GECKO_INCLUDE_PATH} -I${GECKO_INCLUDE_PATH}/nspr/ -I/usr/include/nspr4 -fshort-wchar"
++LIBXUL_CFLAGS="-I${GECKO_SDK_INCLUDE} -I${GECKO_INCLUDE_PATH} -I${GECKO_INCLUDE_PATH}/nspr/ -I/usr/include/nspr -fshort-wchar"
+ if test [ $IS_OSX -eq 0 ]; then
+ LIBXUL_CFLAGS+=" -D__STDC_LIMIT_MACROS"
+ fi