Bug#862127: patch

Rene Engelhard rene at debian.org
Mon May 15 20:25:46 UTC 2017


tag 862127 + patch
thanks

Hi,

the following trivial patch fixes this:

$ debdiff sipxtapi_3.3.0~test17-2.1.dsc sipxtapi_3.3.0~test17-2.2.dsc 
dpkg-source: Warnung: unsigniertes Quellpaket wird extrahiert (/home/rene/sipxtapi_3.3.0~test17-2.2.dsc)
diff -Nru sipxtapi-3.3.0~test17/debian/changelog sipxtapi-3.3.0~test17/debian/changelog
--- sipxtapi-3.3.0~test17/debian/changelog	2016-12-04 22:32:30.000000000 +0100
+++ sipxtapi-3.3.0~test17/debian/changelog	2017-05-15 22:06:15.000000000 +0200
@@ -1,3 +1,10 @@
+sipxtapi (3.3.0~test17-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * use PKG_CHECK_MODULES instead of AM_PATH_CPPUNIT (closes: #862127) 
+
+ -- Rene Engelhard <rene at debian.org>  Mon, 15 May 2017 20:06:15 +0000
+
 sipxtapi (3.3.0~test17-2.1) unstable; urgency=medium
 
   [ Bernhard Schmidt ]
diff -Nru sipxtapi-3.3.0~test17/debian/patches/pkg-config.diff sipxtapi-3.3.0~test17/debian/patches/pkg-config.diff
--- sipxtapi-3.3.0~test17/debian/patches/pkg-config.diff	1970-01-01 01:00:00.000000000 +0100
+++ sipxtapi-3.3.0~test17/debian/patches/pkg-config.diff	2017-05-15 22:06:15.000000000 +0200
@@ -0,0 +1,18 @@
+Description: use PKG_CHECK_MODULES instead of AM_PATH_CPPUNIT
+Author: Rene Engelhard <rene at debian.org>
+Bug-Debian: https://bugs.debian.org/862127
+Origin: vendor
+Forwarded: no
+Last-Update: 2017-05-15
+
+--- sipxtapi-3.3.0~test17.orig/configure.ac
++++ sipxtapi-3.3.0~test17/configure.ac
+@@ -72,7 +72,7 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h li
+ 
+ # Check CPPUnit - begin
+ # can't be encapsulated as a function due to search path ordering issues
+-AM_PATH_CPPUNIT(1.9,
++PKG_CHECK_MODULES(CPPUNIT, cppunit >= 1.9, I
+       [ SIPX_UNIT_TARGET="sipxunit" ],
+       [ SIPX_UNIT_TARGET="sipxportunit"
+         CPPUNIT_CFLAGS=' -DNO_CPPUNIT -I$(top_srcdir)/sipXportLib/src/test/sipxportunit '
diff -Nru sipxtapi-3.3.0~test17/debian/patches/series sipxtapi-3.3.0~test17/debian/patches/series
--- sipxtapi-3.3.0~test17/debian/patches/series	2016-12-04 22:29:07.000000000 +0100
+++ sipxtapi-3.3.0~test17/debian/patches/series	2017-05-15 22:06:15.000000000 +0200
@@ -1 +1,2 @@
 fix-gcc-6-compilation.patch
+pkg-config.diff

Regards,

Rene



More information about the Pkg-voip-maintainers mailing list