FreeBSD Bugzilla – Attachment 22916 Details for
Bug 39642
Update port: games/gemdropx 0.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.83 KB, created by
tkato
on 2002-06-22 05:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato
Created:
2002-06-22 05:10:01 UTC
Size:
3.83 KB
patch
obsolete
>diff -urN /usr/ports/games/gemdropx/Makefile games/gemdropx/Makefile >--- /usr/ports/games/gemdropx/Makefile Fri Feb 9 01:21:05 2001 >+++ games/gemdropx/Makefile Sat Jun 22 08:46:29 2002 >@@ -6,8 +6,7 @@ > # > > PORTNAME= gemdropx >-PORTVERSION= 0.7 >-PORTREVISION= 1 >+PORTVERSION= 0.9 > CATEGORIES= games > MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/gemdropx/ > >@@ -24,13 +23,13 @@ > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/gemdropx ${PREFIX}/bin >- @${MKDIR} ${PREFIX}/share/gemdropx/images >- ${INSTALL_DATA} ${WRKSRC}/data/images/* ${PREFIX}/share/gemdropx/images >- @${MKDIR} ${PREFIX}/share/gemdropx/sounds >- ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${PREFIX}/share/gemdropx/sounds >+ @${MKDIR} ${DATADIR}/images >+ ${INSTALL_DATA} ${WRKSRC}/data/images/* ${DATADIR}/images >+ @${MKDIR} ${DATADIR}/sounds >+ ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${DATADIR}/sounds > .if !defined(NOPORTDOCS) >- @${MKDIR} ${PREFIX}/share/doc/gemdropx >- ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/gemdropx >+ @${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} > .endif > > .include <bsd.port.mk> >diff -urN /usr/ports/games/gemdropx/distinfo games/gemdropx/distinfo >--- /usr/ports/games/gemdropx/distinfo Sun Apr 2 09:58:17 2000 >+++ games/gemdropx/distinfo Sat Jun 22 08:48:13 2002 >@@ -1 +1 @@ >-MD5 (gemdropx-0.7.tar.gz) = 9364e9da54939f95d3f5bd58119455a3 >+MD5 (gemdropx-0.9.tar.gz) = fd0337e89778e2dba74461c555ea8e42 >diff -urN /usr/ports/games/gemdropx/files/patch-aa games/gemdropx/files/patch-aa >--- /usr/ports/games/gemdropx/files/patch-aa Fri Feb 9 01:21:05 2001 >+++ games/gemdropx/files/patch-aa Sat Jun 22 09:56:26 2002 >@@ -1,28 +1,28 @@ >- >-$FreeBSD: ports/games/gemdropx/files/patch-aa,v 1.4 2001/02/08 16:21:05 sobomax Exp $ >- >---- Makefile.orig Tue Dec 28 10:33:54 1999 >-+++ Makefile Thu Feb 8 18:04:06 2001 >-@@ -12,17 +12,17 @@ >- # 100% SDL Version: December 27, 1999 >+--- Makefile.orig Sat May 18 17:53:29 2002 >++++ Makefile Sat Jun 22 09:56:19 2002 >+@@ -14,11 +14,11 @@ >+ # Added 'install' target (finally!): May 18, 2002 > > >--DATA_PREFIX=data >+-DATA_PREFIX=/usr/local/share/gemdropx > -SDL_CFLAGS := $(shell sdl-config --cflags) > -SDL_LDFLAGS := $(shell sdl-config --libs) >+-CC=gcc >+-CXX=gcc > +DATA_PREFIX=$(PREFIX)/share/gemdropx > +SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags) > +SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs) >++CC?=gcc >++CXX?=gcc > > >--MIXER=-lmixer >-+MIXER=-lSDL_mixer >- NOSOUNDFLAG=$(SOUND)SOUND >- JOYFLAG=$(JOY)JOYSTICK >+ MIXER=-lSDL_mixer >+@@ -27,7 +27,7 @@ >+ EMBEDDEDFLAG=NOT_EMBEDDED > > > -CFLAGS=-Wall $(SDL_CFLAGS) \ > +CFLAGS+=$(SDL_CFLAGS) \ >- -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) -D$(JOYFLAG) >+ -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) -D$(JOYFLAG) \ >+ -D$(EMBEDDEDFLAG) $(XTRA_FLAGS) > SDL_LIB=$(MIXER) $(SDL_LDFLAGS) >- >diff -urN /usr/ports/games/gemdropx/files/patch-ab games/gemdropx/files/patch-ab >--- /usr/ports/games/gemdropx/files/patch-ab Fri Feb 9 01:21:05 2001 >+++ games/gemdropx/files/patch-ab Thu Jan 1 09:00:00 1970 >@@ -1,43 +0,0 @@ >- >-$FreeBSD: ports/games/gemdropx/files/patch-ab,v 1.2 2001/02/08 16:21:05 sobomax Exp $ >- >---- gemdropx.c.orig Tue Dec 28 11:54:17 1999 >-+++ gemdropx.c Thu Feb 8 18:04:42 2001 >-@@ -26,7 +26,7 @@ >- #include <sys/types.h> >- #include <sys/time.h> >- #include <unistd.h> >--#include <SDL/SDL.h> >-+#include <SDL.h> >- >- #ifndef NOJOYSTICK >- #include <sys/stat.h> >-@@ -36,7 +36,7 @@ >- #endif >- >- #ifndef NOSOUND >--#include <mixer.h> >-+#include <SDL_mixer.h> >- #endif >- >- #include "data/images/nothing.xbm" >-@@ -281,6 +281,7 @@ >- SDL_GetError()); >- exit(1); >- } >-+ atexit(SDL_Quit); >- >- >- /* Set the size of the window: */ >-@@ -2231,9 +2232,11 @@ >- (JS_VERSION & 0x0000FF)); >- #endif >- >-+#ifndef NOSOUND >- SDL_VERSION(&sdlver); >- printf("SDL version %d.%d.%d\n\n", sdlver.major, >- sdlver.minor, sdlver.patch); >-+#endif >- >- exit(0); >- }
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 39642
: 22916