Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/powermanga/files: powermanga-0.91-flags.patch powermanga-0.91-segfault.patch powermanga-0.91-underlink.patch
Date: Fri, 01 Feb 2013 00:13:10
Message-Id: 20130201001306.F37572171D@flycatcher.gentoo.org
1 hasufell 13/02/01 00:13:06
2
3 Added: powermanga-0.91-flags.patch
4 powermanga-0.91-segfault.patch
5 powermanga-0.91-underlink.patch
6 Log:
7 version bump wrt #452296
8
9 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
10
11 Revision Changes Path
12 1.1 games-action/powermanga/files/powermanga-0.91-flags.patch
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/files/powermanga-0.91-flags.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/files/powermanga-0.91-flags.patch?rev=1.1&content-type=text/plain
16
17 Index: powermanga-0.91-flags.patch
18 ===================================================================
19 --- powermanga-0.91/configure.ac
20 +++ powermanga-0.91/configure.ac
21 @@ -54,7 +54,7 @@
22 AC_DEFINE(USE_MALLOC_WRAPPER, 1, Define to use a malloc wrapper)
23 CFLAGS="-Wall -Werror -pedantic -Wextra -std=gnu99 -g"
24 else
25 - CFLAGS="-O3 -Werror -Wall -pedantic -Wextra -std=gnu99"
26 + CFLAGS="$CFLAGS -Wall -Wextra -std=gnu99"
27 fi
28
29 dnl Check for SDL_mixer
30
31
32
33 1.1 games-action/powermanga/files/powermanga-0.91-segfault.patch
34
35 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/files/powermanga-0.91-segfault.patch?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/files/powermanga-0.91-segfault.patch?rev=1.1&content-type=text/plain
37
38 Index: powermanga-0.91-segfault.patch
39 ===================================================================
40 https://bugs.gentoo.org/show_bug.cgi?id=422915
41
42 --- src/shots.c 2007-08-24 00:55:17.000000000 -0700
43 +++ src/shots.c 2011-12-26 21:10:28.000000000 -0800
44 @@ -490,8 +490,6 @@
45 {
46 bullet->img_angle = (Sint16) (bullet->angle / PI_BY_16);
47 }
48 - /* save current angle for the calculation of the next angle */
49 - bullet->img_old_angle = bullet->img_angle;
50 /* avoid negative indexes */
51 bullet->img_angle = (Sint16) abs (bullet->img_angle);
52 /* avoid a shot angle higher than the number of images */
53 @@ -499,6 +497,8 @@
54 {
55 bullet->img_angle = (Sint16) (bullet->spr.numof_images - 1);
56 }
57 + /* save current angle for the calculation of the next angle */
58 + bullet->img_old_angle = bullet->img_angle;
59 /* draw the shot sprite */
60 draw_sprite (bullet->spr.img[bullet->img_angle],
61 (Uint32) bullet->spr.xcoord,
62
63
64
65 1.1 games-action/powermanga/files/powermanga-0.91-underlink.patch
66
67 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/files/powermanga-0.91-underlink.patch?rev=1.1&view=markup
68 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/files/powermanga-0.91-underlink.patch?rev=1.1&content-type=text/plain
69
70 Index: powermanga-0.91-underlink.patch
71 ===================================================================
72 --- src/Makefile.am.old 2011-05-19 07:58:50.128783975 +0200
73 +++ src/Makefile.am 2011-05-19 07:58:55.639128359 +0200
74 @@ -8,7 +8,7 @@
75 powermanga_CFLAGS = -DPREFIX=\"$(prefix)\" \
76 -DSCOREFILE=\"$(scoredir)/$(score)\" \
77 @XLIB_CFLAGS@ @SDL_CFLAGS@
78 -powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@
79 +powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@ -lm
80
81 install-data-hook:
82 -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
83 --- src/images.c
84 +++ src/images.c
85 @@ -31,6 +31,7 @@
86 #include "display.h"
87 #include "images.h"
88 #include "log_recorder.h"
89 +#include <zlib.h>
90
91 static char *bitmap_read (bitmap * bmp, Uint32 num_of_obj,
92 Uint32 num_of_images, char *addr,