Index: head/games/Makefile =================================================================== --- head/games/Makefile (revision 141656) +++ head/games/Makefile (revision 141657) @@ -1,719 +1,720 @@ # $FreeBSD$ # COMMENT = Games SUBDIR += 0verkill SUBDIR += 3dc SUBDIR += 3dpong SUBDIR += 44bsd-hunt SUBDIR += 4stattack SUBDIR += 54321 SUBDIR += BillardGL SUBDIR += CaribbeanStud SUBDIR += HeroesOfMightAndMagic SUBDIR += KnightCap SUBDIR += abe SUBDIR += abridge SUBDIR += abuse SUBDIR += abuse_sdl SUBDIR += acm SUBDIR += actx SUBDIR += adgali SUBDIR += adom SUBDIR += adonthell SUBDIR += affenspiel SUBDIR += afternoonstalker SUBDIR += airrox SUBDIR += alephone SUBDIR += alephone-data SUBDIR += alienblaster SUBDIR += alienwave SUBDIR += amphetamine SUBDIR += amy SUBDIR += an SUBDIR += anagramarama SUBDIR += angband SUBDIR += antipolix SUBDIR += aop + SUBDIR += apoolGL SUBDIR += asc SUBDIR += atitd SUBDIR += atlantikdesigner SUBDIR += atomix SUBDIR += atr3d SUBDIR += atris SUBDIR += atris-sounds SUBDIR += awele SUBDIR += barrage SUBDIR += bass SUBDIR += bastet SUBDIR += battalion SUBDIR += battleball SUBDIR += biorythm SUBDIR += blackjack SUBDIR += blobwars SUBDIR += block SUBDIR += blockade SUBDIR += blue SUBDIR += bogged SUBDIR += bomb SUBDIR += bomberclone SUBDIR += bomberinstinct SUBDIR += bombermaze SUBDIR += bomns SUBDIR += braincurses SUBDIR += briquolo SUBDIR += bs SUBDIR += bsdtris SUBDIR += bsp SUBDIR += bubbros SUBDIR += bugsquish SUBDIR += bugsx SUBDIR += burgerspace SUBDIR += bygfoot SUBDIR += bzflag SUBDIR += cake SUBDIR += cardpics SUBDIR += cgoban SUBDIR += cgoban2 SUBDIR += childsplay SUBDIR += childsplay_plugins SUBDIR += chromium SUBDIR += circuslinux SUBDIR += civ2demo SUBDIR += clanbomber SUBDIR += columns SUBDIR += connect4 SUBDIR += conquest SUBDIR += corewars SUBDIR += cosmo SUBDIR += cowsay SUBDIR += crack-attack SUBDIR += crafty SUBDIR += crafty-open-large SUBDIR += crafty-open-medium SUBDIR += crimson SUBDIR += criticalmass SUBDIR += crossfire-client SUBDIR += crossfire-server SUBDIR += crossword SUBDIR += cryptoslam SUBDIR += csmash SUBDIR += ctetris SUBDIR += cube SUBDIR += cursive SUBDIR += d2x SUBDIR += daimonin-client SUBDIR += deal SUBDIR += defendguin SUBDIR += deng SUBDIR += digger-vgl SUBDIR += dmjava SUBDIR += dodgindiamond2 SUBDIR += dontspace SUBDIR += doom SUBDIR += doomlegacy SUBDIR += dopewars SUBDIR += drm SUBDIR += dsnake SUBDIR += duke3d SUBDIR += dungeon SUBDIR += dungeoncrawl SUBDIR += easysok SUBDIR += eboard SUBDIR += editss SUBDIR += egoboo SUBDIR += eif SUBDIR += eights SUBDIR += einstein SUBDIR += el SUBDIR += emacs-chess SUBDIR += empire SUBDIR += enigma SUBDIR += euchre SUBDIR += evilfinder SUBDIR += exmars SUBDIR += exult SUBDIR += falconseye SUBDIR += farblazer SUBDIR += fargoal SUBDIR += fgfs-base SUBDIR += fgkicker SUBDIR += filters SUBDIR += fkiss SUBDIR += flightgear SUBDIR += flying SUBDIR += fmars SUBDIR += foobillard SUBDIR += fotaq SUBDIR += frabs SUBDIR += freebooters SUBDIR += freebsd-games SUBDIR += freecell-solver SUBDIR += freeciv SUBDIR += freeciv-gtk SUBDIR += freeciv-gtk2 SUBDIR += freedoko SUBDIR += freedroid SUBDIR += freedroidrpg SUBDIR += freesci SUBDIR += freesweep SUBDIR += frikqcc SUBDIR += frotz SUBDIR += frozenbubble SUBDIR += fuhquake SUBDIR += galaxis SUBDIR += garith SUBDIR += gbottler SUBDIR += gcompris2 SUBDIR += gemdropx SUBDIR += ggz-client-libs SUBDIR += ggz-txt-client SUBDIR += gl-117 SUBDIR += glasteroids SUBDIR += glbsp SUBDIR += glchess SUBDIR += gleyes SUBDIR += glife SUBDIR += glmaze SUBDIR += glob2 SUBDIR += gltron SUBDIR += gma SUBDIR += gnarr SUBDIR += gniffel SUBDIR += gnmm SUBDIR += gno3dtet SUBDIR += gnome-music-quiz SUBDIR += gnomeattacks SUBDIR += gnomebreakout SUBDIR += gnomechess SUBDIR += gnomegames2 SUBDIR += gnomegames2-extra-data SUBDIR += gnomekiss SUBDIR += gnomememoryblocks SUBDIR += gnomermind SUBDIR += gnubg SUBDIR += gnuchess SUBDIR += gnugo SUBDIR += gnurobots SUBDIR += gnushogi SUBDIR += golddig SUBDIR += gomoku.app SUBDIR += gracer SUBDIR += grande SUBDIR += greed SUBDIR += gretools SUBDIR += grhino SUBDIR += groundhog SUBDIR += gru SUBDIR += grubinvaders SUBDIR += gshisen SUBDIR += gtetrinet SUBDIR += gtkabale SUBDIR += gtkatlantic SUBDIR += gtkballs SUBDIR += gtklife SUBDIR += gtkpool SUBDIR += gtktetcolor SUBDIR += gturing SUBDIR += gtypist SUBDIR += gweled SUBDIR += halflifeserver SUBDIR += hattrickorganizer SUBDIR += heretic SUBDIR += heroes SUBDIR += hex SUBDIR += highmoon SUBDIR += hlserver-action SUBDIR += hlserver-admin SUBDIR += hlserver-cs SUBDIR += hlserver-dod SUBDIR += hlserver-esf SUBDIR += hlserver-existence SUBDIR += hlserver-fa SUBDIR += hlserver-flf SUBDIR += hlserver-glbwar SUBDIR += hlserver-heroes SUBDIR += hlserver-ns SUBDIR += hlserver-opera SUBDIR += hlserver-opfor SUBDIR += hlserver-psychostats SUBDIR += hlserver-si SUBDIR += hlserver-ts SUBDIR += hlserver-tsc SUBDIR += hlserver-vs SUBDIR += hlserver-wasteland SUBDIR += hlserver-wizwars SUBDIR += hlstats SUBDIR += hohlin SUBDIR += icbm3d SUBDIR += icebreaker SUBDIR += ifm SUBDIR += imaze SUBDIR += inform SUBDIR += ishido SUBDIR += jetpack SUBDIR += jfk SUBDIR += jools SUBDIR += jtans SUBDIR += jumpnbump SUBDIR += jzip SUBDIR += kaid SUBDIR += kanatest SUBDIR += kbilliards SUBDIR += kcheckers SUBDIR += kdegames3 SUBDIR += kfreerings SUBDIR += kgeography SUBDIR += klondike SUBDIR += knights SUBDIR += kobodeluxe SUBDIR += koth SUBDIR += kpicframer SUBDIR += kpictorial SUBDIR += kpuzzle SUBDIR += krosswordplayer SUBDIR += kslide SUBDIR += ktritoc SUBDIR += kwappen SUBDIR += kxl SUBDIR += ladder SUBDIR += lbreakout SUBDIR += lbreakout2 SUBDIR += ldmud SUBDIR += lexter SUBDIR += lgeneral SUBDIR += lgeneral-data SUBDIR += libggz SUBDIR += libmaitretarot SUBDIR += libmt_client SUBDIR += libshhcards SUBDIR += lincity SUBDIR += lincity-ng SUBDIR += linux-doom3-demo SUBDIR += linux-enemyterritory SUBDIR += linux-enemyterritory-fortress SUBDIR += linux-enemyterritory-tce SUBDIR += linux-nwnclient SUBDIR += linux-nwserver SUBDIR += linux-q3ademo SUBDIR += linux-spheresofchaos-demo SUBDIR += linux-steam SUBDIR += linux-ut2004-demo SUBDIR += linux-virtual-jay-peak SUBDIR += lm-solve SUBDIR += ltris SUBDIR += lucidlife SUBDIR += macopix SUBDIR += madbomber SUBDIR += maelstrom SUBDIR += magiccube4d SUBDIR += mahjong SUBDIR += maitretarot SUBDIR += mangband SUBDIR += marathon-evil SUBDIR += marathon2-data SUBDIR += marbles SUBDIR += meqcc SUBDIR += merlin SUBDIR += mindfocus SUBDIR += mindguard SUBDIR += mirrormagic SUBDIR += miscom SUBDIR += monkeybubble SUBDIR += monopd SUBDIR += monster-masher SUBDIR += monsterz SUBDIR += moon-buggy SUBDIR += moonlander SUBDIR += moria SUBDIR += mt_dolphin_ia SUBDIR += mt_gtk_client SUBDIR += mvdsv SUBDIR += mythserver SUBDIR += nInvaders SUBDIR += nadar SUBDIR += nethack32 SUBDIR += nethack33 SUBDIR += nethack33-gnome SUBDIR += nethack33-nox11 SUBDIR += nethack34 SUBDIR += nethack34-gnome SUBDIR += nethack34-nox11 SUBDIR += nethack34-qt SUBDIR += netpanzer SUBDIR += netpanzer-data SUBDIR += netrek-BRMH-bin SUBDIR += netrek-COW3-bin SUBDIR += netris SUBDIR += netspades SUBDIR += nettoe SUBDIR += neverball SUBDIR += newvox SUBDIR += nexuiz SUBDIR += nibbles SUBDIR += nighthawk SUBDIR += nil SUBDIR += ninix-aya SUBDIR += njam SUBDIR += noegnud-addons SUBDIR += noegnud-data SUBDIR += noegnud-littlehack SUBDIR += noegnud-nethack SUBDIR += noegnud-nethack-deet SUBDIR += noegnud-slashem SUBDIR += nonsense SUBDIR += nwndata SUBDIR += nwnusers SUBDIR += oilwar SUBDIR += omega SUBDIR += oneko SUBDIR += oneko-sakura SUBDIR += oonsoo SUBDIR += openglad SUBDIR += openmortal SUBDIR += openttd SUBDIR += orbital_eunuchs_sniper SUBDIR += p5-Games-AlphaBeta SUBDIR += p5-Games-Bingo SUBDIR += p5-Games-Bingo-Bot SUBDIR += p5-Games-Bingo-Print SUBDIR += p5-Games-Dice SUBDIR += p5-Games-Sequential SUBDIR += pathological SUBDIR += pcgen SUBDIR += pengpong SUBDIR += penguin-command SUBDIR += pentix SUBDIR += phalanx SUBDIR += phpua-bf SUBDIR += phpua-cod SUBDIR += phpua-engine SUBDIR += phpua-hl SUBDIR += phpua-q3 SUBDIR += phpua-ut SUBDIR += phpua-ut2003 SUBDIR += pinball SUBDIR += pioneers SUBDIR += pipenightdreams SUBDIR += pmars SUBDIR += pmars-doc SUBDIR += pmars-sdl SUBDIR += polypuzzle SUBDIR += powermanga SUBDIR += powerpak SUBDIR += powwow SUBDIR += pp SUBDIR += ppracer SUBDIR += prboom SUBDIR += ptkei SUBDIR += pvpgn SUBDIR += py-sgflib SUBDIR += py-sgfsummary SUBDIR += py-ski SUBDIR += pyching SUBDIR += pydance SUBDIR += pykawari SUBDIR += pysol SUBDIR += pysol-cardsets SUBDIR += pysol-music SUBDIR += pythoong SUBDIR += q15 SUBDIR += q3-paks SUBDIR += q3server SUBDIR += q3server-excessive SUBDIR += q3server-freezetag SUBDIR += q3server-osp SUBDIR += q3server-ra3 SUBDIR += q3server-ut SUBDIR += q3server-wfa SUBDIR += qcc SUBDIR += qccx SUBDIR += qgo SUBDIR += qix SUBDIR += qkmj SUBDIR += qnetchess SUBDIR += qnetwalk SUBDIR += qonk SUBDIR += qstat SUBDIR += quake2forge SUBDIR += quake2lnx SUBDIR += quakeforge SUBDIR += quit SUBDIR += qwdtools SUBDIR += race SUBDIR += rfksay SUBDIR += robocode SUBDIR += robotfindskitten SUBDIR += rockdodger SUBDIR += rocksndiamonds SUBDIR += rottdc SUBDIR += rt2-demo SUBDIR += rtb SUBDIR += rtcw SUBDIR += rtcw-paks SUBDIR += rubix SUBDIR += ruby-exmars SUBDIR += sarien SUBDIR += scare SUBDIR += scid SUBDIR += scorched3d SUBDIR += scummvm SUBDIR += scummvm-tools SUBDIR += sdlroids SUBDIR += seabattle SUBDIR += seahaven SUBDIR += senken SUBDIR += senso SUBDIR += sex SUBDIR += shaaft SUBDIR += six SUBDIR += sl SUBDIR += slashem-tty SUBDIR += smacx SUBDIR += smiley SUBDIR += sokoban SUBDIR += sol SUBDIR += solarwolf SUBDIR += sopwith SUBDIR += spacearyarya SUBDIR += spacehulk SUBDIR += speak SUBDIR += spellcast SUBDIR += speyes SUBDIR += spider SUBDIR += ssamtse SUBDIR += ssc SUBDIR += starfighter SUBDIR += starlanes SUBDIR += stratagus SUBDIR += stvef-paks SUBDIR += stvef-server SUBDIR += super_methane_brothers SUBDIR += supertux SUBDIR += sxsame SUBDIR += tads SUBDIR += taipan SUBDIR += tank SUBDIR += taxipilot SUBDIR += tecnoballz SUBDIR += teg SUBDIR += tenebrae SUBDIR += tetrinet SUBDIR += tetrinet-x SUBDIR += textmaze SUBDIR += thevalley SUBDIR += thudboard SUBDIR += tictactoe3d SUBDIR += tileworld SUBDIR += tinymux SUBDIR += tkmoo SUBDIR += tksol SUBDIR += tomatoes SUBDIR += tome SUBDIR += toppler SUBDIR += torcs SUBDIR += tornado SUBDIR += trackballs SUBDIR += tractorgen SUBDIR += traindirector SUBDIR += trigger SUBDIR += trojka SUBDIR += trophy SUBDIR += tsito SUBDIR += tt SUBDIR += ttraffic SUBDIR += ttt SUBDIR += tux-aqfh SUBDIR += tuxkart SUBDIR += tuxmath SUBDIR += tuxpaint SUBDIR += tuxpaint-fonts SUBDIR += tuxpaint-stamps SUBDIR += tuxpuck SUBDIR += tuxracer SUBDIR += tuxracer_golf SUBDIR += tuxtype SUBDIR += tvp SUBDIR += twitch SUBDIR += typespeed SUBDIR += uhexen SUBDIR += umark SUBDIR += uox3 SUBDIR += uqm SUBDIR += urban SUBDIR += urban-sounds SUBDIR += utserver SUBDIR += utserver-to SUBDIR += vamos SUBDIR += vavoom SUBDIR += vectoroids SUBDIR += virt SUBDIR += viruskiller SUBDIR += wanderer SUBDIR += wargus SUBDIR += wesnoth SUBDIR += wmeyes SUBDIR += wmfortune SUBDIR += wmminichess SUBDIR += wmpuzzle SUBDIR += wmqstat SUBDIR += wmquake SUBDIR += wmshuffle SUBDIR += wmtictactoe SUBDIR += wmtimebomb SUBDIR += wolf3d SUBDIR += wolfpack SUBDIR += wordplay SUBDIR += wormux SUBDIR += wtf SUBDIR += x3eyes SUBDIR += xabacus SUBDIR += xarchon SUBDIR += xasteroids SUBDIR += xataxx SUBDIR += xbaby SUBDIR += xbat SUBDIR += xbattle SUBDIR += xbill SUBDIR += xbl SUBDIR += xblackjack SUBDIR += xblast SUBDIR += xblood SUBDIR += xbloody SUBDIR += xboard SUBDIR += xboing SUBDIR += xbomb SUBDIR += xbomber SUBDIR += xbubble SUBDIR += xchadance SUBDIR += xchain SUBDIR += xcheckers SUBDIR += xchomp SUBDIR += xcogitate SUBDIR += xconq SUBDIR += xcubes SUBDIR += xdeblock SUBDIR += xdemineur SUBDIR += xdesktopwaves SUBDIR += xdigger SUBDIR += xdino SUBDIR += xeji SUBDIR += xemeraldia SUBDIR += xevil SUBDIR += xeyesplus SUBDIR += xfce4-toys SUBDIR += xfireworks SUBDIR += xflame SUBDIR += xfrisk SUBDIR += xgalaga SUBDIR += xgame SUBDIR += xgammon SUBDIR += xglk SUBDIR += xgolgo SUBDIR += xgospel SUBDIR += xhexagons SUBDIR += xhime SUBDIR += xinfocom SUBDIR += xinvaders SUBDIR += xinvaders3d SUBDIR += xisola SUBDIR += xjewel SUBDIR += xjig SUBDIR += xjump SUBDIR += xjumpjump SUBDIR += xjumpx SUBDIR += xkobo SUBDIR += xkoules SUBDIR += xlaby SUBDIR += xlife SUBDIR += xlifegame SUBDIR += xlines SUBDIR += xmahjongg SUBDIR += xmastermind SUBDIR += xmball SUBDIR += xmemory SUBDIR += xmille SUBDIR += xmine SUBDIR += xminehunter SUBDIR += xmines SUBDIR += xminesweep SUBDIR += xmj SUBDIR += xmlink SUBDIR += xmris SUBDIR += xmulti SUBDIR += xneko SUBDIR += xnibbles SUBDIR += xoct SUBDIR += xoids SUBDIR += xoj SUBDIR += xonix SUBDIR += xosmulti SUBDIR += xothello SUBDIR += xpacman SUBDIR += xpanex SUBDIR += xpat2 SUBDIR += xpenguins SUBDIR += xphotohunter SUBDIR += xpilot SUBDIR += xpilot-ng-client SUBDIR += xpilot-ng-server SUBDIR += xpilotmon SUBDIR += xpipeman SUBDIR += xpired SUBDIR += xpuyopuyo SUBDIR += xpuzzletama SUBDIR += xpyraminx SUBDIR += xqf SUBDIR += xquarto SUBDIR += xracer SUBDIR += xrally SUBDIR += xrick SUBDIR += xripple SUBDIR += xrisk SUBDIR += xroach SUBDIR += xroads SUBDIR += xrobots SUBDIR += xrot SUBDIR += xrubik SUBDIR += xsc SUBDIR += xscavenger SUBDIR += xscorch SUBDIR += xscrabble SUBDIR += xshipwars-client SUBDIR += xshisen SUBDIR += xshogi SUBDIR += xskat SUBDIR += xskewb SUBDIR += xsok SUBDIR += xsokoban SUBDIR += xsol SUBDIR += xsoldier SUBDIR += xspacewarp SUBDIR += xspringies SUBDIR += xteddy SUBDIR += xtet42 SUBDIR += xtic SUBDIR += xtriangles SUBDIR += xtris SUBDIR += xtrojka SUBDIR += xtron SUBDIR += xtruco SUBDIR += xtux SUBDIR += xvier SUBDIR += xvmahjongg SUBDIR += xvmines SUBDIR += xwelltris SUBDIR += xword SUBDIR += xworm SUBDIR += xzip SUBDIR += yadex SUBDIR += yahtzee SUBDIR += yamsweeper SUBDIR += zangband SUBDIR += zephulor SUBDIR += znibbles SUBDIR += zoom SUBDIR += ztrack .include Property changes on: head/games/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.805 \ No newline at end of property +1.806 \ No newline at end of property Index: head/games/apoolGL/Makefile =================================================================== --- head/games/apoolGL/Makefile (nonexistent) +++ head/games/apoolGL/Makefile (revision 141657) @@ -0,0 +1,47 @@ +# New ports collection makefile for: apoolGL +# Date created: 26 Aug 2005 +# Whom: Igor Pokrovsky +# +# $FreeBSD$ +# + +PORTNAME= apoolGL +PORTVERSION= 0.99.22 +CATEGORIES= games +MASTER_SITES= http://www.planetjahn.de/files/ +DISTNAME= ${PORTNAME}-099-pre22 + +MAINTAINER= ip@doom.homeunix.org +COMMENT= Another billiard simulator + +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_SDL= sdl +USE_GL= yes + +PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features + +post-patch: + @${REINPLACE_CMD} -e "s|`${PRINTF} '\r'`$$||" ${WRKSRC}/ApoolGL.txt + @${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/*.c + +do-build: + ${CC} ${CFLAGS} -DDATADIR="\"${DATADIR}\"" \ + `${SDL_CONFIG} --cflags --libs` \ + -I${X11BASE}/include -L${X11BASE}/lib -lGL -lGLU \ + -o ${WRKSRC}/apool ${WRKSRC}/*.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/apool ${PREFIX}/bin +.for i in hi lo med + ${MKDIR} ${DATADIR}/textures-${i} + ${INSTALL_DATA} ${WRKSRC}/textures-${i}/*.bmp ${DATADIR}/textures-${i} +.endfor + ${INSTALL_DATA} ${WRKSRC}/*.dat ${DATADIR} + +.ifndef (NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif + +.include Property changes on: head/games/apoolGL/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/games/apoolGL/distinfo =================================================================== --- head/games/apoolGL/distinfo (nonexistent) +++ head/games/apoolGL/distinfo (revision 141657) @@ -0,0 +1,2 @@ +MD5 (apoolGL-099-pre22.tar.gz) = 467e953d4c55aafd0e77f2d8981b498b +SIZE (apoolGL-099-pre22.tar.gz) = 2191751 Property changes on: head/games/apoolGL/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/games/apoolGL/files/patch-apool.c =================================================================== --- head/games/apoolGL/files/patch-apool.c (nonexistent) +++ head/games/apoolGL/files/patch-apool.c (revision 141657) @@ -0,0 +1,36 @@ +--- apool.c.orig Fri Aug 12 00:09:34 2005 ++++ apool.c Thu Sep 1 02:23:50 2005 +@@ -27,7 +27,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -103,10 +103,10 @@ + for( i=0;i<2;i++) + { ply[i].stat = ply[i].wait = ply[i].col = ply[i].hole_black = 0; } + first_hit = bande_hit = anstoss = 1; +- if( !(dat = fopen("table.dat","r")) ) ++ if( !(dat = fopen(DATADIR"/table.dat","r")) ) + { + close_graphics(); +- printf("error: can't find the file 'table.dat'. \n"); ++ printf("error: can't find the file '" DATADIR "/table.dat'. \n"); + printf("create this file using 'apool -init 50' ...\n\n"); + exit(0); + } +@@ -427,9 +427,9 @@ + time_t sys_time; + char opt; + opterr=0; /* Keine Fehlermeldung bei "falscher" Option ausgeben */ +- if( !(datei = fopen("konst.dat","r") ) ) ++ if( !(datei = fopen(DATADIR"/konst.dat","r") ) ) + { /* Datei für die (phys.) Konstanten */ +- printf("can't open file 'konst.dat'\n"); ++ printf("can't open file '" DATADIR "/konst.dat'\n"); + exit( 0 ); + } + fscanf(datei,"%lg%*[^\n]%lg%*[^\n]%lg%*[^\n]%lg%*[^\n]%lg%*[^\n]", Property changes on: head/games/apoolGL/files/patch-apool.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/games/apoolGL/files/patch-gl.c =================================================================== --- head/games/apoolGL/files/patch-gl.c (nonexistent) +++ head/games/apoolGL/files/patch-gl.c (revision 141657) @@ -0,0 +1,54 @@ +--- gl.c.orig Sat Aug 13 01:51:49 2005 ++++ gl.c Thu Sep 1 02:19:45 2005 +@@ -40,7 +40,7 @@ + #include + #include + #include "apool.h" +-#include ++#include + #include + + #ifndef M_PI +@@ -452,14 +452,14 @@ + int LoadGLTextures( void ) /* ebenfalls basierend auf einem Nehe Tutorial */ + { /* aber für mehrere Texturen angepasst und erweitert f. Mipmapping, Cube-Textures, usw.*/ + int i; +- char txt[80]; ++ char txt[PATH_MAX]; + SDL_Surface *TextureImage[ANZ_TEXTURES]; + memset(TextureImage,0,sizeof(void *)*ANZ_TEXTURES); + texture = malloc((sizeof(int) * ANZ_TEXTURES)); + + for(i=0;i