diff options
Diffstat (limited to 'network/verlihub')
-rw-r--r-- | network/verlihub/verlihub-header.patch | 10 | ||||
-rw-r--r-- | network/verlihub/verlihub.SlackBuild | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/network/verlihub/verlihub-header.patch b/network/verlihub/verlihub-header.patch new file mode 100644 index 000000000000..83cdc6264509 --- /dev/null +++ b/network/verlihub/verlihub-header.patch @@ -0,0 +1,10 @@ +--- verlihub-0.9.8e-r2/src/stringutils.cpp.orig 2012-09-23 21:58:28.983096769 +0700 ++++ verlihub-0.9.8e-r2/src/stringutils.cpp 2012-09-23 21:58:52.625861765 +0700 +@@ -36,6 +36,7 @@ + #include <stdlib.h> + #include <algorithm> + #include <ctype.h> ++#include <unistd.h> + + namespace nStringUtils + { diff --git a/network/verlihub/verlihub.SlackBuild b/network/verlihub/verlihub.SlackBuild index b9df79c97552..7bc3f6acbf78 100644 --- a/network/verlihub/verlihub.SlackBuild +++ b/network/verlihub/verlihub.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=verlihub VERSION=${VERSION:-0.9.8e_r2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Temporary package version, for source to unpack successfuly @@ -74,6 +74,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/verlihub-header.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |