From: Marius Gavrilescu Date: Wed, 9 Aug 2017 14:59:58 +0000 (+0300) Subject: Fix FTBFS (thanks, Helmut Grohne) X-Git-Tag: debian/2.55-3~2 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=e29d35167a012b427da9c6c8b2b3fc05c458d852;p=filters.git Fix FTBFS (thanks, Helmut Grohne) --- 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