diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-04-15 23:38:50 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-04-15 23:38:50 -0500 |
commit | c4e1a92e0b14e056ad7a347d7bd2ccd968437af9 (patch) | |
tree | 3d8d4e1a67bc0ee286897f22bacbbf08e38ec985 /libraries/libproxy/libproxy.SlackBuild | |
parent | 32aa63932afd4ec700349652983091262db93e80 (diff) |
libraries/libproxy: Add unistd.h include for gcc47
Thanks to Shane Riddle <sh4neriddle@yahoo.com> for the report.
Note that this is not an issue on 13.37 (gcc47 is in -currnet),
but the fix won't hurt anything, and since I'm working on this
in a private -current branch, I may as well fix it here too...
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libproxy/libproxy.SlackBuild')
-rw-r--r-- | libraries/libproxy/libproxy.SlackBuild | 3 |
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" \ |