ports/151685: [PATCH] games/empire update to 1.8
Pawel Pekala
c0rn at o2.pl
Sun Oct 24 14:20:09 UTC 2010
>Number: 151685
>Category: ports
>Synopsis: [PATCH] games/empire update to 1.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 24 14:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Pawel Pekala
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 8.1-RELEASE #2: Sat Aug 21 18:46:54 CEST 2010
corn at caprica.slowicza.org:/usr/obj/usr/src/sys/GENERIC
>Description:
- update to version 1.8
- add LICENSE info
>How-To-Repeat:
>Fix:
--- empire-1.8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/empire/Makefile /home/corn/devel/empire/Makefile
--- /usr/ports/games/empire/Makefile 2010-05-12 19:00:37.000000000 +0200
+++ /home/corn/devel/empire/Makefile 2010-10-24 16:11:15.000000000 +0200
@@ -6,8 +6,7 @@
#
PORTNAME= empire
-PORTVERSION= 1.7
-PORTREVISION= 1
+PORTVERSION= 1.8
CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
DISTNAME= vms-${PORTNAME}-${PORTVERSION}
@@ -15,6 +14,8 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Solitaire empire game "VMS Empire"
+LICENSE= GPLv2
+
MAN6= empire.6
PLIST_FILES= bin/empire
PORTDOCS= BUGS README
@@ -29,7 +30,7 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire
- ${INSTALL_MAN} ${WRKSRC}/vms-empire.6 ${MANPREFIX}/man/man6/empire.6
+ ${INSTALL_MAN} ${WRKSRC}/empire.6 ${MANPREFIX}/man/man6/empire.6
.if !defined(NOPORTDOCS)
.for file in BUGS README
@${MKDIR} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/games/empire/distinfo /home/corn/devel/empire/distinfo
--- /usr/ports/games/empire/distinfo 2010-05-12 19:00:37.000000000 +0200
+++ /home/corn/devel/empire/distinfo 2010-10-24 15:44:04.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (vms-empire-1.7.tar.gz) = d458082c1052e63c1700fa5b54d4ef6f
-SHA256 (vms-empire-1.7.tar.gz) = 6295d7e6d88c0d6680035b5924c36665d68c4cf62e88bba2228c8d3e7d132d94
-SIZE (vms-empire-1.7.tar.gz) = 84726
+MD5 (vms-empire-1.8.tar.gz) = 705d72358a5d6005538660aaf63eac5e
+SHA256 (vms-empire-1.8.tar.gz) = 32712ff7256587b65135a1e6a95de1c83b2cd35784ff6f5fcb22ddd18da293dd
+SIZE (vms-empire-1.8.tar.gz) = 89528
diff -ruN --exclude=CVS /usr/ports/games/empire/files/patch-Makefile /home/corn/devel/empire/files/patch-Makefile
--- /usr/ports/games/empire/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100
+++ /home/corn/devel/empire/files/patch-Makefile 2010-10-24 15:50:06.000000000 +0200
@@ -0,0 +1,23 @@
+--- Makefile.orig 2010-10-21 13:29:25.000000000 +0200
++++ Makefile 2010-10-24 15:49:36.000000000 +0200
+@@ -11,17 +11,17 @@
+ # Use -g to compile the program for debugging.
+
+ #DEBUG = -g -DDEBUG -Wall
+-DEBUG = -O2
++#DEBUG = -O2
+
+ # Use -p to profile the program.
+ #PROFILE = -p -DPROFILE
+ PROFILE =
+
+-LIBS = -lncurses
++LIBS = -lcurses
+
+ # You shouldn't have to modify anything below this line.
+
+-CFLAGS = $(DEBUG) $(PROFILE)
++CFLAGS+= $(DEBUG) $(PROFILE)
+
+ FILES = \
+ attack.c \
diff -ruN --exclude=CVS /usr/ports/games/empire/files/patch-aa /home/corn/devel/empire/files/patch-aa
--- /usr/ports/games/empire/files/patch-aa 2010-05-12 19:00:37.000000000 +0200
+++ /home/corn/devel/empire/files/patch-aa 1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-*** Makefile.orig Fri Aug 2 04:04:02 2002
---- Makefile Sat Jan 25 06:35:29 2003
-***************
-*** 12,35 ****
- # Change the line below for your system. If you are on a Sun or Vax,
- # you may want BSD.
-
-! SYS = LINUX
-! #SYS = BSD
- #SYS = SYSV
-
- # Use -g to compile the program for debugging.
-
- #DEBUG = -g -DDEBUG -Wall
-! DEBUG = -O2
-
- # Use -p to profile the program.
- #PROFILE = -p -DPROFILE
- PROFILE =
-
-! LIBS = -lncurses
-
- # You shouldn't have to modify anything below this line.
-
-! CFLAGS = $(DEBUG) $(PROFILE) -D$(SYS)
-
- FILES = \
- attack.c \
---- 12,35 ----
- # Change the line below for your system. If you are on a Sun or Vax,
- # you may want BSD.
-
-! #SYS = LINUX
-! SYS = BSD
- #SYS = SYSV
-
- # Use -g to compile the program for debugging.
-
- #DEBUG = -g -DDEBUG -Wall
-! #DEBUG = -O2
-
- # Use -p to profile the program.
- #PROFILE = -p -DPROFILE
- PROFILE =
-
-! LIBS = -lcurses
-
- # You shouldn't have to modify anything below this line.
-
-! CFLAGS+= $(DEBUG) $(PROFILE) -D$(SYS)
-
- FILES = \
- attack.c \
diff -ruN --exclude=CVS /usr/ports/games/empire/files/patch-ab /home/corn/devel/empire/files/patch-ab
--- /usr/ports/games/empire/files/patch-ab 2010-05-12 19:00:37.000000000 +0200
+++ /home/corn/devel/empire/files/patch-ab 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- empire.h.orig Sat Sep 18 18:34:59 1999
-+++ empire.h Sat Sep 18 18:35:39 1999
-@@ -25,7 +25,7 @@
- #ifndef SYSV
- #define memcpy(dst,src,len) bcopy((src),(dst),(len))
- #define strchr(s,c) index(s,c)
--typedef char chtype;
-+typedef char chartype;
- #define beep() (putchar('\7'))
- #define napms(d) (usleep((d)*1000))
- #else
diff -ruN --exclude=CVS /usr/ports/games/empire/files/patch-ac /home/corn/devel/empire/files/patch-ac
--- /usr/ports/games/empire/files/patch-ac 2010-05-12 19:00:37.000000000 +0200
+++ /home/corn/devel/empire/files/patch-ac 1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
---- display.c.orig Sat Sep 18 18:35:53 1999
-+++ display.c Sat Sep 18 18:36:16 1999
-@@ -236,7 +236,7 @@
- for (r = 0; jnkbuf[r] != '\0'; r++) {
- if (r+NUMTOPS >= MAP_HEIGHT) break;
- (void) move (r+NUMTOPS, cols-NUMSIDES+4);
-- (void) addch ((chtype)jnkbuf[r]);
-+ (void) addch ((chartype)jnkbuf[r]);
- }
- }
-
-@@ -278,7 +278,7 @@
- break;
- }
- #endif /* A_COLOR */
-- (void) addch ((chtype)vp->contents);
-+ (void) addch ((chartype)vp->contents);
- #ifdef A_COLOR
- attrset(0);
- attron(COLOR_PAIR(COLOR_WHITE));
-@@ -420,7 +420,7 @@
- cell = vmap[row_col_loc(r,c)].contents;
-
- (void) move (row/row_inc + NUMTOPS, col/col_inc);
-- (void) addch ((chtype)cell);
-+ (void) addch ((chartype)cell);
- }
-
- /*
-@@ -498,7 +498,7 @@
- print_zoom_cell (vmap, row, col, row_inc, col_inc);
- else {
- (void) move (row/row_inc + NUMTOPS, col/col_inc);
-- (void) addch ((chtype)cell);
-+ (void) addch ((chartype)cell);
- }
- }
-
diff -ruN --exclude=CVS /usr/ports/games/empire/files/patch-ad /home/corn/devel/empire/files/patch-ad
--- /usr/ports/games/empire/files/patch-ad 2010-05-12 19:00:37.000000000 +0200
+++ /home/corn/devel/empire/files/patch-ad 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
---- game.c.orig Sat Sep 18 18:36:29 1999
-+++ game.c Sat Sep 18 18:36:40 1999
-@@ -850,5 +850,5 @@
- cell = mbuf[row_col_loc(r,c)];
-
- (void) move (row/row_inc + NUMTOPS, col/col_inc);
-- (void) addch ((chtype)cell);
-+ (void) addch ((chartype)cell);
- }
--- empire-1.8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list