summaryrefslogtreecommitdiff
path: root/pcr/kiwix-git/0003-fix-nspr-include-path.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-19 13:44:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-19 13:46:52 -0300
commit51ab08cbf695c7db7805465c2fe6a4d05118bdf2 (patch)
treeec91fa78c269776dde155c1d70db5a2ee2fda6e5 /pcr/kiwix-git/0003-fix-nspr-include-path.patch
parentffa49c72db6d9db539cbbe2c65feac2f2e3ee871 (diff)
kiwix-git: add new package to [pcr] -> https://labs.parabola.nu/issues/906
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