aboutsummaryrefslogtreecommitdiffstats
path: root/testing/anytun/boost-mt.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-05-26 12:50:42 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-05-26 12:50:47 +0000
commitc3f4d165bb84d76b123af30c466e87f80e13acbb (patch)
tree87ae71a4bd559b7e007d1826021939617a0b0fa7 /testing/anytun/boost-mt.patch
parentda84fd0cfde6226b909ab3d0da998fd190478e8b (diff)
downloadaports-c3f4d165bb84d76b123af30c466e87f80e13acbb.tar.gz
aports-c3f4d165bb84d76b123af30c466e87f80e13acbb.tar.bz2
aports-c3f4d165bb84d76b123af30c466e87f80e13acbb.tar.xz
testing/anytun: new aport.
Diffstat (limited to 'testing/anytun/boost-mt.patch')
-rw-r--r--testing/anytun/boost-mt.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/anytun/boost-mt.patch b/testing/anytun/boost-mt.patch
new file mode 100644
index 0000000000..9596d4c234
--- /dev/null
+++ b/testing/anytun/boost-mt.patch
@@ -0,0 +1,26 @@
+diff --git a/src/anyrtpproxy/Makefile b/src/anyrtpproxy/Makefile
+index ef15ff3..190cb9d 100644
+--- a/src/anyrtpproxy/Makefile
++++ b/src/anyrtpproxy/Makefile
+@@ -47,7 +47,7 @@ CFLAGS = -g -Wall
+ CXX = g++
+ CXXFLAGS = -g -Wall
+ LD = g++
+-LDFLAGS = -g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system
++LDFLAGS = -g -Wall -O2 -lboost_thread-mt -lboost_serialization -lboost_system
+
+ OBJS = anyrtpproxy.o \
+ ../signalController.o \
+diff --git a/src/configure b/src/configure
+index f070150..eb4e131 100755
+--- a/src/configure
++++ b/src/configure
+@@ -215,7 +215,7 @@ case $TARGET in
+ ln -sf posix/posixDaemon.h daemonService.h
+ ln -sf posix/posixDaemon.cpp daemonService.cpp
+ echo "loading Linux specific TUN Device"
+- LDFLAGS=$LDFLAGS' -lboost_thread -lboost_serialization -lboost_system -lboost_date_time -lpthread'
++ LDFLAGS=$LDFLAGS' -lboost_thread-mt -lboost_serialization -lboost_system -lboost_date_time -lpthread'
+ LOG_TARGETS='-DLOG_SYSLOG -DLOG_FILE -DLOG_STDOUT'
+ ;;
+ OpenBSD|FreeBSD|NetBSD|GNU/kFreeBSD)