From: Tollef Fog Heen Date: Sun, 16 Jul 2017 17:36:47 +0000 (+0200) Subject: Stop stripping during build. Also thanks to Helmut Grohne. Closes: #852771 X-Git-Tag: debian/3.8-4^0 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;p=sash Stop stripping during build. Also thanks to Helmut Grohne. Closes: #852771 --- 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