games-action/powermanga: remove unused patches

This commit is contained in:
Michael Mair-Keimberger
2017-12-22 16:16:13 +01:00
committed by David Seifert
parent 81ec0233d2
commit eebb6a041d
4 changed files with 0 additions and 65 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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,

View File

@@ -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,