Package: anytun
Version: 0.3.3-2.1
Followup-For: Bug #615691
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* Forward patch from Ubuntu (courtesy of Ilya Barygin
<[email protected]>) to resolve FTBFS. (Closes: #615691)
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500,
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u anytun-0.3.3/debian/changelog anytun-0.3.3/debian/changelog
only in patch2:
unchanged:
--- anytun-0.3.3.orig/src/configure
+++ anytun-0.3.3/src/configure
@@ -36,7 +36,7 @@
EBUILD_COMPAT=0
CXXFLAGS='-g -Wall -O2 -DLOG_SYSLOG -DLOG_FILE -DLOG_STDOUT'
-LDFLAGS='-g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system -lboost_date_time'
+LDFLAGS='-g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system -lboost_date_time -lpthread'
CRYPTO_LIB='gcrypt'
PASSPHRASE=1
@@ -230,7 +230,7 @@
TARGET = $TARGET
CXX = gcc
CXXFLAGS = $CXXFLAGS
-LD = gcc
+LD = g++
LDFLAGS = $LDFLAGS
STRIP = strip
INSTALL = install