FreeBSD Bugzilla – Attachment 49799 Details for
Bug 76005
Update games/tornado to fix port problems and move to new release
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 6.47 KB, created by
H. Wade Minter
on 2005-01-09 19:40:29 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
H. Wade Minter
Created:
2005-01-09 19:40:29 UTC
Size:
6.47 KB
patch
obsolete
>diff -ur tornado.orig/Makefile tornado/Makefile >--- tornado.orig/Makefile Wed Feb 4 02:08:43 2004 >+++ tornado/Makefile Sun Jan 9 12:36:12 2005 >@@ -6,10 +6,10 @@ > # > > PORTNAME= tornado >-PORTVERSION= 1.2 >+PORTVERSION= 1.3 > PORTREVISION= 1 > CATEGORIES= games >-MASTER_SITES= http://home.kcore.de/~kiza/linux/tornado/download/ >+MASTER_SITES= http://kiza.kcore.de/software/tornado/download/ > > MAINTAINER= minter@lunenburg.org > COMMENT= A curses-based game of weather destruction >diff -ur tornado.orig/distinfo tornado/distinfo >--- tornado.orig/distinfo Wed Mar 31 02:12:21 2004 >+++ tornado/distinfo Sun Jan 9 12:33:59 2005 >@@ -1,2 +1,2 @@ >-MD5 (tornado-1.2.tar.gz) = 840f85d1db54d50d50190489c8af02d3 >-SIZE (tornado-1.2.tar.gz) = 46046 >+MD5 (tornado-1.3.tar.gz) = 149adcac75cb052c361d175bfc6d9f0f >+SIZE (tornado-1.3.tar.gz) = 52101 >diff -ur tornado.orig/files/patch-aa tornado/files/patch-aa >--- tornado.orig/files/patch-aa Thu Jul 3 12:05:32 2003 >+++ tornado/files/patch-aa Sun Jan 9 14:24:05 2005 >@@ -1,6 +1,5 @@ >-diff -ur ../tornado-1.2.orig/Makefile ./Makefile >---- ../tornado-1.2.orig/Makefile Thu Nov 7 12:45:59 2002 >-+++ ./Makefile Mon Apr 21 14:06:38 2003 >+--- ../tornado-1.3.orig/Makefile Thu Nov 20 08:26:22 2003 >++++ Makefile Sun Jan 9 14:21:24 2005 > @@ -1,10 +1,9 @@ > CC = gcc > -MAKE = make >@@ -13,7 +12,7 @@ > -CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" > +LOCALEPATH = ${PREFIX}/share/locale > +CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" -I/usr/local/include >- VERSION = `echo VERSION | cpp -P -include version.h | tr -d '" ' | grep -v '^$$'` >+ VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` > LOCALES = de > MAN = doc/man > @@ -50,17 +49,17 @@ >@@ -26,54 +25,19 @@ > - cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ > - mv -f score.tmp /var/games/tornado.scores; \ > - chmod a+rw-x "/var/games/tornado.scores"; \ >-+ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ >-+ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ >-+ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ >++ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ >++ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ >++ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ > else \ > - if [ ! -d "/var/games" ]; then \ > - mkdir /var/games; \ >-+ if [ ! -d "${PREFIX}/share/games" ]; then \ >-+ mkdir ${PREFIX}/share/games; \ >++ if [ ! -d "${PREFIX}/share/games" ]; then \ >++ mkdir ${PREFIX}/share/games; \ > fi; \ > - install tornado.scores /var/games; \ > - chmod a+w-x "/var/games/tornado.scores"; \ >-+ install tornado.scores ${PREFIX}/share/games/; \ >-+ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ >++ install tornado.scores ${PREFIX}/share/games; \ >++ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ > fi > > install-locale-data: >-@@ -68,7 +67,7 @@ >- >- uninstall: >- rm -f $(PREFIX)/bin/tornado >-- rm -f /var/games/tornado.scores >-+ rm -f ${PREFIX}/share/games/tornado.scores >- $(MAKE) -C $(MAN) uninstall >- $(MAKE) -C po uninstall >- >-@@ -84,17 +83,17 @@ >- fi >- install -m 0644 tornado.6 $(PREFIX)/man/man6 >- >-- if [ -f "/var/games/tornado.scores" ]; then \ >-+ if [ -f "${PREFIX}/share/games/tornado.scores" ]; then \ >- echo "Skipping install of the highscores file. File exists."; \ >-- cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ >-- mv -f score.tmp /var/games/tornado.scores; \ >-- chmod a+rw-x "/var/games/tornado.scores"; \ >-+ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ >-+ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ >-+ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ >- else \ >-- if [ ! -d "/var/games" ]; then \ >-- mkdir /var/games; \ >-+ if [ ! -d "${PREFIX}/share/games" ]; then \ >-+ mkdir ${PREFIX}/share/games; \ >- fi; \ >-- install tornado.scores /var/games; \ >-- chmod a+w-x "/var/games/tornado.scores"; \ >-+ install tornado.scores ${PREFIX}/share/games; \ >-+ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ >- fi >- >- dist: clean >diff -ur tornado.orig/files/patch-ab tornado/files/patch-ab >--- tornado.orig/files/patch-ab Thu Jul 3 12:05:32 2003 >+++ tornado/files/patch-ab Sun Jan 9 14:24:20 2005 >@@ -1,6 +1,5 @@ >-diff -ur ../tornado-1.2.orig/Makefile.inc ./Makefile.inc >---- ../tornado-1.2.orig/Makefile.inc Fri Oct 11 15:03:56 2002 >-+++ ./Makefile.inc Mon Apr 21 14:06:43 2003 >+--- ../tornado-1.3.orig/Makefile.inc Thu Nov 20 05:55:50 2003 >++++ Makefile.inc Sun Jan 9 14:22:36 2005 > @@ -1,9 +1,8 @@ > CC = gcc > -MAKE = make >@@ -12,8 +11,6 @@ > -LOCALEPATH = /usr/local/share/locale > -CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" > +LOCALEPATH = ${PREFIX}/share/locale >-+CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" -I/usr/local/include >++CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" - > LOCALES = de >--MAN = doc/man >-\ No newline at end of file >-+MAN = doc/man >+ MAN = doc/man >diff -ur tornado.orig/files/patch-ac tornado/files/patch-ac >--- tornado.orig/files/patch-ac Thu Jul 3 12:05:32 2003 >+++ tornado/files/patch-ac Sun Jan 9 14:24:43 2005 >@@ -1,6 +1,5 @@ >-diff -ur ../tornado-1.2.orig/doc/man/tornado.6.in ./doc/man/tornado.6.in >---- ../tornado-1.2.orig/doc/man/tornado.6.in Mon Sep 2 19:18:55 2002 >-+++ ./doc/man/tornado.6.in Mon Apr 21 13:38:47 2003 >+--- ../tornado-1.3.orig/doc/man/tornado.6.in Thu Nov 20 06:00:47 2003 >++++ doc/man/tornado.6.in Sun Jan 9 14:23:34 2005 > @@ -90,11 +90,11 @@ > .P > PREFIX/man/man6/tornado.6 >diff -ur tornado.orig/pkg-descr tornado/pkg-descr >--- tornado.orig/pkg-descr Thu Jul 3 12:05:32 2003 >+++ tornado/pkg-descr Sun Jan 9 12:31:03 2005 >@@ -3,7 +3,7 @@ > against the computer AI, or against another player locally or over the > network. > >-WWW: http://home.kcore.de/~kiza/linux/tornado/ >+WWW: http://kiza.kcore.de/software/tornado/ > > --Wade > minter@lunenburg.org >diff -ur tornado.orig/pkg-plist tornado/pkg-plist >--- tornado.orig/pkg-plist Thu Jul 3 12:05:32 2003 >+++ tornado/pkg-plist Sun Jan 9 14:27:19 2005 >@@ -7,3 +7,12 @@ > share/locale/es/LC_MESSAGES/tornado.mo > share/locale/it/LC_MESSAGES/tornado.mo > share/locale/ru/LC_MESSAGES/tornado.mo >+@dirrm share/games >+@dirrm man/ru/man6 >+@dirrm man/ru >+@dirrm man/it/man6 >+@dirrm man/it >+@dirrm man/fr/man6 >+@dirrm man/fr >+@dirrm man/de/man6 >+@dirrm man/de >Only in tornado: work
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76005
: 49799