FreeBSD Bugzilla – Attachment 130956 Details for
Bug 174989
[PATCH] games/sauerbraten: Update to 20130104
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch.txt
patch.txt (text/plain; charset=UTF-8), 5.11 KB, created by
lightside
on 2013-01-07 14:12:38 UTC
(
hide
)
Description:
patch.txt
Filename:
MIME Type:
Creator:
lightside
Created:
2013-01-07 14:12:38 UTC
Size:
5.11 KB
patch
obsolete
>diff -ruN sauerbraten.orig/Makefile sauerbraten/Makefile >--- sauerbraten.orig/Makefile 2012-11-17 09:57:51.000000000 +0400 >+++ sauerbraten/Makefile 2013-01-07 13:54:04.000000000 +0400 >@@ -6,15 +6,18 @@ > # > > PORTNAME= sauerbraten >-PORTVERSION= 20100728 >-PORTREVISION= 2 >+PORTVERSION= 20130107 >+PORTREVISION= 0 > CATEGORIES= games >-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2010_07_19 >-DISTNAME= ${PORTNAME}_2010_07_28_justice_edition_linux >+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2013_01_04 >+DISTNAME= ${PORTNAME}_2013_01_07_collect_edition_linux > > MAINTAINER= acm@FreeBSD.org > COMMENT= First person shooter based on Cube > >+LICENSE_COMB= multi >+LICENSE= MIT ZLIB >+ > USE_GMAKE= yes > GNU_CONFIGURE= yes > USE_BZIP2= yes >@@ -31,31 +34,37 @@ > PORTDATA= data packages > PORTDOCS= * > >-OPTIONS= CLIENT "Build client" on \ >- DEDICATED "Build dedicated server" on \ >- MASTER "Build master server" off >+OPTIONS_DEFINE= CLIENT DEDICATED DOCS MASTER >+OPTIONS_DEFAULT= CLIENT DEDICATED >+CLIENT_DESC= Build client >+DEDICATED_DESC= Build dedicated server >+MASTER_DESC= Build master server > > SUB_FILES= sauer_client sauer_master sauer_server pkg-message > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > >-.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) && defined(WITHOUT_MASTER) >+.if !${PORT_OPTIONS:MCLIENT} && !${PORT_OPTIONS:MDEDICATED} && !${PORT_OPTIONS:MMASTER} > IGNORE= needs at least one executable (CLIENT, DEDICATED or MASTER) > .endif > >-.if !defined(WITHOUT_CLIENT) >+.if ${PORT_OPTIONS:MCLIENT} > USE_GL= yes > USE_SDL= image mixer sdl > ALL_TARGET+= client > SAUER_BIN+= client >+ >+DESKTOP_ENTRIES="Sauerbraten" "${COMMENT}" \ >+ "${PREFIX}/share/${PORTNAME}/data/cube.png" "sauer_client" \ >+ "Application;Game;" ${FALSE} > .endif > >-.if !defined(WITHOUT_DEDICATED) >+.if ${PORT_OPTIONS:MDEDICATED} > ALL_TARGET+= server > SAUER_BIN+= server > .endif > >-.if !defined(WITHOUT_MASTER) >+.if ${PORT_OPTIONS:MMASTER} > ALL_TARGET+= master > SAUER_BIN+= master > .endif >@@ -77,7 +86,7 @@ > ${MKDIR} ${DATADIR} > cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${DATADIR} > .endif >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > ${MKDIR} ${DOCSDIR} > cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} > .endif >@@ -91,4 +100,4 @@ > @${CAT} ${PKGMESSAGE} > @${ECHO_CMD} > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -ruN sauerbraten.orig/distinfo sauerbraten/distinfo >--- sauerbraten.orig/distinfo 2011-01-20 18:37:46.000000000 +0300 >+++ sauerbraten/distinfo 2013-01-07 14:09:14.000000000 +0400 >@@ -1,2 +1,2 @@ >-SHA256 (sauerbraten_2010_07_28_justice_edition_linux.tar.bz2) = 185e5dbf41a4426af5f692e49afa69237e23976ef3b368f43ec6aa19fb3cc86c >-SIZE (sauerbraten_2010_07_28_justice_edition_linux.tar.bz2) = 464652953 >+SHA256 (sauerbraten_2013_01_07_collect_edition_linux.tar.bz2) = 0d84bd0f56936521337929660197dbc12c631523494365d2248e2676eb116fef >+SIZE (sauerbraten_2013_01_07_collect_edition_linux.tar.bz2) = 589899304 >diff -ruN sauerbraten.orig/files/patch-src_Makefile sauerbraten/files/patch-src_Makefile >--- sauerbraten.orig/files/patch-src_Makefile 2011-01-20 18:37:47.000000000 +0300 >+++ sauerbraten/files/patch-src_Makefile 2013-01-05 04:43:11.000000000 +0400 >@@ -1,8 +1,8 @@ >---- src/Makefile.orig 2010-05-14 01:30:28.000000000 +0700 >-+++ src/Makefile 2010-09-24 18:44:00.000000000 +0700 >+--- src/Makefile.orig 2012-08-28 09:30:07.000000000 +0400 >++++ src/Makefile 2013-01-05 04:42:38.000000000 +0400 > @@ -1,8 +1,7 @@ > -CXXFLAGS= -O3 -fomit-frame-pointer >- override CXXFLAGS+= -Wall -fsigned-char >+ override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti > > PLATFORM= $(shell uname -s) > -PLATFORM_PREFIX= native >@@ -10,25 +10,25 @@ > > INCLUDES= -Ishared -Iengine -Ifpsgame -Ienet/include > >-@@ -20,8 +19,8 @@ >- CLIENT_INCLUDES= $(INCLUDES) -Iinclude >- CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm >+@@ -36,8 +35,8 @@ >+ endif >+ CLIENT_LIBS= -mwindows $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lSDL -lSDL_image -lSDL_mixer -lzlib1 -lopengl32 -lenet -lws2_32 -lwinmm > else > -CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags` >--CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL >+-CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL > +CLIENT_INCLUDES= $(INCLUDES) `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include > +CLIENT_LIBS= -Lenet/.libs -lenet `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_image -lSDL_mixer -lz -lGL > endif > ifeq ($(PLATFORM),Linux) > CLIENT_LIBS+= -lrt >-@@ -90,8 +89,8 @@ >- SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) -Iinclude >- SERVER_LIBS= -Llib -lzdll -lenet -lws2_32 -lwinmm >+@@ -105,8 +104,8 @@ >+ SERVER_LIBS= -mwindows $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm >+ MASTER_LIBS= $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm > else > -SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) > -SERVER_LIBS= -Lenet/.libs -lenet -lz > +SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) -I${LOCALBASE}/include > +SERVER_LIBS= -Lenet/.libs -lenet -lz -L${LOCALBASE}/lib >+ MASTER_LIBS= $(SERVER_LIBS) > endif > SERVER_OBJS= \ >- shared/crypto-standalone.o \
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 Raw
Actions:
View
Attachments on
bug 174989
:
130955
| 130956 |
130957
|
130958
|
130959
|
130960
|
130961