FreeBSD Bugzilla – Attachment 32656 Details for
Bug 53859
version bump for games/toppler
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.89 KB, created by
Dominic Mitchell
on 2003-06-27 23:10:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dominic Mitchell
Created:
2003-06-27 23:10:07 UTC
Size:
3.89 KB
patch
obsolete
>diff -urN /usr/ports/games/toppler/Makefile toppler/Makefile >--- /usr/ports/games/toppler/Makefile Sat Feb 22 00:46:35 2003 >+++ toppler/Makefile Fri Jun 27 22:58:32 2003 >@@ -6,7 +6,7 @@ > # > > PORTNAME= toppler >-PORTVERSION= 0.71 >+PORTVERSION= 1.0.2 > CATEGORIES= games > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= toppler >@@ -23,26 +23,14 @@ > GNU_CONFIGURE= yes > CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" > >-SCOREDIR?= /var/games/${PORTNAME} >-SCOREFILE?= ${PORTNAME}.hscr >+MAN6= toppler.6 > > pre-patch: > @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure > @find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cc" \) | \ > xargs ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g' > >-post-patch: >- @${PERL} -pi -e 's|%SCOREDIR%|${SCOREDIR}|g;' \ >- -e 's|%SCOREFILE%|${SCOREFILE}|g' ${WRKSRC}/menu.cc >- >-pre-install: >- ${MKDIR} ${SCOREDIR} >- > post-install: >- ${CHOWN} root:games ${PREFIX}/bin/${PORTNAME} >- ${CHMOD} g+s ${PREFIX}/bin/${PORTNAME} >- ${TOUCH} ${SCOREDIR}/${SCOREFILE} >- ${CHMOD} 664 ${SCOREDIR}/${SCOREFILE} >- ${CHOWN} root:games ${SCOREDIR}/${SCOREFILE} >+ @cd ${WRKSRC} && ${MAKE} global_highscore > > .include <bsd.port.mk> >diff -urN /usr/ports/games/toppler/distinfo toppler/distinfo >--- /usr/ports/games/toppler/distinfo Tue Apr 2 17:43:37 2002 >+++ toppler/distinfo Fri Jun 27 10:59:57 2003 >@@ -1 +1 @@ >-MD5 (toppler-0.71.tar.gz) = cdaa3dd91cfa2938ffa3979ed03f7f4f >+MD5 (toppler-1.0.2.tar.gz) = 18793ac2bec622a94e5369c645941954 >diff -urN /usr/ports/games/toppler/files/patch-configure toppler/files/patch-configure >--- /usr/ports/games/toppler/files/patch-configure Tue Apr 2 17:43:40 2002 >+++ toppler/files/patch-configure Thu Jan 1 01:00:00 1970 >@@ -1,11 +0,0 @@ >---- configure.orig Sat Jan 19 09:55:17 2002 >-+++ configure Sat Jan 19 09:54:37 2002 >-@@ -1167,7 +1167,7 @@ >- rm -f conf.sdltest >- >- CPPFLAGS="$CPPFLAGS $SDL_CFLAGS" >--LIS="$LIBS $SDL_LIBS" >-+LIBS="$LIBS $SDL_LIBS" >- >- echo $ac_n "checking for main in -lSDL_mixer""... $ac_c" 1>&6 >- echo "configure:1174: checking for main in -lSDL_mixer" >&5 >diff -urN /usr/ports/games/toppler/files/patch-menu.cc toppler/files/patch-menu.cc >--- /usr/ports/games/toppler/files/patch-menu.cc Tue Apr 2 17:43:40 2002 >+++ toppler/files/patch-menu.cc Thu Jan 1 01:00:00 1970 >@@ -1,30 +0,0 @@ >---- menu.cc.orig Sat Jan 19 11:08:41 2002 >-+++ menu.cc Sat Jan 19 11:11:09 2002 >-@@ -10,6 +10,9 @@ >- >- #include <stdlib.h> >- >-+#define SCOREDIR "%SCOREDIR%" >-+#define SCOREFILE "%SCOREFILE%" >-+ >- static unsigned short menupicture, titledata; >- static unsigned char currentmission = 0; >- >-@@ -175,7 +178,7 @@ >- static void getscores() { >- char n[300]; >- >-- sprintf(n, "%s/nebulous.hsc", getenv("HOME")); >-+ sprintf(n, "%s/%s", SCOREDIR, SCOREFILE); >- FILE *f = fopen(n, "rb"); >- >- if (f) { >-@@ -195,7 +198,7 @@ >- static void savescores() { >- char n[300]; >- >-- sprintf(n, "%s/nebulous.hsc", getenv("HOME")); >-+ sprintf(n, "%s/%s", SCOREDIR, SCOREFILE); >- >- FILE *f = fopen(n, "r+b"); >- >diff -urN /usr/ports/games/toppler/pkg-plist toppler/pkg-plist >--- /usr/ports/games/toppler/pkg-plist Tue Apr 2 17:43:38 2002 >+++ toppler/pkg-plist Fri Jun 27 22:53:16 2003 >@@ -1,15 +1,27 @@ > bin/toppler >+share/toppler/abc.ttm >+share/toppler/alarm.wav >+share/toppler/ball1.ttm >+share/toppler/ball2.ttm >+share/toppler/ball3.ttm > share/toppler/boing.wav > share/toppler/bubbles.wav >+share/toppler/fanfare.wav > share/toppler/hit.wav > share/toppler/honk.wav >-share/toppler/layer1.tga >-share/toppler/layer2.tga >-share/toppler/layer3.tga >-share/toppler/nebulous.dat >+share/toppler/m1.ttm >+share/toppler/m2.ttm >+share/toppler/rumble.wav >+share/toppler/score.wav >+share/toppler/sonar.wav > share/toppler/splash.wav >-share/toppler/swosh.wav >+share/toppler/swoosh.wav > share/toppler/tap.wav > share/toppler/tick.wav >+share/toppler/toppler.dat >+share/toppler/toppler.xpm >+share/toppler/torpedo.wav > share/toppler/water.wav >+var/toppler/toppler.hsc > @dirrm share/toppler >+@dirrm var/toppler
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 53859
: 32656