diff -Nru libsoxr-0.1.2/debian/changelog libsoxr-0.1.2/debian/changelog --- libsoxr-0.1.2/debian/changelog 2015-09-24 18:44:17.000000000 +0000 +++ libsoxr-0.1.2/debian/changelog 2016-12-25 17:41:58.000000000 +0000 @@ -1,3 +1,13 @@ +libsoxr (0.1.2-2) unstable; urgency=medium + + * Define NDEBUG to disable debug output (Closes: #822727, LP: #1649224) + * Update Vcs links to point to https URLs + * Bump Standards-Version to 3.9.8 (no changes needed) + * Use https for copyright format specification URL + * Enable all hardening flags + + -- Benjamin Drung Sun, 25 Dec 2016 18:41:58 +0100 + libsoxr (0.1.2-1) unstable; urgency=medium [ Benjamin Drung ] diff -Nru libsoxr-0.1.2/debian/control libsoxr-0.1.2/debian/control --- libsoxr-0.1.2/debian/control 2015-09-24 17:01:34.000000000 +0000 +++ libsoxr-0.1.2/debian/control 2016-12-25 17:06:38.000000000 +0000 @@ -5,11 +5,11 @@ Uploaders: Benjamin Drung , Alessio Treglia Build-Depends: cmake (>= 2.8), debhelper (>= 9) -Standards-Version: 3.9.6 +Standards-Version: 3.9.8 Homepage: http://sourceforge.net/projects/soxr/ Testsuite: autopkgtest -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libsoxr.git -Vcs-Git: git://anonscm.debian.org/pkg-multimedia/libsoxr.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/libsoxr.git +Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/libsoxr.git Package: libsoxr0 Architecture: any diff -Nru libsoxr-0.1.2/debian/copyright libsoxr-0.1.2/debian/copyright --- libsoxr-0.1.2/debian/copyright 2015-09-24 18:37:15.000000000 +0000 +++ libsoxr-0.1.2/debian/copyright 2016-12-25 17:06:59.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libsoxr Upstream-Contact: Rob Sykes Source: https://sourceforge.net/projects/soxr/files/ diff -Nru libsoxr-0.1.2/debian/patches/ndebug.patch libsoxr-0.1.2/debian/patches/ndebug.patch --- libsoxr-0.1.2/debian/patches/ndebug.patch 1970-01-01 00:00:00.000000000 +0000 +++ libsoxr-0.1.2/debian/patches/ndebug.patch 2016-12-25 17:40:11.000000000 +0000 @@ -0,0 +1,21 @@ +Description: Define NDEBUG to disable debug output + Cherry-pick defining NDEBUG from upstream commit + 5fa7eeb9a3df65452970566abc027db566012caf to disable debug output +Bug-Debian: https://bugs.debian.org/822727 +Bug-Ubuntu: https://launchpad.net/bugs/1649224 + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 406e826..0450ab2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -174,6 +174,10 @@ if (BUILD_SHARED_LIBS) + endif () + endif () + ++if (CMAKE_BUILD_TYPE STREQUAL "None") # As used by some distros. ++ add_definitions (-DNDEBUG) ++endif () ++ + + + # Installation configuration: diff -Nru libsoxr-0.1.2/debian/patches/series libsoxr-0.1.2/debian/patches/series --- libsoxr-0.1.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libsoxr-0.1.2/debian/patches/series 2016-12-25 17:40:34.000000000 +0000 @@ -0,0 +1 @@ +ndebug.patch diff -Nru libsoxr-0.1.2/debian/rules libsoxr-0.1.2/debian/rules --- libsoxr-0.1.2/debian/rules 2015-09-22 18:48:12.000000000 +0000 +++ libsoxr-0.1.2/debian/rules 2016-12-25 17:29:29.000000000 +0000 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: