summaryrefslogtreecommitdiff
path: root/games/powermanga/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-16 19:34:06 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-16 19:34:06 +0000
commite3d90aec411a640365add288f2c39a53c179e9c7 (patch)
treed376e8b7fbbde94b84978a7bdaad87e8c323e790 /games/powermanga/patches
parenteddf6d57d2e3944ea58807897223d0918831b20d (diff)
downloadpkgsrc-e3d90aec411a640365add288f2c39a53c179e9c7.tar.gz
Initial import of powermanga-0.78.
Powermanga is an arcade 2D shoot-em-up game with 41 levels and more than 200 sprites. It runs in 320x200 or 640x400 pixels, with Window mode or direct to screen (DGA) and support for 8, 15, 16, 24, and 32 bpp.
Diffstat (limited to 'games/powermanga/patches')
-rw-r--r--games/powermanga/patches/patch-aa13
-rw-r--r--games/powermanga/patches/patch-ab13
-rw-r--r--games/powermanga/patches/patch-ac13
-rw-r--r--games/powermanga/patches/patch-ad104
-rw-r--r--games/powermanga/patches/patch-ae13
5 files changed, 156 insertions, 0 deletions
diff --git a/games/powermanga/patches/patch-aa b/games/powermanga/patches/patch-aa
new file mode 100644
index 00000000000..f4c4ac0e7b7
--- /dev/null
+++ b/games/powermanga/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+--- graphics/Makefile.in.orig Mon Jan 26 09:16:58 2004
++++ graphics/Makefile.in Mon Jan 26 09:17:15 2004
+@@ -37,7 +37,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-pkgdatadir = $(datadir)/games/powermanga/graphics
++pkgdatadir = $(datadir)/powermanga/graphics
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/powermanga/patches/patch-ab b/games/powermanga/patches/patch-ab
new file mode 100644
index 00000000000..7440ba0ece9
--- /dev/null
+++ b/games/powermanga/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+--- Makefile.in.orig Mon Jan 26 09:15:26 2004
++++ Makefile.in Mon Jan 26 09:16:25 2004
+@@ -38,7 +38,7 @@
+ host_triplet = @host@
+ target_triplet = @target@
+
+-pkgdatadir = $(mandir)
++pkgdatadir = $(mandir)/man6
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/powermanga/patches/patch-ac b/games/powermanga/patches/patch-ac
new file mode 100644
index 00000000000..1bdb47e64ad
--- /dev/null
+++ b/games/powermanga/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/04/16 19:34:08 xtraeme Exp $
+
+--- sounds/Makefile.in.orig Mon Jan 26 09:17:41 2004
++++ sounds/Makefile.in Mon Jan 26 09:17:49 2004
+@@ -37,7 +37,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-pkgdatadir = $(datadir)/games/powermanga/sounds
++pkgdatadir = $(datadir)/powermanga/sounds
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/powermanga/patches/patch-ad b/games/powermanga/patches/patch-ad
new file mode 100644
index 00000000000..99b883b4543
--- /dev/null
+++ b/games/powermanga/patches/patch-ad
@@ -0,0 +1,104 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/04/16 19:34:10 xtraeme Exp $
+
+--- src/Makefile.in.orig Mon Jan 26 09:18:03 2004
++++ src/Makefile.in Mon Jan 26 09:46:41 2004
+@@ -28,7 +28,7 @@
+ install_sh_PROGRAM = $(install_sh) -c
+ install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_HEADER = $(INSTALL_DATA)
+-transform = $(program_transform_name)
++transform =
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+@@ -137,7 +137,7 @@
+ scoredir = /var/games
+ score = powermanga.hi
+
+-games_PROGRAMS = powermanga
++bin_PROGRAMS = powermanga
+ powermanga_SOURCES = $(SOURCES_MAIN) $(SOURCES_EXTRA)
+ powermanga_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@
+ powermanga_LDADD = @XLIB_LIBS@ @SDL_LIBS@
+@@ -199,8 +199,8 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES =
+-games_PROGRAMS = powermanga$(EXEEXT)
+-PROGRAMS = $(games_PROGRAMS)
++bin_PROGRAMS = powermanga$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS)
+
+ am__powermanga_SOURCES_DIST = afficheEtoiles.cpp bonus.cpp caractere.cpp \
+ caractere.hpp cercle.hpp chaine.cpp chaine.hpp \
+@@ -320,17 +320,17 @@
+ $(AUTOMAKE) --foreign src/Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+-gamesPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+-install-gamesPROGRAMS: $(games_PROGRAMS)
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
++install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(gamesdir)
+- @list='$(games_PROGRAMS)'; for p in $$list; do \
++ $(mkinstalldirs) $(DESTDIR)$(bindir)
++ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ if test -f $$p \
+ ; then \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(gamesPROGRAMS_INSTALL) $$p $(DESTDIR)$(gamesdir)/$$f"; \
+- $(INSTALL_PROGRAM_ENV) $(gamesPROGRAMS_INSTALL) $$p $(DESTDIR)$(gamesdir)/$$f || exit 1; \
++ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
++ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
+ else :; fi; \
+ done
+
+@@ -1420,7 +1420,7 @@
+ all-am: Makefile $(PROGRAMS)
+
+ installdirs:
+- $(mkinstalldirs) $(DESTDIR)$(gamesdir)
++ $(mkinstalldirs) $(DESTDIR)$(bindir)
+
+ install: install-am
+ install-exec: install-exec-am
+@@ -1463,7 +1463,7 @@
+
+ info-am:
+
+-install-data-am: install-gamesPROGRAMS
++install-data-am: install-binPROGRAMS
+ @$(NORMAL_INSTALL)
+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+
+@@ -1498,7 +1498,7 @@
+ distclean-depend distclean-generic distclean-tags distdir dvi \
+ dvi-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am \
+- install-gamesPROGRAMS install-info install-info-am install-man \
++ install-binPROGRAMS install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+@@ -1507,13 +1507,13 @@
+
+
+ install-data-hook:
+- -chown root:games "$(DESTDIR)/$(gamesdir)/powermanga"
+- -chmod 2755 "$(DESTDIR)/$(gamesdir)/powermanga"
+- $(INSTALL) -d $(DESTDIR)/$(scoredir)
++ -chown root:games "$(DESTDIR)/$(bindir)/powermanga"
++ -chmod 2755 "$(DESTDIR)/$(bindir)/powermanga"
++ $(INSTALL) -d $(scoredir)
+ -for suffix in "-easy" "" "-hard"; do \
+- touch "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
+- chown root:games "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
+- chmod 644 "$(DESTDIR)/$(scoredir)/$(score)$$suffix"; \
++ touch "$(scoredir)/$(score)$$suffix"; \
++ chown root:games "$(scoredir)/$(score)$$suffix"; \
++ chmod 664 "$(scoredir)/$(score)$$suffix"; \
+ done
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/games/powermanga/patches/patch-ae b/games/powermanga/patches/patch-ae
new file mode 100644
index 00000000000..5e5bd738655
--- /dev/null
+++ b/games/powermanga/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/04/16 19:34:10 xtraeme Exp $
+
+--- src/linuxroutines.cpp.orig Mon Jan 26 09:36:29 2004
++++ src/linuxroutines.cpp Mon Jan 26 09:37:01 2004
+@@ -449,7 +449,7 @@
+ for(const char **p = data_directories;; p++)
+ { char *pathname;
+ if(*p == 0)
+- { const char *subdir = "/share/games/powermanga/";
++ { const char *subdir = "/share/powermanga/";
+ pathname=(char *)malloc(strlen(nomprefix) + strlen(subdir) + strlen(name) + 1);
+ if(pathname == 0)
+ { fflush(stdout);