Source: sdl-ball Version: 1.04+dfsg-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
sdl-ball fails to cross build from source, because the upstream Makefile strips with the build architecture strip. Beyond breaking cross compilation, this also breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym packages. I'm attaching a patch that skips such stripping and thus deferring to dh_strip for your convenience. It fixes all mentioned problems. Helmut
diff --minimal -Nru sdl-ball-1.04+dfsg/debian/changelog sdl-ball-1.04+dfsg/debian/changelog --- sdl-ball-1.04+dfsg/debian/changelog 2024-01-03 18:50:27.000000000 +0100 +++ sdl-ball-1.04+dfsg/debian/changelog 2024-10-14 19:02:30.000000000 +0200 @@ -1,3 +1,10 @@ +sdl-ball (1.04+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Defer stripping to dh_strip. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 14 Oct 2024 19:02:30 +0200 + sdl-ball (1.04+dfsg-1) unstable; urgency=medium * Team upload diff --minimal -Nru sdl-ball-1.04+dfsg/debian/rules sdl-ball-1.04+dfsg/debian/rules --- sdl-ball-1.04+dfsg/debian/rules 2024-01-03 18:40:27.000000000 +0100 +++ sdl-ball-1.04+dfsg/debian/rules 2024-10-14 19:02:28.000000000 +0200 @@ -9,6 +9,9 @@ %: dh $@ +override_dh_auto_build: + dh_auto_build -- STRIP=true + override_dh_installchangelogs: dh_installchangelogs changelog.txt