summaryrefslogtreecommitdiff
path: root/pcr/kiwix/0003-fix-nspr-include-path.patch
blob: 674ebebe27c26b397962aa04576d84e00ad3c0d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Nur kiwix-0.9.orig/configure kiwix-0.9/configure
--- kiwix-0.9.orig/configure	2014-10-29 20:55:40.000000000 -0200
+++ kiwix-0.9/configure	2016-01-18 19:11:30.799619838 -0300
@@ -17217,7 +17217,7 @@
 fi
 
 
-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
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