[Pkg-mpd-commits] [SCM] Git repository for pkg-mpc branch, master, updated. debian/0.22-1-16-g8a72c5d

Florian Schlichting fsfs at debian.org
Wed Apr 10 23:12:23 UTC 2013


The following commit has been merged in the master branch:
commit 9fdf5f98607ee5c3534b941ccc93465c1eb3ce1d
Author: Florian Schlichting <fsfs at debian.org>
Date:   Thu Apr 11 00:54:48 2013 +0200

    New configure.ac.patch: dont link against libnsl unnecessarily

diff --git a/debian/patches/configure.ac.patch b/debian/patches/configure.ac.patch
new file mode 100644
index 0000000..1cf2d0d
--- /dev/null
+++ b/debian/patches/configure.ac.patch
@@ -0,0 +1,20 @@
+Description: don't link against libnsl unnecessarily
+ dpkg-shlibdeps: warning: package could avoid a useless dependency if
+ debian/mpc/usr/bin/mpc was not linked against libnsl.so.1 (it uses none
+ of the library's symbols)
+ .
+ This was likely forgotten when the internal libmpdclient was dropped
+ in favor of libmpdclient2.
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: http://bugs.musicpd.org/view.php?id=3742
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -83,7 +83,6 @@
+ dnl
+ 
+ AC_CHECK_LIB(socket, socket, MPC_LIBS="$MPC_LIBS -lsocket",)
+-AC_CHECK_LIB(nsl, gethostbyname, MPC_LIBS="$MPC_LIBS -lnsl",)
+ 
+ PKG_CHECK_MODULES([LIBMPDCLIENT], [libmpdclient >= 2.2],,
+ 	[AC_MSG_ERROR([libmpdclient2 is required])])
diff --git a/debian/patches/series b/debian/patches/series
index 84dded8..8df4332 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Makefile.am.patch
+configure.ac.patch
 hyphen-as-minus-sign.patch

-- 
Git repository for pkg-mpc



More information about the Pkg-mpd-commits mailing list