From 9069b73e63af689fa49349f28442a3ea7e8b365e Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 16 Jul 2017 19:36:47 +0200 Subject: [PATCH] Stop stripping during build. Also thanks to Helmut Grohne. Closes: #852771 --- debian/changelog | 2 ++ debian/patches/no_strip | 18 ++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 21 insertions(+) create mode 100644 debian/patches/no_strip diff --git a/debian/changelog b/debian/changelog index cc4ab30..3b50e22 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ sash (3.8-4) unstable; urgency=medium it, since userdel is unable to properly delete it. Closes: #783031 * Let dh_auto_build pass cross compilers. Thanks to Helmut Grohne for patch. + * Stop stripping during build. Also thanks to Helmut Grohne. + Closes: #852771 -- Tollef Fog Heen Sun, 16 Jul 2017 19:13:30 +0200 diff --git a/debian/patches/no_strip b/debian/patches/no_strip new file mode 100644 index 0000000..51dff16 --- /dev/null +++ b/debian/patches/no_strip @@ -0,0 +1,18 @@ +From: Helmut Grohne +Subject: do not strip during build + + * Breaks cross compilation by using the wrong strip + * Breaks generation of -dbgsym packages + +Index: sash-3.8/Makefile +=================================================================== +--- sash-3.8.orig/Makefile ++++ sash-3.8/Makefile +@@ -65,7 +65,6 @@ + + sash: $(OBJS) + $(CC) $(LDFLAGS) -o sash $(OBJS) $(LIBS) +- strip sash + + clean: + rm -f $(OBJS) sash diff --git a/debian/patches/series b/debian/patches/series index 372f330..793e3c2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ touch_error_handling buildsystem freebsd_build +no_strip -- 2.39.5