diff -Nru blobandconquer-1.11-dfsg+20/debian/changelog blobandconquer-1.11-dfsg+20/debian/changelog --- blobandconquer-1.11-dfsg+20/debian/changelog 2020-06-04 17:06:41.000000000 +0200 +++ blobandconquer-1.11-dfsg+20/debian/changelog 2020-06-15 14:37:31.000000000 +0200 @@ -1,3 +1,10 @@ +blobandconquer (1.11-dfsg+20-1.1ubuntu2) groovy; urgency=medium + + * Fix FTBFS on ppc64el (LP: #1883522): + - debian/patches/fix-ftbfs-ppc64el.patch + + -- Olivier Tilloy Mon, 15 Jun 2020 14:37:31 +0200 + blobandconquer (1.11-dfsg+20-1.1ubuntu1) groovy; urgency=medium * Change depends on ttf-dejavu-core to fonts-dejavu-core (Closes: #962211) diff -Nru blobandconquer-1.11-dfsg+20/debian/patches/fix-ftbfs-ppc64el.patch blobandconquer-1.11-dfsg+20/debian/patches/fix-ftbfs-ppc64el.patch --- blobandconquer-1.11-dfsg+20/debian/patches/fix-ftbfs-ppc64el.patch 1970-01-01 01:00:00.000000000 +0100 +++ blobandconquer-1.11-dfsg+20/debian/patches/fix-ftbfs-ppc64el.patch 2020-06-15 14:37:31.000000000 +0200 @@ -0,0 +1,20 @@ +Description: Fix FTBFS on ppc64el by reducing optimization level to O2 for offending file +Author: Olivier Tilloy +Bug-Ubuntu: https://launchpad.net/bugs/1883522 + +Index: blobandconquer-1.11-dfsg+20/makefile +=================================================================== +--- blobandconquer-1.11-dfsg+20.orig/makefile ++++ blobandconquer-1.11-dfsg+20/makefile +@@ -96,6 +96,11 @@ endif + # top-level rule to create the program. + all: $(ALL) + ++ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH), ppc64el) ++mastermind.o: mastermind.cpp mastermind.h data/gameDefs/defines.h defs.h headers.h ++ $(CXX) $(CXXFLAGS) -O2 -c $< ++endif ++ + %.o: %.cpp %.h data/gameDefs/defines.h defs.h headers.h + $(CXX) $(CXXFLAGS) -c $< + diff -Nru blobandconquer-1.11-dfsg+20/debian/patches/series blobandconquer-1.11-dfsg+20/debian/patches/series --- blobandconquer-1.11-dfsg+20/debian/patches/series 2016-12-10 17:08:36.000000000 +0100 +++ blobandconquer-1.11-dfsg+20/debian/patches/series 2020-06-15 13:49:18.000000000 +0200 @@ -1 +1,2 @@ fix-linking.patch +fix-ftbfs-ppc64el.patch