ports/70866: Update port: games/maelstorm
KATO Tsuguru
tkato432 at yahoo.com
Mon Aug 23 15:10:19 UTC 2004
>Number: 70866
>Category: ports
>Synopsis: Update port: games/maelstorm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 23 15:10:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build on -current after gcc 3.4 import
- Support PORTDOCS
New file:
files/patch-buttonlist.h
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/games/maelstrom/Makefile games/maelstrom/Makefile
--- /usr/ports/games/maelstrom/Makefile Tue Mar 16 19:07:22 2004
+++ games/maelstrom/Makefile Sun Aug 22 19:29:31 2004
@@ -15,11 +15,11 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Asteroids-style game for X Window System
-USE_SDL= sdl net
USE_X_PREFIX= yes
+USE_SDL= sdl net
USE_XPM= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--program-transform-name=\'\'
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install_gamedocs
diff -urN /usr/ports/games/maelstrom/files/patch-buttonlist.h games/maelstrom/files/patch-buttonlist.h
--- /usr/ports/games/maelstrom/files/patch-buttonlist.h Thu Jan 1 09:00:00 1970
+++ games/maelstrom/files/patch-buttonlist.h Sun Aug 22 19:24:34 2004
@@ -0,0 +1,29 @@
+--- buttonlist.h.orig Wed Jan 26 01:41:32 2000
++++ buttonlist.h Sun Aug 22 19:24:13 2004
+@@ -16,7 +16,7 @@
+
+ void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height,
+ void (*callback)(void)) {
+- struct button *belem;
++ button *belem;
+
+ for ( belem=&button_list; belem->next; belem=belem->next );
+ belem->next = new button;
+@@ -30,7 +30,7 @@
+ }
+
+ void Activate_Button(Uint16 x, Uint16 y) {
+- struct button *belem;
++ button *belem;
+
+ for ( belem=button_list.next; belem; belem=belem->next ) {
+ if ( (x >= belem->x1) && (x <= belem->x2) &&
+@@ -42,7 +42,7 @@
+ }
+
+ void Delete_Buttons(void) {
+- struct button *belem, *btemp;
++ button *belem, *btemp;
+
+ for ( belem=button_list.next; belem; ) {
+ btemp = belem;
diff -urN /usr/ports/games/maelstrom/pkg-plist games/maelstrom/pkg-plist
--- /usr/ports/games/maelstrom/pkg-plist Mon Jun 9 01:33:54 2003
+++ games/maelstrom/pkg-plist Sun Aug 3 23:28:48 2003
@@ -1,24 +1,24 @@
bin/Maelstrom
bin/Maelstrom-netd
-share/doc/Maelstrom/Ambrosia_Software,_Inc._FAQ
-share/doc/Maelstrom/COPYING
-share/doc/Maelstrom/COPYING.GPL
-share/doc/Maelstrom/Maelstrom-Announce
-share/doc/Maelstrom/Maelstrom.FAQ
-share/doc/Maelstrom/MaelstromGPL_press_release
-share/doc/Maelstrom/Makefile
-share/doc/Maelstrom/Makefile.in
-share/doc/Maelstrom/Networking.Paper
-share/doc/Maelstrom/Porting.Paper
-share/doc/Maelstrom/Quotes
-share/doc/Maelstrom/README
-share/doc/Maelstrom/README.joystick
-share/doc/Maelstrom/README.network
-share/doc/Maelstrom/README.options
-share/doc/Maelstrom/RSA.README
-share/doc/Maelstrom/Technical_Notes-v1.0
-share/doc/Maelstrom/Technical_Notes-v1.1
-share/doc/Maelstrom/Technical_Notes-v2.0
+%%PORTDOCS%%share/doc/Maelstrom/Ambrosia_Software,_Inc._FAQ
+%%PORTDOCS%%share/doc/Maelstrom/COPYING
+%%PORTDOCS%%share/doc/Maelstrom/COPYING.GPL
+%%PORTDOCS%%share/doc/Maelstrom/Maelstrom-Announce
+%%PORTDOCS%%share/doc/Maelstrom/Maelstrom.FAQ
+%%PORTDOCS%%share/doc/Maelstrom/MaelstromGPL_press_release
+%%PORTDOCS%%share/doc/Maelstrom/Makefile
+%%PORTDOCS%%share/doc/Maelstrom/Makefile.in
+%%PORTDOCS%%share/doc/Maelstrom/Networking.Paper
+%%PORTDOCS%%share/doc/Maelstrom/Porting.Paper
+%%PORTDOCS%%share/doc/Maelstrom/Quotes
+%%PORTDOCS%%share/doc/Maelstrom/README
+%%PORTDOCS%%share/doc/Maelstrom/README.joystick
+%%PORTDOCS%%share/doc/Maelstrom/README.network
+%%PORTDOCS%%share/doc/Maelstrom/README.options
+%%PORTDOCS%%share/doc/Maelstrom/RSA.README
+%%PORTDOCS%%share/doc/Maelstrom/Technical_Notes-v1.0
+%%PORTDOCS%%share/doc/Maelstrom/Technical_Notes-v1.1
+%%PORTDOCS%%share/doc/Maelstrom/Technical_Notes-v2.0
share/Maelstrom/Images/Maelstrom_Icon#100.cicn
share/Maelstrom/Images/Maelstrom_Icon#101.cicn
share/Maelstrom/Images/Maelstrom_Icon#102.cicn
@@ -55,4 +55,4 @@
share/Maelstrom/icon.xpm
@dirrm share/Maelstrom/Images
@dirrm share/Maelstrom
- at dirrm share/doc/Maelstrom
+%%PORTDOCS%%@dirrm share/doc/Maelstrom
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list