Fix FTBFS (thanks, Helmut Grohne)
[filters.git] / debian / patches / nostrip.patch
diff --git a/debian/patches/nostrip.patch b/debian/patches/nostrip.patch
new file mode 100644 (file)
index 0000000..8d9d0e5
--- /dev/null
@@ -0,0 +1,21 @@
+From: Helmut Grohne <helmut@subdivi.de>
+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)
This page took 0.009521 seconds and 4 git commands to generate.