summaryrefslogtreecommitdiff
path: root/package/libevent
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-12 12:36:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-12 12:36:55 +0200
commit45cb1ca7bdc847c7e4070f2ddcb50e60b89166b8 (patch)
tree8429db8cbe0a7b020b25c9c71767b415f96d86da /package/libevent
parent8732b26738a41671d8d2223e4d629c20c7e622cc (diff)
disable libnsl linking
Diffstat (limited to 'package/libevent')
-rw-r--r--package/libevent/patches/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libevent/patches/patch-configure b/package/libevent/patches/patch-configure
new file mode 100644
index 000000000..a49265f38
--- /dev/null
+++ b/package/libevent/patches/patch-configure
@@ -0,0 +1,20 @@
+--- libevent-1.4.14b-stable.orig/configure 2010-06-20 15:06:18.000000000 +0200
++++ libevent-1.4.14b-stable/configure 2011-05-11 13:12:43.000000000 +0200
+@@ -10847,7 +10847,7 @@ if test "${ac_cv_lib_nsl_inet_ntoa+set}"
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lnsl $LIBS"
++LIBS="$LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -10882,7 +10882,7 @@ if test "x$ac_cv_lib_nsl_inet_ntoa" = x"
+ #define HAVE_LIBNSL 1
+ _ACEOF
+
+- LIBS="-lnsl $LIBS"
++ LIBS="$LIBS"
+
+ fi
+