diff options
author | rene <rene@FreeBSD.org> | 2016-07-05 04:48:23 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2016-07-05 04:48:23 +0800 |
commit | 44ed4bbba58dfc63e35cdf4076124f4871d2c9f4 (patch) | |
tree | 239999706f3f6d8d0babe480ab358d7675c96f78 /games/sdlquake2 | |
parent | 5806fee55eba6d21b3bc82fa1864eb4b85ceb57b (diff) | |
download | freebsd-ports-gnome-44ed4bbba58dfc63e35cdf4076124f4871d2c9f4.tar.gz freebsd-ports-gnome-44ed4bbba58dfc63e35cdf4076124f4871d2c9f4.tar.zst freebsd-ports-gnome-44ed4bbba58dfc63e35cdf4076124f4871d2c9f4.zip |
Remove expired ports without open PRs:
2016-07-04 security/openpgpsdk: Broken for more than 6 months
2016-07-04 security/radiusniff: Broken for more than 6 months
2016-07-04 security/pear-Auth_OpenID: Broken for more than 6 months
2016-07-04 security/sshit: Broken for more than 6 months
2016-07-04 security/ifd-slb_rf60: Broken for more than 6 months
2016-07-04 security/rainbowcrack: Broken for more than 6 months
2016-07-04 security/vlog: Broken for more than 6 months
2016-07-04 security/cryptstring: Broken for more than 6 months
2016-07-04 x11/libdnd: Broken for more than 6 months
2016-07-04 x11/xlupe: Broken for more than 6 months
2016-07-04 x11/xco: Broken for more than 6 months
2016-07-04 x11/xclick: Broken for more than 6 months
2016-07-04 devel/ocfpcsc: Broken for more than 6 months
2016-07-04 devel/dits: Broken for more than 6 months
2016-07-04 devel/ruby-cache: Broken for more than 6 months
2016-07-04 devel/rapidsvn: Broken for more than 6 months
2016-07-04 devel/svnkit: Broken for more than 6 months
2016-07-04 devel/py-EnthoughtBase: Broken for more than 6 months
2016-07-04 devel/cl-uffi: Broken for more than 6 months
2016-07-04 devel/ruby-event-loop: Broken for more than 6 months
2016-07-04 devel/libqxt: Broken for more than 6 months
2016-07-04 devel/dasm: Broken for more than 6 months
2016-07-04 devel/libopendaap: Broken for more than 6 months
2016-07-04 devel/cl-uffi-sbcl: Depends on expiring devel/cl-uffi
2016-07-04 devel/cvs2p4: Broken for more than 6 months
2016-07-04 devel/bufferpool: Broken for more than 6 months
2016-07-04 devel/ifd-test: Broken for more than 6 months
2016-07-04 devel/eric4: Broken for more than 6 months
2016-07-04 devel/uclmmbase: Broken for more than 6 months
2016-07-04 devel/obfuscatejs: Broken for more than 6 months
2016-07-04 devel/oniguruma: Broken for more than 6 months
2016-07-04 devel/libbnr: Broken for more than 6 months
2016-07-04 devel/c4: Broken for more than 6 months
2016-07-04 devel/memcheck: Broken for more than 6 months
2016-07-04 devel/liblcfg: Broken for more than 6 months
2016-07-04 devel/omake: Broken for more than 6 months
2016-07-04 devel/svndelta: Broken for more than 6 months
2016-07-04 devel/papp: Broken for more than 6 months
2016-07-04 devel/mk: Broken for more than 6 months
2016-07-04 devel/avltree: Broken for more than 6 months
2016-07-04 devel/cbind: Broken for more than 6 months
2016-07-04 devel/tclgetopts: Broken for more than 6 months
2016-07-04 devel/antlrworks: Broken for more than 6 months
2016-07-04 devel/acme: Broken for more than 6 months
2016-07-04 devel/libopensync022: Broken for more than 6 months
2016-07-04 archivers/epkg: Broken for more than 6 months
2016-07-04 print/enscriptfonts: Broken for more than 6 months
2016-07-04 print/mup: Broken for more than 6 months
2016-07-04 lang/lua-mode.el: Broken for more than 6 months
2016-07-04 lang/s9fes: Broken for more than 6 months
2016-07-04 lang/alisp: Broken for more than 6 months
2016-07-04 lang/intel2gas: Broken for more than 6 months
2016-07-04 lang/stalin: Broken for more than 6 months
2016-07-04 french/eric4: Depends on expiring devel/eric4
2016-07-04 textproc/exslt: Broken for more than 6 months
2016-07-04 textproc/xt: Broken for more than 6 months
2016-07-04 textproc/ssddiff: Broken for more than 6 months
2016-07-04 textproc/xslint: Broken for more than 6 months
2016-07-04 textproc/cbedic: Broken for more than 6 months
2016-07-04 textproc/tralics: Broken for more than 6 months
2016-07-04 textproc/docbookide.el: Broken for more than 6 months
2016-07-04 textproc/glpi-plugins-AdditionalReports: Broken for more than 6 months
2016-07-04 textproc/tdhkit: Broken for more than 6 months
2016-07-04 textproc/p5-Groonga-API: Broken for more than 6 months
2016-07-04 textproc/glpi-plugins-DataInjection: Broken for more than 6 months
2016-07-04 dns/ldnsm: Broken for more than 6 months
2016-07-04 japanese/guesswork-classic: Broken for more than 6 months
2016-07-04 japanese/texinfo: Broken for more than 6 months
2016-07-04 japanese/jyuroku: Broken for more than 6 months
2016-07-04 japanese/mtools: Broken for more than 6 months
2016-07-04 palm/pdbar: Broken for more than 6 months
2016-07-04 graphics/gplot: Broken for more than 6 months
2016-07-04 graphics/white_dune: Broken for more than 6 months
2016-07-04 graphics/whirlgif: Broken for more than 6 months
2016-07-04 graphics/libaux: Broken for more than 6 months
2016-07-04 graphics/import-pictures: Broken for more than 6 months
2016-07-04 math/xgobi: Broken for more than 6 months
2016-07-04 math/fricas: Broken for more than 6 months
2016-07-04 math/dcdflib: Broken for more than 6 months
2016-07-04 math/libneural: Broken for more than 6 months
2016-07-04 math/open-axiom: Broken for more than 6 months
2016-07-04 irc/nefarious: Broken for more than 6 months
2016-07-04 irc/slirc: Broken for more than 6 months
2016-07-04 irc/ratbox-respond: Broken for more than 6 months
2016-07-04 irc/qwebirc: Broken for more than 6 months
2016-07-04 biology/platon: Broken for more than 6 months
2016-07-04 news/slnr: Broken for more than 6 months
2016-07-04 science/jmol: Broken for more than 6 months
2016-07-04 net/nstxd: Broken for more than 6 months
2016-07-04 net/sprinkle: Broken for more than 6 months
2016-07-04 editors/ssam: Broken for more than 6 months
2016-07-04 editors/fb: Broken for more than 6 months
2016-07-04 misc/quotes: Broken for more than 6 months
2016-07-04 misc/boxquote.el: Broken for more than 6 months
2016-07-04 misc/pypanda: Broken for more than 6 months
2016-07-04 misc/cuecat: Broken for more than 6 months
2016-07-04 deskutils/displaycalibrator: Broken for more than 6 months
2016-07-04 german/eric4: Depends on expiring devel/eric4
2016-07-04 multimedia/vic: Depends on expiring devel/uclmmbase
2016-07-04 multimedia/ggrab: Broken for more than 6 months
2016-07-04 emulators/dynamips: Broken for more than 6 months
2016-07-04 emulators/dynamips-devel: Broken for more than 6 months
2016-07-04 emulators/sim6811: Broken for more than 6 months
2016-07-04 emulators/minivmac: Broken for more than 6 months
2016-07-04 cad/qcad-partslib: Broken for more than 6 months
2016-07-04 comms/dump1090_mr: Broken for more than 6 months
2016-07-04 x11-fm/asfiles: Depends on expiring x11/libdnd
2016-07-04 x11-fonts/fonts-te: Broken for more than 6 months
2016-07-04 sysutils/rsyncmanager: Broken for more than 6 months
2016-07-04 sysutils/jfbterm: Broken for more than 6 months
2016-07-04 sysutils/daedalus: Broken for more than 6 months
2016-07-04 sysutils/pcfclock: Broken for more than 6 months
2016-07-04 sysutils/vlogger: Broken for more than 6 months
2016-07-04 sysutils/bontmia: Broken for more than 6 months
2016-07-04 mail/pop3gwd: Broken for more than 6 months
2016-07-04 mail/mailtray: Broken for more than 6 months
2016-07-04 mail/pflogstats: Broken for more than 6 months
2016-07-04 mail/exact: Broken for more than 6 months
2016-07-04 mail/wmpop3: Broken for more than 6 months
2016-07-04 mail/qmail-conf: Broken for more than 6 months
2016-07-04 mail/gld: Broken for more than 6 months
2016-07-04 mail/dsbl-testers: Broken for more than 6 months
2016-07-04 mail/vqregister: Broken for more than 6 months
2016-07-04 mail/atmail: Broken for more than 6 months
2016-07-04 mail/ml: Broken for more than 6 months
2016-07-04 net-im/icb: Broken for more than 6 months
2016-07-04 net-im/cicquin: Broken for more than 6 months
2016-07-04 net-im/pidgin-manualsize: Broken for more than 6 months
2016-07-04 net-im/pidgin-rhythmbox: Broken for more than 6 months
2016-07-04 russian/eric4: Depends on expiring devel/eric4
2016-07-04 russian/fortune-bashorgru: Broken for more than 6 months
2016-07-04 www/xpi-clearfields: Broken for more than 6 months
2016-07-04 www/pecl-varnish: Broken for more than 6 months
2016-07-04 www/py-requests-oauth-hook: Broken for more than 6 months
2016-07-04 www/hudson: Broken for more than 6 months
2016-07-04 www/xpi-mldonkey: Broken for more than 6 months
2016-07-04 www/xpi-cookiesafe: Broken for more than 6 months
2016-07-04 www/trac-mastertickets: Broken for more than 6 months
2016-07-04 www/dotclear: Broken for more than 6 months
2016-07-04 www/ruby-wgettsv: Broken for more than 6 months
2016-07-04 www/wwwstat: Broken for more than 6 months
2016-07-04 www/xpi-prism: Broken for more than 6 months
2016-07-04 www/xpi-fasterfox: Broken for more than 6 months
2016-07-04 www/siteframe: Broken for more than 6 months
2016-07-04 www/py-urljr: Broken for more than 6 months
2016-07-04 www/reviewboard: Broken for more than 6 months
2016-07-04 www/xpi-tabletools: Broken for more than 6 months
2016-07-04 www/wikindx: Broken for more than 6 months
2016-07-04 www/typolight: Broken for more than 6 months
2016-07-04 www/varnish-libvmod-header: Broken for more than 6 months
2016-07-04 www/xpi-gbrain: Broken for more than 6 months
2016-07-04 www/trac-robotstxt: Broken for more than 6 months
2016-07-04 www/simplog: Broken for more than 6 months
2016-07-04 www/chtml: Broken for more than 6 months
2016-07-04 databases/postgresql_autodoc: Broken for more than 6 months
2016-07-04 databases/oracle_odbc_driver: Broken for more than 6 months
2016-07-04 databases/mysql-xql: Broken for more than 6 months
2016-07-04 databases/mysql-udf-sys: Broken for more than 6 months
2016-07-04 games/lucidlife: Broken for more than 6 months
2016-07-04 games/gma: Broken for more than 6 months
2016-07-04 games/smiley: Broken for more than 6 months
2016-07-04 games/noegnud-littlehack: Broken for more than 6 months
2016-07-04 games/sdlquake2: Broken for more than 6 months
2016-07-04 games/daimonin: Depends on expiring games/daimonin-music
2016-07-04 games/noegnud-nethack: Broken for more than 6 months
2016-07-04 games/xbomber: Broken for more than 6 months
2016-07-04 games/xwelltris: Broken for more than 6 months
2016-07-04 games/ftjava: Broken for more than 6 months
2016-07-04 games/daimonin-music: Broken for more than 6 months
2016-07-04 games/gno3dtet: Broken for more than 6 months
2016-07-04 games/qtv: Broken for more than 6 months
2016-07-04 games/xwordpy: Broken for more than 6 months
2016-07-04 games/netris: Broken for more than 6 months
2016-07-04 games/rt2-demo: Broken for more than 6 months
2016-07-04 games/noegnud-addons: Broken for more than 6 months
2016-07-04 games/noegnud-nethack-deet: Broken for more than 6 months
2016-07-04 games/live-f1: Broken for more than 6 months
2016-07-04 games/xonix: Broken for more than 6 months
2016-07-04 games/fgkicker: Broken for more than 6 months
2016-07-04 games/tank: Depends on expiring graphics/libaux
2016-07-04 games/linux-nwserver: Broken for more than 6 months
2016-07-04 games/quake2-zaero: Broken for more than 6 months
2016-07-04 games/pyching: Broken for more than 6 months
2016-07-04 games/thevalley: Broken for more than 6 months
2016-07-04 games/xroads: Broken for more than 6 months
2016-07-04 games/fxsudoku: Broken for more than 6 months
2016-07-04 games/sudoku: Broken for more than 6 months
2016-07-04 games/kmancala: Broken for more than 6 months
2016-07-04 games/plonx: Broken for more than 6 months
2016-07-04 games/wmminichess: Broken for more than 6 months
2016-07-04 games/noegnud-slashem: Broken for more than 6 months
2016-07-04 games/latrine: Broken for more than 6 months
2016-07-04 games/pysycache-themes: Broken for more than 6 months
2016-07-04 games/nibbles: Broken for more than 6 months
2016-07-04 games/hlstatsx: Broken for more than 6 months
2016-07-04 audio/streamtuner: Broken for more than 6 months
2016-07-04 audio/mangler: Broken for more than 6 months
2016-07-04 audio/hawkvoice: Broken for more than 6 months
2016-07-04 audio/alac: Broken for more than 6 months
2016-07-04 x11-wm/e-module-mpdule: Broken for more than 6 months
2016-07-04 x11-wm/e-module-tclock: Broken for more than 6 months
2016-07-04 x11-wm/musca: Broken for more than 6 months
2016-07-04 x11-wm/e-module-places: Broken for more than 6 months
2016-07-04 x11-wm/e-module-forecasts: Broken for more than 6 months
2016-07-04 x11-wm/e-module-net: Broken for more than 6 months
2016-07-04 x11-wm/e-module-penguins: Broken for more than 6 months
2016-07-04 ftp/fget: Broken for more than 6 months
2016-07-04 net-mgmt/netmond: Broken for more than 6 months
2016-07-04 net-mgmt/ipfm: Broken for more than 6 months
Diffstat (limited to 'games/sdlquake2')
23 files changed, 0 insertions, 591 deletions
diff --git a/games/sdlquake2/Makefile b/games/sdlquake2/Makefile deleted file mode 100644 index 4bceb16b8b8f..000000000000 --- a/games/sdlquake2/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# Created by: alepulver -# $FreeBSD$ - -PORTNAME= sdlquake2 -PORTVERSION= 0.1.4 -PORTREVISION= 12 -CATEGORIES= games -MASTER_SITES= http://koti.mbnet.fi/~turol/sdlquake2/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Combination of R1Q2 and R1GL with SDL code from Quake2Forge - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2016-07-04 - -USES= execinfo gmake tar:bzip2 - -OPTIONS_DEFINE= CLIENT DEDICATED GAME -OPTIONS_DEFAULT= CLIENT DEDICATED -CLIENT_DESC= Build client -DEDICATED_DESC= Build dedicated server -GAME_DESC= Build a main game .so file - -OPTIONS_SUB= yes - -LIBDIR= ${PREFIX}/lib/${PORTNAME} -MAKE_ENV= LIBDIR="${LIBDIR}" -PLIST_SUB= LIBDIR=${LIBDIR:S/${PREFIX}\///} - -.include "${.CURDIR}/../quake2-data/Makefile.include" - -CLIENT_LIB_DEPENDS= libpng.so:graphics/png -CLIENT_USES= jpeg -CLIENT_USE= GL=yes -CLIENT_USE= SDL=sdl -CLIENT_MAKE_ENV= BUILD_CLIENT=YES - -DEDICATED_MAKE_ENV= BUILD_DEDICATED=YES - -GAME_MAKE_ENV= BUILD_GAME=YES - -.include <bsd.port.options.mk> - -do-install: - @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 -.if ${PORT_OPTIONS:MCLIENT} - ${INSTALL_PROGRAM} ${WRKSRC}/quake2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - ${INSTALL_PROGRAM} ${WRKSRC}/ref_sdlgl.so ${STAGEDIR}${LIBDIR} -.endif -.if ${PORT_OPTIONS:MDEDICATED} - ${INSTALL_PROGRAM} ${WRKSRC}/q2ded ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-ded -.endif -.if ${PORT_OPTIONS:MGAME} - ${INSTALL_PROGRAM} ${WRKSRC}/baseq2/game.so ${STAGEDIR}${LIBDIR}/baseq2 -.endif - -.include <bsd.port.mk> diff --git a/games/sdlquake2/distinfo b/games/sdlquake2/distinfo deleted file mode 100644 index 9fa7ce2dbb06..000000000000 --- a/games/sdlquake2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (sdlquake2-0.1.4.tar.bz2) = 5e44652f474236f8d94257c17132f68af6e70437df891856892e594572dfea73 -SIZE (sdlquake2-0.1.4.tar.bz2) = 581563 diff --git a/games/sdlquake2/files/patch-Makefile b/games/sdlquake2/files/patch-Makefile deleted file mode 100644 index 202e3e56667d..000000000000 --- a/games/sdlquake2/files/patch-Makefile +++ /dev/null @@ -1,59 +0,0 @@ ---- Makefile.orig Thu May 19 17:56:13 2005 -+++ Makefile Sat Jul 22 16:05:33 2006 -@@ -1,9 +1,34 @@ --CC:=gcc --CFLAGS:=-O3 -ffast-math -march=athlon-xp -g -Wall $(shell sdl-config --cflags) -+CC?=gcc -+SDL_CONFIG?=sdl-config -+LOCALBASE?=/usr/local -+LOCALBASE?=/usr/X11R6 -+CFLAGS+=-O3 -ffast-math -DDATADIR='"$(Q2DIR)"' -DLIBDIR='"$(LIBDIR)"' $(shell $(SDL_CONFIG) --cflags) -I$(LOCALBASE)/include -+ -+LIBS=-lm -lz -+ -+ifeq ($(shell uname),Linux) -+LIBS+=-ldl -+endif -+ -+ifeq ($(shell uname),FreeBSD) -+LIBS+=-L$(LOCALBASE)/lib -lexecinfo -+endif - - GAMES:=baseq2 - --TARGETS:=quake2 q2ded ref_sdlgl.so $(foreach game, $(GAMES), $(game)/game.so) -+TARGETS:= -+ -+ifeq ($(strip $(BUILD_CLIENT)),YES) -+TARGETS+=quake2 ref_sdlgl.so -+endif -+ -+ifeq ($(strip $(BUILD_DEDICATED)),YES) -+TARGETS+=q2ded -+endif -+ -+ifeq ($(strip $(BUILD_GAME)),YES) -+TARGETS+=$(foreach game, $(GAMES), $(game)/game.so) -+endif - - .PHONY: default all clean distclean - -@@ -43,15 +68,14 @@ - @sed "s@^\(.*\)\.o:@$(dir $*)\1.o:@" < .depends/$*.d > .depends/$*.d.new - @mv .depends/$*.d.new .depends/$*.d - -- - quake2: $(quake2_OBJ) -- $(CC) -g -o $@ $(shell sdl-config --libs) -lz -ldl $^ -+ $(CC) -g -o $@ $(shell $(SDL_CONFIG) --libs) $(LIBS) $^ - - q2ded: $(q2ded_OBJ) -- $(CC) -g -o $@ $^ -lz -ldl -+ $(CC) -g -o $@ $^ $(LIBS) - - ref_sdlgl.so: $(sdlgl_OBJ) -- $(CC) -shared -g -o $@ $(shell sdl-config --libs) -lGL -ljpeg -lpng12 $^ -+ $(CC) -shared -g -o $@ $(shell $(SDL_CONFIG) --libs) -L$(LOCALBASE)/lib -lGL -ljpeg -lpng $^ - - ALLOBJ:=$(quake2_OBJ) $(sdlgl_OBJ) - diff --git a/games/sdlquake2/files/patch-baseq2__g_items.c b/games/sdlquake2/files/patch-baseq2__g_items.c deleted file mode 100644 index 6be4d536fa3b..000000000000 --- a/games/sdlquake2/files/patch-baseq2__g_items.c +++ /dev/null @@ -1,15 +0,0 @@ ---- baseq2/g_items.c.orig Thu May 19 17:56:13 2005 -+++ baseq2/g_items.c Thu Mar 22 00:22:37 2007 -@@ -40,9 +40,9 @@ - gitem_armor_t combatarmor_info = { 50, 100, .60, .30, ARMOR_COMBAT}; - gitem_armor_t bodyarmor_info = {100, 200, .80, .60, ARMOR_BODY}; - --static int jacket_armor_index; --static int combat_armor_index; --static int body_armor_index; -+int jacket_armor_index; -+int combat_armor_index; -+int body_armor_index; - static int power_screen_index; - static int power_shield_index; - diff --git a/games/sdlquake2/files/patch-cl_main.c b/games/sdlquake2/files/patch-cl_main.c deleted file mode 100644 index a9d4a77842a0..000000000000 --- a/games/sdlquake2/files/patch-cl_main.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./cl_main.c.orig Thu May 19 17:56:13 2005 -+++ ./cl_main.c Sun Feb 26 11:23:56 2006 -@@ -3657,7 +3657,7 @@ - Cbuf_Execute (); - - Con_Init (); --#if defined __linux__ || defined __sgi -+#if defined __linux__ || defined __sgi || defined __FreeBSD__ - S_Init (true); - - VID_Init (); diff --git a/games/sdlquake2/files/patch-files.c b/games/sdlquake2/files/patch-files.c deleted file mode 100644 index 2962d7defe86..000000000000 --- a/games/sdlquake2/files/patch-files.c +++ /dev/null @@ -1,53 +0,0 @@ ---- files.c.orig Thu May 19 17:56:13 2005 -+++ files.c Thu Jul 27 17:26:46 2006 -@@ -233,7 +233,7 @@ - #ifdef MAGIC_BTREE - rb = rbinit (_compare, 1); - #else --#ifdef LINUX -+#if defined(__linux__) || defined(__FreeBSD__) - rb = rbinit ((int (*)(const void *, const void *))strcmp, 0); - #else - rb = rbinit ((int (*)(const void *, const void *))Q_stricmp, 0); -@@ -1157,6 +1157,8 @@ - { - Com_sprintf (fs_gamedir, sizeof(fs_gamedir), "%s/%s", fs_basedir->string, dir); - Cvar_FullSet ("gamedir", dir, CVAR_SERVERINFO|CVAR_NOSET); -+ FS_AddGameDirectory (va("%s/%s", DATADIR, dir)); -+ FS_AddGameDirectory (va("%s/%s", LIBDIR, dir)); - FS_AddGameDirectory (va("%s/%s", fs_basedir->string, dir) ); - } - } -@@ -1383,6 +1385,9 @@ - */ - void FS_InitFilesystem (void) - { -+ char *home; -+ char homedir[MAX_OSPATH]; -+ - current_filename = "unknown"; - - Cmd_AddCommand ("path", FS_Path_f); -@@ -1412,6 +1417,8 @@ - // - // start up with baseq2 by default - // -+ FS_AddGameDirectory (va("%s/"BASEDIRNAME, DATADIR)); -+ FS_AddGameDirectory (va("%s/"BASEDIRNAME, LIBDIR)); - FS_AddGameDirectory (va("%s/"BASEDIRNAME, fs_basedir->string) ); - - // any set gamedirs will be freed up to here -@@ -1421,4 +1428,13 @@ - fs_gamedirvar = Cvar_Get ("game", "", CVAR_LATCH|CVAR_SERVERINFO); - if (fs_gamedirvar->string[0]) - FS_SetGamedir (fs_gamedirvar->string); -+ -+ if ((home = getenv("HOME")) != NULL) { -+ strncpy(homedir, home, sizeof(homedir)-1); -+ strncat(homedir, "/.sdlquake2/", sizeof(homedir)-strlen(homedir)-1); -+ Sys_Mkdir(homedir); -+ strncat(homedir, fs_gamedirvar->string[0] ? fs_gamedirvar->string : BASEDIRNAME, sizeof(homedir)-strlen(homedir)-1); -+ Sys_Mkdir(homedir); -+ FS_AddGameDirectory(homedir); -+ } - } diff --git a/games/sdlquake2/files/patch-gl_image.c b/games/sdlquake2/files/patch-gl_image.c deleted file mode 100644 index 82d14970163f..000000000000 --- a/games/sdlquake2/files/patch-gl_image.c +++ /dev/null @@ -1,113 +0,0 @@ ---- gl_image.c.orig 2005-05-19 20:56:13 UTC -+++ gl_image.c -@@ -555,7 +555,7 @@ typedef struct { - size_t Pos; - } TPngFileBuffer; - --void __cdecl PngReadFunc(png_struct *Png, png_bytep buf, png_size_t size) -+void PngReadFunc(png_struct *Png, png_bytep buf, png_size_t size) - { - TPngFileBuffer *PngFileBuffer=(TPngFileBuffer*)png_get_io_ptr(Png); - memcpy(buf,PngFileBuffer->Buffer+PngFileBuffer->Pos,size); -@@ -621,7 +621,7 @@ void LoadPNG (const char *name, byte **p - - png_read_info(png_ptr, info_ptr); - -- if (info_ptr->height > MAX_TEXTURE_DIMENSIONS) -+ if (png_get_image_height(png_ptr, info_ptr) > MAX_TEXTURE_DIMENSIONS) - { - png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); - ri.FS_FreeFile (PngFileBuffer.Buffer); -@@ -629,28 +629,28 @@ void LoadPNG (const char *name, byte **p - return; - } - -- if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE) -+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_PALETTE) - { - png_set_palette_to_rgb (png_ptr); - png_set_filler(png_ptr, 0xFF, PNG_FILLER_AFTER); - } - -- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB) -+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_RGB) - png_set_filler(png_ptr, 0xFF, PNG_FILLER_AFTER); - -- if ((info_ptr->color_type == PNG_COLOR_TYPE_GRAY) && info_ptr->bit_depth < 8) -+ if ((png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY) && png_get_bit_depth(png_ptr, info_ptr) < 8) - png_set_gray_1_2_4_to_8(png_ptr); - - if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) - png_set_tRNS_to_alpha(png_ptr); - -- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY || info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) -+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY || png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY_ALPHA) - png_set_gray_to_rgb(png_ptr); - -- if (info_ptr->bit_depth == 16) -+ if (png_get_bit_depth(png_ptr, info_ptr) == 16) - png_set_strip_16(png_ptr); - -- if (info_ptr->bit_depth < 8) -+ if (png_get_bit_depth(png_ptr, info_ptr) < 8) - png_set_packing(png_ptr); - - if (png_get_gAMA(png_ptr, info_ptr, &file_gamma)) -@@ -660,15 +660,15 @@ void LoadPNG (const char *name, byte **p - - rowbytes = png_get_rowbytes(png_ptr, info_ptr); - -- *pic = malloc (info_ptr->height * rowbytes); -+ *pic = malloc (png_get_image_height(png_ptr, info_ptr) * rowbytes); - -- for (i = 0; i < info_ptr->height; i++) -+ for (i = 0; i < png_get_image_height(png_ptr, info_ptr); i++) - row_pointers[i] = *pic + i*rowbytes; - - png_read_image(png_ptr, row_pointers); - -- *width = info_ptr->width; -- *height = info_ptr->height; -+ *width = png_get_image_width(png_ptr, info_ptr); -+ *height = png_get_image_height(png_ptr, info_ptr); - - png_read_end(png_ptr, end_info); - png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); -@@ -1007,24 +1007,24 @@ NiceAss: Code from Q2Ice - ================================================================= - */ - --void __cdecl jpg_null(j_decompress_ptr cinfo) -+void jpg_null(j_decompress_ptr cinfo) - { - } - --unsigned char __cdecl jpg_fill_input_buffer(j_decompress_ptr cinfo) -+unsigned char jpg_fill_input_buffer(j_decompress_ptr cinfo) - { - ri.Con_Printf(PRINT_ALL, "Premature end of JPEG data\n"); - return 1; - } - --void __cdecl jpg_skip_input_data(j_decompress_ptr cinfo, long num_bytes) -+void jpg_skip_input_data(j_decompress_ptr cinfo, long num_bytes) - { - - cinfo->src->next_input_byte += (size_t) num_bytes; - cinfo->src->bytes_in_buffer -= (size_t) num_bytes; - } - --void jpeg_mem_src(j_decompress_ptr cinfo, byte *mem, int len) -+void local_jpeg_mem_src(j_decompress_ptr cinfo, byte *mem, int len) - { - cinfo->src = (struct jpeg_source_mgr *)(*cinfo->mem->alloc_small)((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof(struct jpeg_source_mgr)); - cinfo->src->init_source = jpg_null; -@@ -1065,7 +1065,7 @@ void LoadJPG (const char *filename, byte - - cinfo.err = jpeg_std_error(&jerr); - jpeg_create_decompress(&cinfo); -- jpeg_mem_src(&cinfo, rawdata, rawsize); -+ local_jpeg_mem_src(&cinfo, rawdata, rawsize); - jpeg_read_header(&cinfo, true); - jpeg_start_decompress(&cinfo); - diff --git a/games/sdlquake2/files/patch-gl_local.h b/games/sdlquake2/files/patch-gl_local.h deleted file mode 100644 index 867c4838b610..000000000000 --- a/games/sdlquake2/files/patch-gl_local.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ./gl_local.h.orig Thu May 19 17:56:13 2005 -+++ ./gl_local.h Sun Feb 26 11:23:56 2006 -@@ -28,7 +28,7 @@ - #include <GL/glu.h> - #include <math.h> - --#ifndef __linux__ -+#if !defined(__linux__) && !defined(__FreeBSD__) - #ifndef GL_COLOR_INDEX8_EXT - #define GL_COLOR_INDEX8_EXT GL_COLOR_INDEX - #endif diff --git a/games/sdlquake2/files/patch-gl_rmain.c b/games/sdlquake2/files/patch-gl_rmain.c deleted file mode 100644 index dda7bfdcee6a..000000000000 --- a/games/sdlquake2/files/patch-gl_rmain.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./gl_rmain.c.orig Thu May 19 17:56:13 2005 -+++ ./gl_rmain.c Sun Feb 26 11:23:56 2006 -@@ -1450,7 +1450,7 @@ - ri.Cvar_Set( "scr_drawall", "0" ); - } - --#ifdef __linux__ -+#if defined(__linux__) || defined(__FreeBSD__) - ri.Cvar_SetValue( "gl_finish", 0 ); - #endif - diff --git a/games/sdlquake2/files/patch-gl_sdl.c b/games/sdlquake2/files/patch-gl_sdl.c deleted file mode 100644 index 60adc619d88a..000000000000 --- a/games/sdlquake2/files/patch-gl_sdl.c +++ /dev/null @@ -1,29 +0,0 @@ ---- gl_sdl.c.orig Thu May 19 17:56:13 2005 -+++ gl_sdl.c Thu Mar 22 00:20:55 2007 -@@ -108,12 +108,12 @@ - // state struct passed in Init - static in_state_t *in_state; - --static cvar_t *sensitivity; -+cvar_t *sensitivity; - static cvar_t *my_lookstrafe; --static cvar_t *m_side; --static cvar_t *m_yaw; --static cvar_t *m_pitch; --static cvar_t *m_forward; -+cvar_t *m_side; -+cvar_t *m_yaw; -+cvar_t *m_pitch; -+cvar_t *m_forward; - static cvar_t *my_freelook; - - #ifdef HAVE_JOYSTICK -@@ -321,7 +321,7 @@ - #endif - } - --static void IN_DeactivateMouse( void ) -+void IN_DeactivateMouse( void ) - { - if (!mouse_avail) - return; diff --git a/games/sdlquake2/files/patch-menu.c b/games/sdlquake2/files/patch-menu.c deleted file mode 100644 index c9ec4a80dcda..000000000000 --- a/games/sdlquake2/files/patch-menu.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./menu.c.orig Thu May 19 17:56:13 2005 -+++ ./menu.c Sun Feb 26 11:23:56 2006 -@@ -587,6 +587,7 @@ - { - {"+attack", "attack"}, - {"weapnext", "next weapon"}, -+{"weapprev", "previous weapon"}, - {"+forward", "walk forward"}, - {"+back", "backpedal"}, - {"+left", "turn left"}, diff --git a/games/sdlquake2/files/patch-q_shared.h b/games/sdlquake2/files/patch-q_shared.h deleted file mode 100644 index b201a7727e94..000000000000 --- a/games/sdlquake2/files/patch-q_shared.h +++ /dev/null @@ -1,19 +0,0 @@ ---- ./q_shared.h.orig Thu May 19 17:56:13 2005 -+++ ./q_shared.h Sun Feb 26 11:25:24 2006 -@@ -97,7 +97,16 @@ - typedef unsigned __int16 uint16; - typedef unsigned __int64 uint64; - #else /* NON-WIN32 */ -+#ifdef __FreeBSD__ -+#include <sys/param.h> -+#if __FreeBSD_version < 500000 -+#include <inttypes.h> -+#else - #include <stdint.h> -+#endif -+#else -+#include <stdint.h> -+#endif - typedef int32_t int32; - typedef int16_t int16; - typedef int64_t int64; diff --git a/games/sdlquake2/files/patch-q_shlinux.c b/games/sdlquake2/files/patch-q_shlinux.c deleted file mode 100644 index 8e371636f9b3..000000000000 --- a/games/sdlquake2/files/patch-q_shlinux.c +++ /dev/null @@ -1,48 +0,0 @@ ---- ./q_shlinux.c.orig Thu May 19 17:56:13 2005 -+++ ./q_shlinux.c Sun Feb 26 11:23:56 2006 -@@ -12,6 +12,10 @@ - - #include "qcommon.h" - -+#ifdef __FreeBSD__ -+#include <machine/param.h> -+#endif -+ - //=============================================================================== - - byte *membase; -@@ -54,14 +58,32 @@ - - int Hunk_End (void) - { --#ifndef __FreeBSD__ - byte *n; - -+#ifdef __FreeBSD__ -+ size_t old_size = maxhunksize; -+ size_t new_size = curhunksize + sizeof(int); -+ void * unmap_base; -+ size_t unmap_len; -+ -+ new_size = round_page(new_size); -+ old_size = round_page(old_size); -+ -+ if (new_size > old_size) -+ n = 0; /* error */ -+ else if (new_size < old_size) -+ { -+ unmap_base = (caddr_t)(membase + new_size); -+ unmap_len = old_size - new_size; -+ n = munmap(unmap_base, unmap_len) + membase; -+ } -+#endif -+#ifdef __linux__ - n = mremap(membase, maxhunksize, curhunksize + sizeof(int), 0); -+#endif - if (n != membase) - Sys_Error("Hunk_End: Could not remap virtual block (%d)", errno); - *((int *)membase) = curhunksize + sizeof(int); --#endif - - return curhunksize; - } diff --git a/games/sdlquake2/files/patch-qgl.h b/games/sdlquake2/files/patch-qgl.h deleted file mode 100644 index 2e3950a52437..000000000000 --- a/games/sdlquake2/files/patch-qgl.h +++ /dev/null @@ -1,20 +0,0 @@ ---- ./qgl.h.orig Thu May 19 17:56:13 2005 -+++ ./qgl.h Sun Feb 26 11:23:56 2006 -@@ -31,7 +31,7 @@ - #include <GL/gl.h> - #include "glext.h" - --#ifdef __linux__ -+#if defined(__linux__) || defined(__FreeBSD__) - //#include <GL/fxmesa.h> - #include <GL/glx.h> - #endif -@@ -436,7 +436,7 @@ - - #endif - --#ifdef __linux__ -+#if defined(__linux__) || defined(__FreeBSD__) - - // local function in dll - extern void *qwglGetProcAddress(char *symbol); diff --git a/games/sdlquake2/files/patch-snd_mix.c b/games/sdlquake2/files/patch-snd_mix.c deleted file mode 100644 index 822506d6124a..000000000000 --- a/games/sdlquake2/files/patch-snd_mix.c +++ /dev/null @@ -1,22 +0,0 @@ ---- ./snd_mix.c.orig Thu May 19 17:56:13 2005 -+++ ./snd_mix.c Sun Feb 26 11:23:56 2006 -@@ -168,8 +168,8 @@ - =============================================================================== - */ - --void __cdecl S_PaintChannelFrom8 (channel_t *ch, sfxcache_t *sc, int endtime, int offset); --void __cdecl S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int endtime, int offset); -+void S_PaintChannelFrom8 (channel_t *ch, sfxcache_t *sc, int endtime, int offset); -+void S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int endtime, int offset); - - void S_PaintChannels(int endtime) - { -@@ -349,7 +349,7 @@ - } - - --void __cdecl S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int count, int offset) -+void S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int count, int offset) - { - int data; - int left, right; diff --git a/games/sdlquake2/files/patch-snd_openal.h b/games/sdlquake2/files/patch-snd_openal.h deleted file mode 100644 index 0271067c2a63..000000000000 --- a/games/sdlquake2/files/patch-snd_openal.h +++ /dev/null @@ -1,23 +0,0 @@ ---- ./snd_openal.h.orig Thu May 19 17:56:13 2005 -+++ ./snd_openal.h Sun Feb 26 11:23:56 2006 -@@ -18,7 +18,7 @@ - #ifdef _WIN32 - #include "alw_win.h" - #endif --#ifdef __linux__ -+#if defined(__linux__) || defined(__FreeBSD__) - #include "al_linux.h" - #endif - #endif -@@ -162,9 +162,9 @@ - #define ALimp_Shutdown ALW_Shutdown - - #else --#ifdef __linux__ -+#if defined(__linux__) || defined(__FreeBSD__) - --#define AL_DRIVER_OPENAL "/usr/lib/libopenal.so" -+#define AL_DRIVER_OPENAL "libopenal.so" - - #define ALimp_Init AL_Init - #define ALimp_Shutdown AL_Shutdown diff --git a/games/sdlquake2/files/patch-sv_ccmds.c b/games/sdlquake2/files/patch-sv_ccmds.c deleted file mode 100644 index be8d43f2f079..000000000000 --- a/games/sdlquake2/files/patch-sv_ccmds.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./sv_ccmds.c.orig Thu May 19 17:56:13 2005 -+++ ./sv_ccmds.c Sun Feb 26 11:23:56 2006 -@@ -589,7 +589,8 @@ - SV_Map (false, Cmd_Argv(1), false ); - - // archive server state -- strncpy (svs.mapcmd, Cmd_Argv(1), sizeof(svs.mapcmd)-1); -+ if (Cmd_Argv(1)[0] != '\0') -+ strncpy (svs.mapcmd, Cmd_Argv(1), sizeof(svs.mapcmd)-1); - - // copy off the level to the autosave slot - if (!dedicated->intvalue && !Cvar_IntValue ("deathmatch")) diff --git a/games/sdlquake2/files/patch-sv_user.c b/games/sdlquake2/files/patch-sv_user.c deleted file mode 100644 index 2d71d225b4ae..000000000000 --- a/games/sdlquake2/files/patch-sv_user.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./sv_user.c.orig Thu May 19 17:56:13 2005 -+++ ./sv_user.c Sun Feb 26 11:23:56 2006 -@@ -1183,7 +1183,7 @@ - sv_client->downloadsize = FS_LoadFile (name, NULL); - - //adjust case and re-try --#ifdef LINUX -+#if defined(__linux__) || defined(__FreeBSD__) - if (sv_client->downloadsize == -1) - { - Q_strlwr (name); diff --git a/games/sdlquake2/files/patch-sys_linux.c b/games/sdlquake2/files/patch-sys_linux.c deleted file mode 100644 index 6a77ae750b4b..000000000000 --- a/games/sdlquake2/files/patch-sys_linux.c +++ /dev/null @@ -1,29 +0,0 @@ ---- ./sys_linux.c.orig Thu May 19 17:56:13 2005 -+++ ./sys_linux.c Sun Feb 26 11:23:56 2006 -@@ -230,7 +230,7 @@ - - size = backtrace (array, sizeof(array)/sizeof(void*)); - --#ifndef __x86_64__ -+#if !defined(__x86_64__) && !defined(__FreeBSD__) - array[1] = (void *) uc->uc_mcontext.gregs[REG_EIP]; - #endif - -@@ -423,7 +423,7 @@ - - if (baseq2) - { -- Com_sprintf (name, sizeof(name), "%s/%s/%s", curpath, BASEDIRNAME, gamename); -+ Com_sprintf (name, sizeof(name), "%s/%s/%s", LIBDIR, BASEDIRNAME, gamename); - game_library = dlopen (name, RTLD_NOW ); - } - else -@@ -435,7 +435,7 @@ - path = FS_NextPath (path); - if (!path) - return NULL; // couldn't find one anywhere -- Com_sprintf (name, sizeof(name), "%s/%s/%s", curpath, path, gamename); -+ Com_sprintf (name, sizeof(name), "%s/%s", path, gamename); - game_library = dlopen (name, RTLD_NOW ); - if (game_library) - { diff --git a/games/sdlquake2/files/patch-vid_so.c b/games/sdlquake2/files/patch-vid_so.c deleted file mode 100644 index c29feb7457ec..000000000000 --- a/games/sdlquake2/files/patch-vid_so.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./vid_so.c.orig Thu May 19 17:56:13 2005 -+++ ./vid_so.c Sun Feb 26 11:23:56 2006 -@@ -225,7 +225,7 @@ - fn[strlen(fn) - 1] = 0; - */ - -- strcpy (fn, "."); -+ strcpy (fn, LIBDIR); - strcat(fn, "/"); - strcat(fn, name); - diff --git a/games/sdlquake2/pkg-descr b/games/sdlquake2/pkg-descr deleted file mode 100644 index caad73638446..000000000000 --- a/games/sdlquake2/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Basically this is a combination of R1Q2 and R1GL with SDL code from -Quake2Forge. Meaning it's R1Q2 protocol 35 compatible Linux client. Tested on -Debian Sarge. Both client and dedicated server. - -WWW: http://koti.mbnet.fi/~turol/sdlquake2/ diff --git a/games/sdlquake2/pkg-message b/games/sdlquake2/pkg-message deleted file mode 100644 index 39a19cb4e9d5..000000000000 --- a/games/sdlquake2/pkg-message +++ /dev/null @@ -1,13 +0,0 @@ -============================================================================== - -SDLQuake2 has been installed. - -The binaries have been renamed to "sdlquake2" and "sdlquake2-ded" to avoid -conflicting with the "games/quake2lnx" port. - -The configuration will be written to the "~/.sdlquake2" directory. - -The gamma can not be adjusted from the game. You can use "xgamma" to change it -before running it, and restore it later. - -============================================================================== diff --git a/games/sdlquake2/pkg-plist b/games/sdlquake2/pkg-plist deleted file mode 100644 index 344458040052..000000000000 --- a/games/sdlquake2/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -%%CLIENT%%bin/sdlquake2 -%%DEDICATED%%bin/sdlquake2-ded -%%GAME%%lib/sdlquake2/baseq2/game.so -%%CLIENT%%lib/sdlquake2/ref_sdlgl.so -@dir lib/sdlquake2/baseq2 -@dir lib/sdlquake2 |