aboutsummaryrefslogtreecommitdiff
path: root/libraries/libproxy/libproxy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libproxy/libproxy.SlackBuild')
-rw-r--r--libraries/libproxy/libproxy.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libproxy/libproxy.SlackBuild b/libraries/libproxy/libproxy.SlackBuild
index 8e440ef3d601..5b431ddecfb8 100644
--- a/libraries/libproxy/libproxy.SlackBuild
+++ b/libraries/libproxy/libproxy.SlackBuild
@@ -73,6 +73,9 @@ find . \
# svn after that release disables its use in favor of nspr and js185
patch -p0 < $CWD/only_link_mozjs185.diff
+# Include unistd.h for gcc-4.7.x
+patch -p1 < $CWD/gcc47-include-unistd.h.diff
+
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \