diff -Nru tempest-for-eliza-1.0.5/debian/changelog tempest-for-eliza-1.0.5/debian/changelog --- tempest-for-eliza-1.0.5/debian/changelog 2018-04-03 12:46:56.000000000 +0000 +++ tempest-for-eliza-1.0.5/debian/changelog 2018-08-09 12:40:50.000000000 +0000 @@ -1,8 +1,9 @@ -tempest-for-eliza (1.0.5-2build1) bionic; urgency=high +tempest-for-eliza (1.0.5-2.1) unstable; urgency=low - * No change rebuild to pick up -fPIE compiler default + * Non-maintainer upload. + * Fix logic errors discovered by gcc 8. (Closes: #897875) - -- Balint Reczey Tue, 03 Apr 2018 12:46:56 +0000 + -- Adrian Bunk Thu, 09 Aug 2018 15:40:50 +0300 tempest-for-eliza (1.0.5-2) unstable; urgency=medium diff -Nru tempest-for-eliza-1.0.5/debian/control tempest-for-eliza-1.0.5/debian/control --- tempest-for-eliza-1.0.5/debian/control 2018-04-03 12:46:56.000000000 +0000 +++ tempest-for-eliza-1.0.5/debian/control 2015-07-12 20:57:24.000000000 +0000 @@ -1,8 +1,7 @@ Source: tempest-for-eliza Section: sound Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Luke Faraone +Maintainer: Luke Faraone Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7), libsdl-dev, pandoc Standards-Version: 3.9.6 Vcs-Bzr: https://bazaar.launchpad.net/~lfaraone/tempest-for-eliza/debian diff -Nru tempest-for-eliza-1.0.5/debian/patches/fix-logic-errors.patch tempest-for-eliza-1.0.5/debian/patches/fix-logic-errors.patch --- tempest-for-eliza-1.0.5/debian/patches/fix-logic-errors.patch 1970-01-01 00:00:00.000000000 +0000 +++ tempest-for-eliza-1.0.5/debian/patches/fix-logic-errors.patch 2018-08-09 12:23:38.000000000 +0000 @@ -0,0 +1,17 @@ +Description: Fix logic errors discovered by gcc 8 +Author: Adrian Bunk +Bug-Debian: https://bugs.debian.org/897875 + +--- tempest-for-eliza-1.0.5.orig/mp3player.cpp ++++ tempest-for-eliza-1.0.5/mp3player.cpp +@@ -103,8 +103,8 @@ int main(int argc, char *argv[]) + fprintf(stderr, "Couldn't set video mode: %s\n", SDL_GetError()); + exit(1); + } +- if ((screen->flags | SDL_HWPALETTE) == 0) error("i can't get hardware palette support."); +- if ((screen->flags | SDL_FULLSCREEN) == 0) error("cannot set fullscreen mode."); ++ if ((screen->flags & SDL_HWPALETTE) == 0) error("i can't get hardware palette support."); ++ if ((screen->flags & SDL_FULLSCREEN) == 0) error("cannot set fullscreen mode."); + if (screen->format->BitsPerPixel != 8) error("cannot set 8bpp mode."); + + SDL_LockSurface (screen); diff -Nru tempest-for-eliza-1.0.5/debian/patches/series tempest-for-eliza-1.0.5/debian/patches/series --- tempest-for-eliza-1.0.5/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ tempest-for-eliza-1.0.5/debian/patches/series 2018-08-09 12:22:39.000000000 +0000 @@ -0,0 +1 @@ +fix-logic-errors.patch