From e29d35167a012b427da9c6c8b2b3fc05c458d852 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 9 Aug 2017 17:59:58 +0300 Subject: [PATCH] Fix FTBFS (thanks, Helmut Grohne) --- debian/changelog | 7 +++++++ debian/patches/nostrip.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) create mode 100644 debian/patches/nostrip.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 7c0ea26..3bac646 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +filters (2.55-3) UNRELEASED; urgency=medium + + [ Helmut Grohne ] + * Fix FTCBFS: do not strip during installation + + -- Marius Gavrilescu Fri, 04 Aug 2017 22:16:40 +0200 + filters (2.55-2) unstable; urgency=medium * Build-Depend on libfl-dev (Closes: #846423) diff --git a/debian/patches/nostrip.patch b/debian/patches/nostrip.patch new file mode 100644 index 0000000..8d9d0e5 --- /dev/null +++ b/debian/patches/nostrip.patch @@ -0,0 +1,21 @@ +From: Helmut Grohne +Subject: defer stripping to dh_strip + +Doing otherwise breaks cross building and -dbgsym packages. + +Index: filters-2.55/Makefile +=================================================================== +--- filters-2.55.orig/Makefile ++++ filters-2.55/Makefile +@@ -9,11 +9,6 @@ + export CFLAGS + INSTALL_PROGRAM = install + +-# DEB_BUILD_OPTIONS suport, to control binary stripping. +-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +-INSTALL_PROGRAM += -s +-endif +- + all: $(OTHER) $(BUILD) + + install: $(BUILD) $(OTHER) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..41c52eb --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +nostrip.patch -- 2.30.2