summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libunicall/files/libunicall-0.0.6_pre1--as-needed.2.patch')
-rw-r--r--net-libs/libunicall/files/libunicall-0.0.6_pre1--as-needed.2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/libunicall/files/libunicall-0.0.6_pre1--as-needed.2.patch b/net-libs/libunicall/files/libunicall-0.0.6_pre1--as-needed.2.patch
new file mode 100644
index 000000000000..61bb0e8f38c4
--- /dev/null
+++ b/net-libs/libunicall/files/libunicall-0.0.6_pre1--as-needed.2.patch
@@ -0,0 +1,21 @@
+=== modified file 'configure.ac'
+--- configure.ac 2008-12-08 12:11:12 +0000
++++ configure.ac 2008-12-08 12:40:23 +0000
+@@ -116,11 +116,11 @@
+ fi
+
+ # Checks for libraries.
+-AC_CHECK_LIB([dl], [dlopen], TESTLIBS="$TESTLIBS -ldl")
+-AC_CHECK_LIB([pthread], [pthread_attr_init], TESTLIBS="$TESTLIBS -lpthread")
+-AC_CHECK_LIB([tiff], [TIFFOpen], TESTLIBS="$TESTLIBS -ltiff",, -lm)
+-AC_CHECK_LIB([spandsp], [v29_tx_init], TESTLIBS="$TESTLIBS -lspandsp",, -ltiff -lm)
+-AC_CHECK_LIB([audiofile], [afOpenFile], TESTLIBS="$TESTLIBS -laudiofile")
++AC_CHECK_LIB([dl], [dlopen])
++AC_CHECK_LIB([pthread], [pthread_attr_init], TESTLIBS="-lpthread $TESTLIBS")
++AC_CHECK_LIB([tiff], [TIFFOpen], TESTLIBS="-ltiff $TESTLIBS",, -lm)
++AC_CHECK_LIB([spandsp], [v29_tx_init], TESTLIBS="-lspandsp $TESTLIBS",, -ltiff -lm)
++AC_CHECK_LIB([audiofile], [afOpenFile], TESTLIBS="-laudiofile $TESTLIBS")
+
+ case "${ax_cv_c_compiler_vendor}" in
+ gnu)
+