games-action/powermanga: remove unused patches
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 22 Dec 2017 15:16:13 +0000 (16:16 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 23 Dec 2017 13:08:28 +0000 (14:08 +0100)
games-action/powermanga/files/powermanga-0.91-automake-1.13.patch [deleted file]
games-action/powermanga/files/powermanga-0.91-flags.patch [deleted file]
games-action/powermanga/files/powermanga-0.91-segfault.patch [deleted file]
games-action/powermanga/files/powermanga-0.91-underlink.patch [deleted file]

diff --git a/games-action/powermanga/files/powermanga-0.91-automake-1.13.patch b/games-action/powermanga/files/powermanga-0.91-automake-1.13.patch
deleted file mode 100644 (file)
index bac18db..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac
-+++ configure.ac
-@@ -5,7 +5,7 @@
- AC_CANONICAL_SYSTEM
- #AM_INIT_AUTOMAKE(powermanga,0.90)
- AM_INIT_AUTOMAKE([foreign])
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
- 
- dnl  Check our build tools
- AC_PROG_CC
diff --git a/games-action/powermanga/files/powermanga-0.91-flags.patch b/games-action/powermanga/files/powermanga-0.91-flags.patch
deleted file mode 100644 (file)
index ca665ad..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- powermanga-0.91/configure.ac
-+++ powermanga-0.91/configure.ac
-@@ -54,7 +54,7 @@
-   AC_DEFINE(USE_MALLOC_WRAPPER, 1, Define to use a malloc wrapper)
-   CFLAGS="-Wall -Werror -pedantic -Wextra -std=gnu99 -g"
- else
--  CFLAGS="-O3 -Werror -Wall -pedantic -Wextra -std=gnu99"
-+  CFLAGS="$CFLAGS -Wall -Wextra -std=gnu99"
- fi
- 
- dnl  Check for SDL_mixer
diff --git a/games-action/powermanga/files/powermanga-0.91-segfault.patch b/games-action/powermanga/files/powermanga-0.91-segfault.patch
deleted file mode 100644 (file)
index 2b6d177..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=422915
-
---- src/shots.c
-+++ src/shots.c
-@@ -490,8 +490,6 @@
-           {
-             bullet->img_angle = (Sint16) (bullet->angle / PI_BY_16);
-           }
--        /* save current angle for the calculation of the next angle */
--        bullet->img_old_angle = bullet->img_angle;
-         /* avoid negative indexes */
-         bullet->img_angle = (Sint16) abs (bullet->img_angle);
-         /* avoid a shot angle higher than the number of images */
-@@ -499,6 +497,8 @@
-           {
-             bullet->img_angle = (Sint16) (bullet->spr.numof_images - 1);
-           }
-+        /* save current angle for the calculation of the next angle */
-+        bullet->img_old_angle = bullet->img_angle;
-         /* draw the shot sprite */
-         draw_sprite (bullet->spr.img[bullet->img_angle],
-                      (Uint32) bullet->spr.xcoord,
diff --git a/games-action/powermanga/files/powermanga-0.91-underlink.patch b/games-action/powermanga/files/powermanga-0.91-underlink.patch
deleted file mode 100644 (file)
index bb6f832..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/Makefile.am.old
-+++ src/Makefile.am
-@@ -8,7 +8,7 @@
- powermanga_CFLAGS = -DPREFIX=\"$(prefix)\" \
-                     -DSCOREFILE=\"$(scoredir)/$(score)\" \
-                     @XLIB_CFLAGS@ @SDL_CFLAGS@ 
--powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@
-+powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -lm
- 
- install-data-hook:
-       -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
---- src/images.c
-+++ src/images.c
-@@ -31,6 +31,7 @@
- #include "display.h"
- #include "images.h"
- #include "log_recorder.h"
-+#include <zlib.h>
- 
- static char *bitmap_read (bitmap * bmp, Uint32 num_of_obj,
-                           Uint32 num_of_images, char *addr,