[Pkg-mpd-commits] [pkg-mpc] 01/04: Add check-m4-subunit.patch: linking to subunit now necessary (closes: #798279)

Florian Schlichting fsfs at moszumanska.debian.org
Wed Sep 9 14:01:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository pkg-mpc.

commit 133163d1b566129b5581606e4b9730c68f1c160c
Author: Florian Schlichting <fsfs at debian.org>
Date:   Wed Sep 9 15:20:18 2015 +0200

    Add check-m4-subunit.patch: linking to subunit now necessary (closes: #798279)
---
 debian/patches/check-m4-subunit.patch | 19 +++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/check-m4-subunit.patch b/debian/patches/check-m4-subunit.patch
new file mode 100644
index 0000000..5c808f9
--- /dev/null
+++ b/debian/patches/check-m4-subunit.patch
@@ -0,0 +1,19 @@
+Description: also link against libsubunit
+ check 0.10.0-1 enabled subunit without updating the deprecated
+ AM_PATH_CHECK macro. This is a minimal fix for Debian, but the check
+ maintainers seem to advocate switching to PKG_CHECK_MODULES (see
+ #646093).
+Author: Florian Schlichting <fsfs at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798279
+
+--- a/m4/check.m4
++++ b/m4/check.m4
+@@ -22,7 +22,7 @@
+       CHECK_LIBS="-L$with_check/lib -lcheck"
+     else
+       CHECK_CFLAGS=""
+-      CHECK_LIBS="-lcheck"
++      CHECK_LIBS="-lcheck -lsubunit"
+     fi
+ 
+     ac_save_CFLAGS="$CFLAGS"
diff --git a/debian/patches/series b/debian/patches/series
index 4b118f5..eda4bc6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+check-m4-subunit.patch
 Makefile.am.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpc.git



More information about the Pkg-mpd-commits mailing list