aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-23 22:02:57 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-23 22:01:05 -0500
commit477f60d52108bd865b1ebf402ddbe33f686a0f94 (patch)
tree9ad254ccc5421b10633fb838960140e5bc9886a0
parentc451ef06bddcadcb192e1209f625aa8eb6b2f97c (diff)
network/verlihub: rebuilt to add needed header
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/verlihub/verlihub-header.patch10
-rw-r--r--network/verlihub/verlihub.SlackBuild3
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 0000000000000..83cdc62645098
--- /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 b9df79c97552b..7bc3f6acbf78c 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 \