summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-14 18:50:12 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 14:32:30 -0600
commit560d2651b3416212d88fa5e3ccecbc54dbcc16cd (patch)
tree1667801dba5b2b782e9d70a1aa6effe347597b61
parente7d0166e6028cf6df039784800f17860a13f7e65 (diff)
downloadslackbuilds-560d2651b3416212d88fa5e3ccecbc54dbcc16cd.tar.gz
libraries/libwebsocketpp: Patched for newer boost in 14.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libwebsocketpp/libwebsocketpp.SlackBuild12
-rw-r--r--libraries/libwebsocketpp/libwebsocketpp.patch10
2 files changed, 19 insertions, 3 deletions
diff --git a/libraries/libwebsocketpp/libwebsocketpp.SlackBuild b/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
index 71626f8e06..a6cddb99e2 100644
--- a/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
+++ b/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
@@ -25,8 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libwebsocketpp
-VERSION=20120917
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20120917}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,7 +65,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p0 < $CWD/libwebsocketpp.patch
make -j1 CXXFLAGS="$SLKCFLAGS"
make -j1 install prefix=$PKG/usr libdir=lib$LIBDIRSUFFIX SHARED=1
diff --git a/libraries/libwebsocketpp/libwebsocketpp.patch b/libraries/libwebsocketpp/libwebsocketpp.patch
new file mode 100644
index 0000000000..d37329f950
--- /dev/null
+++ b/libraries/libwebsocketpp/libwebsocketpp.patch
@@ -0,0 +1,10 @@
+--- src/messages/data.hpp.orig 2013-11-14 18:45:48.006935510 +0700
++++ src/messages/data.hpp 2013-11-14 18:46:11.851588339 +0700
+@@ -36,6 +36,7 @@
+ #include <boost/enable_shared_from_this.hpp>
+ #include <boost/function.hpp>
+ #include <boost/intrusive_ptr.hpp>
++#include <boost/thread/locks.hpp>
+ #include <boost/thread/mutex.hpp>
+ #include <boost/utility.hpp>
+