Sun Aug 16 21:21:52 2009 UTC ()
Update to 2.2.1.

2009-06-21: Version 2.2.1
 * General:
   * Change: No longer require space between rearm pads, allow dragging pad production with mouse, and droids may drive over inactive rearm pads (r7701, ticket:569)
   * Fix: Various crashes related to failing orders (r7699)
   * Fix: Show translations for finished research display (r7730)
   * Change: Add more information to the crash dump file (r7740, 7745)
   * Fix: Mac users can read in .wz files (r7754)
   * Fix: Experience speed adjustment happens after max speed limit; fix bug with speed calculation. (r7761)
   * Fix: Numerous issues with NTW mod (r7676-7677, r7713-7716)
   * Fix: fix to *never* control the transport in SP games. (really this time!) (r7776, ticket:568)
   * Change: Allow droids to grab artifacts and oil drums from up to 1 tile away (r7779)
   * Change: Bump up MAX_RESEARCH to 500 from 450. (r7774, ticket:599)
   * Fix: Make sure we take xOffset into account, we don't always start at 0 for the FMV text. (r7780, ticket:625)
   * Change: When host drops from the lobby, abort the game. (r7787 ticket:583)
   * Fix: Make sure either parameter isn't below the minimum screen res. that we support. (r7786)
   * Fix: Make sure we take xOffset into account, we don't always start at 0 for the FMV text. (r7780, ticket:625)
   * Fix: Clear the keyboard/mouse input on lost focus correctly. (r7797, ticket:515)
 * AI:
   * Fix: Resolve AI droid traffic jams by clearing orders and make jammed droids stop going for repair (r7700, ticket:597)
 * Campaign:
   * Fix: Flashing box around mission timer was too small, resulting in a graphics glitch. (r7672, ticket:596)
 * Translations:
   * Fix: Italian and Slovakian translations updated (r7769, ticket:621, r7772, ticket:615)
 * Build system:
   * Fix: Various build system issues (r7669, r7664, r7663, r7661, r7655, r7642, r7640)
 * Graphics:
   * Fix: No more ugly texture seams (r7718, r7724, r7757)

2009-05-31: Version 2.2.0
 * General:
   * Fix: Tells user if mod entered on the command line / shorcut is enabled, or is invalid. Output is to stdout or stderr. (r7586)
   * Fix: Launching the game from installer now works (r7568 ticket:364)
   * Fix: Angel missile no longer obsoletes long-range artillery, Ripple Rockets no longer autoupgrades to Archie, and Mortar Fast Loader requires Mortar Rapid Loader Mk3 (r7559, ticket:533, 292, 398)
   * New: Add a new translation:  zh_TW.po  by chtsau (r7561, ticket:239)
   * Change: Allow up to 36 savegame 'slots' (r7535)
   * Change: add 'mod/music' directory to be use for custom music. (r7557)
   * Fix: set the volume of the FMV based on the user's preferences (r7489, ticket:526)
   * Fix: Check if the unit has weapons, before trying to see what weapons they have. (r7488, ticket:523)
   * Change: remove 'autoload' handling.  (r7474)
   * Fix: Fix windows crash dump output (r7473)
   * Fix: Fix handling of limbo & expand missions (r7454)
   * Change: Let players save games with Num-Enter as well as Return - should make it easier on international keyboards (r7412)
   * Change: translation of ru.po by Maxim (r7444, ticket:347)
   * Fix: We now return the truncated string, instead of returning NULL if the string is too long. (r7426, ticket:493)
   * Fix: pl.po file by Makary (r7423, ticket:241)
   * New: Slovenian translation sl.po file by ThomasCarstein (r7422, ticket:392)
   * Fix: pt_BR.po update by Tucalipe (r7421 ticket:350)
   * Fix: Clear out old effects (prevents burning lasting between missions) (r7416)
   * Fix: Don't allow the transporter to be controlled in SP games.  (r7414)
   * Fix: Remember player number and tech level for map selection screen (r7400)
 * Gameplay:
   * Fix: Make AI ignore hostile structures for path-finding when armed. (r7579)
   * Fix: Allow Fog mode to be set based on user preferences for campaign games. (r7597, ticket:561)
   * Fix: Don't allow 2x the experience points in a campaign game, when this is reserved for MP games. (r7598, ticket:562)
 * Graphics:
   * Fix: Fix issue with radar / mini-map. (r7458, ticket:333)
   * Fix: Fix issue with radar / mini-map drawing objects outside its scope. (r7441)
   * Change: Better map previews (patch by Florian Schanda, color scheme by Zarel). (r7434)
 * Network:
   * Change: Increase timeout delay to 2500ms for dial-up modem users. (r7556, ticket:543)

2009-05-10: Version 2.2_rc1
 * General:
   * New: Windows installer has option to download and install videos (enabled by default). (r7328)
   * Change: Windows installer no longer has any license agreements, since they are not EULAs. (r7328)
   * Change: Flash the intel button when we get new intel. (r7317)
   * Fix: Don't count cheated games as multiplayer wins and losses. (r7228)
   * Fix: Windows installer doesn't redownload the music mod if it's already installed. (r7328)
   * Fix: Let's not underflow a unsigned variable. (r7335)
   * Change: Remove 'grim' mod, since it is broken for 2.2 (r7385, r7386, ticket:463)
   * Fix: NTW Mod 1.8.6b for 2.2 by Delphino (r7368, r7369)
 * Gameplay:
   * New: Repair facilities will repair nearby units if they don't have anything else to do. (r7234, patch #413)
   * Change: Multi-turret units have been removed due to graphics bugs. (r7274)
   * Fix: Trucks will never, ever, ever build on burning oil resources. Ever. Not even if you're an AI. (r7340)
   * Fix: Droids with Fire-At-Will will fire upon anything within range. (r7234, patch #413)
   * Fix: Pretty much every known bug involving repair facilities have been fixed. (r7234)
   * Fix: Trucks will not help enemies build structures. (r7234, patch #413)
   * Fix: Multi-turret units will always shoot with both weapons. (r7261)
   * Fix: Target prediction works correctly again. (r7279, r7383, ticket:374)
 * GUI:
   * Fix: Interface no longer disappears for a few seconds when someone changes team/color/location/readiness in multiplayer staging area. (r7259)
   * Change: Add new icons for when player leaves or gets disconnected.  Icons by Zarel.  (r7373, ticket:274)
 * Graphics:
   * Change: Do not use texture compression for interface textures. (r7348)
   * Change: Scale down textures used for 3D when they exceed the size specified with the textureSize option (r7347)
 * Network:
   * Fix / Change: Modify the server & client code to detect when the Host can't host a game, Change how 'addg' works + other enhancements (r7325)
   * Change: Use a more descriptive error message instead of the worthless SDLnet message. (r7344)

2009-05-01: Version 2.2_beta2
 * General:
   * New: Add radar detector turret. It will detect and target enemy sensors up to twice their range (r6955, ticket:340)
   * Fix: Crash when a person aborts multiplayer early then tries to start single-player (r6991)
   * Change: No longer requires the texture rectangle OpenGL extension to play video (r7022)
   * Change: F10 is now always the screenshot key (r6993)
   * Change: New config directory (r6995)
 * Network:
   * Add: Version checking added of connecting clients (r6992)
   * Change: Game now runs on port 2100, and lobby port is now 9990 (r6994)
   * Change: Games can now be password protected (r7078)

2009-04-01: Version 2.2_beta1
 * General:
   * New: Multi-threaded path-finding should make path-finding much faster (r5735, patch #1064)
   * New: Original sound tracks added (r5261)
   * New: Playing of Ogg Theora full motion videos are now supported (r6119, ticket:64, ticket:46)
   * New: Fonts are now configurable (r5841, patch #1095)
   * Fix: Clean up input stream after saving a save game, to prevent it from going into chat mode.
 * Graphics:
   * Change: The skybox texture is now more easily moddable.
   * Fix: The map is now properly capped on the edges.
   * Fix: The "deity" cheat now correctly shows the area that was cheated visible.
   * Fix: The background in the loading screen no longer flickers.
 * GUI:
   * New: Add mouse menu option.
   * New: Add ability to toggle between hardware (SDL) and software (colored) cursors, in new mouse menu option.
   * New: The radar minimap now shows the entire map, can be scaled and rotate to ease navigation (r5266, patch #969, r6410)
 * Commandline options:
   * New: Use --join <host> to join into a game lobby directly from the commandline.
   * New: Add a --host option (to compliment the --join option), so you can create games via an external program. It takes you directly to the host screen.
   * Fix: Difficulty now works when you start the campaign with the --game parameter.
   * Fix: --nosound works correctly with videos now.
 * Gameplay:
   * New: Make repair facilities that are close to each other share the workload if one is overloaded and others are out of work.
   * Change: Allow VTOLs to uncover fog of war and land-move to unseen areas in distance fog mode.
   * Change: Remove limitation that VTOLs cannot pass over tall cliffs, and allow that VTOLs to fly over anything to rearm.
   * Fix: Restrict direct fire to weapons range only instead of minimum of sensor range and weapon range.
 * AI:
   * Fix: Allow a droid to pick a new target while auto-repairing. (ticket:35, bug #12217)
   * Fix: Improve targetting AI so that it does not select bad targets, and make it use full weapon range instead of limited to sensor range. (ticket:97)
   * Fix: Fix AI bug that made it build on burning oil derricks (r5883, patch #1096)
 * Buildsystem:
   * Fix: Only compile the translations when $(TRANSLATION) is "yes". (ticket:130)
   * Change: Former "raw" Makefiles are now used for Windows only and thus named makefile.win32
 * Tools:
   * New: OBJ to PIE format converter (r5774)
 * Map:
   * New: 8c-cockate and 4c-cockpit by zydonk (r5567, r5566, r5286)
 * Engine:
   * New: Support for naval propulsion type (r5803)

2009-04-01: Version 2.1.3
 * General
   * Fix: Fixed issue that prevented information about enemy research to be shared between hosts. (r6915)
   * Fix: Fixed crashes in netlog code, path-finding, pregame chat, and burning scavengers (r6899, r6898, r6878, r6857)
 * Multiplayer:
   * Fix: Players no longer drop from game after too much data has been sent, usually happens in long games (r6890)
 * Maps:
   * New: New map 4c-Urban-Chaos (r6827)
   * Fix: Water tiles on little egypt map fixed (r6825, bug #9658)

2009-03-07: Version 2.1.2
 * General:
   * Fix: No longer crash if more than six players join a game (r6658, ticket:273)
   * Fix: Fix crash when too many maps are available (r6742)
   * Fix: Some other crash bugs may have been prevented (r6688, r6629, r6596, r6762, r6746, r6744)
 * Sound:
   * Fix: When sound isn't enabled (at runtime, unrelated to --disable-sound, e.g. when no sound device is available) do not attempt to set up an AUDIO_STREAM
 * Buildsystem:
   * Fix: If the target system to run on already provides strlcpy and/or strlcat, check whether they work as expected, and if they do, use them instead (r6556, r6557)
   * Change: Allow compiling without OpenAL and Vorbis when compiling with --disable-sound


(wiz)
diff -r1.7 -r1.8 pkgsrc/games/warzone2100/Makefile
diff -r1.2 -r1.3 pkgsrc/games/warzone2100/PLIST
diff -r1.2 -r1.3 pkgsrc/games/warzone2100/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/games/warzone2100/patches/patch-ad
diff -r0 -r1.1 pkgsrc/games/warzone2100/patches/patch-af
diff -r0 -r1.1 pkgsrc/games/warzone2100/patches/patch-ag

cvs diff -r1.7 -r1.8 pkgsrc/games/warzone2100/Makefile (expand / switch to unified diff)

--- pkgsrc/games/warzone2100/Makefile 2009/07/22 09:01:30 1.7
+++ pkgsrc/games/warzone2100/Makefile 2009/08/16 21:21:51 1.8
@@ -1,50 +1,48 @@ @@ -1,50 +1,48 @@
1# $NetBSD: Makefile,v 1.7 2009/07/22 09:01:30 wiz Exp $ 1# $NetBSD: Makefile,v 1.8 2009/08/16 21:21:51 wiz Exp $
2# 2#
3 3
4DISTNAME= warzone2100-2.1.1 4DISTNAME= warzone2100-2.2.1
5PKGREVISION= 1 
6CATEGORIES= games 5CATEGORIES= games
7MASTER_SITES= http://download.gna.org/warzone/releases/2.1/ 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=warzone2100/}
8EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://wz2100.net/ 10HOMEPAGE= http://wz2100.net/
12COMMENT= Real-time strategy and real-time tactics hybrid computer game 11COMMENT= Real-time strategy and real-time tactics hybrid computer game
13 12
14BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip 13BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
15BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip 14BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
16DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf 15DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf
17 16
18PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir
19 18
20GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
21USE_LANGUAGES= c c++ 20USE_LANGUAGES= c c++
22USE_TOOLS+= pkg-config bison msgfmt intltool gmake gsed gawk flex 21USE_TOOLS+= pkg-config bison msgfmt intltool gmake gawk flex
23TOOLS_PLATFORM.gsed= #empty, override nonsense in tools 
24 22
25CONFIGURE_ARGS+= --with-distributor=pkgsrc 23CONFIGURE_ARGS+= --with-distributor=pkgsrc
26 24
27CHECK_WRKREF_SKIP= share/warzone2100/mods/global/aivolution.wz 
28 
29post-build: 25post-build:
30 cd ${WRKSRC}/po && ${SETENV} ${MAKE_ENV} ${MAKE} update-gmo 26 cd ${WRKSRC}/po && ${SETENV} ${MAKE_ENV} ${MAKE} update-gmo
31 27
32.include "../../audio/openal/buildlink3.mk" 28.include "../../audio/openal/buildlink3.mk"
33.include "../../audio/libvorbis/buildlink3.mk" 29.include "../../audio/libvorbis/buildlink3.mk"
34.include "../../converters/libiconv/buildlink3.mk" 30.include "../../converters/libiconv/buildlink3.mk"
35.include "../../devel/SDL/buildlink3.mk" 31.include "../../devel/SDL/buildlink3.mk"
36# API depends is not enough to pull in flex; NetBSD one is 2.5.4 which 32# API depends is not enough to pull in flex; NetBSD one is 2.5.4 which
37# is too old 33# is too old
38_TOOLS_USE_PKGSRC.flex= yes 34_TOOLS_USE_PKGSRC.flex= yes
39BUILDLINK_API_DEPENDS.flex+= flex>=2.5.35 35BUILDLINK_API_DEPENDS.flex+= flex>=2.5.35
40.include "../../devel/flex/buildlink3.mk" 36.include "../../devel/flex/buildlink3.mk"
41.include "../../devel/gettext-lib/buildlink3.mk" 37.include "../../devel/gettext-lib/buildlink3.mk"
42.include "../../devel/physfs/buildlink3.mk" 38.include "../../devel/physfs/buildlink3.mk"
43.include "../../devel/popt/buildlink3.mk" 39.include "../../devel/popt/buildlink3.mk"
44.include "../../fonts/fontconfig/buildlink3.mk" 40.include "../../fonts/fontconfig/buildlink3.mk"
45.include "../../graphics/freetype2/buildlink3.mk" 41.include "../../graphics/freetype2/buildlink3.mk"
46.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 42.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
47.include "../../graphics/png/buildlink3.mk" 43.include "../../graphics/png/buildlink3.mk"
48.include "../../graphics/quesoglc/buildlink3.mk" 44.include "../../graphics/quesoglc/buildlink3.mk"
 45.include "../../multimedia/libtheora/buildlink3.mk"
49.include "../../net/SDL_net/buildlink3.mk" 46.include "../../net/SDL_net/buildlink3.mk"
 47.include "../../sysutils/desktop-file-utils/desktopdb.mk"
50.include "../../mk/bsd.pkg.mk" 48.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/games/warzone2100/PLIST (expand / switch to unified diff)

--- pkgsrc/games/warzone2100/PLIST 2009/06/14 17:56:57 1.2
+++ pkgsrc/games/warzone2100/PLIST 2009/08/16 21:21:51 1.3
@@ -1,54 +1,47 @@ @@ -1,54 +1,47 @@
1@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:57 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.3 2009/08/16 21:21:51 wiz Exp $
2bin/warzone2100 2bin/warzone2100
3share/applications/warzone2100.desktop 3share/applications/warzone2100.desktop
4share/doc/warzone2100/AUTHORS 4share/doc/warzone2100/AUTHORS
5share/doc/warzone2100/COPYING 5share/doc/warzone2100/COPYING
 6share/doc/warzone2100/COPYING.NONGPL
6share/doc/warzone2100/COPYING.README 7share/doc/warzone2100/COPYING.README
7share/doc/warzone2100/ChangeLog 8share/doc/warzone2100/ChangeLog
8share/doc/warzone2100/Readme.de 9share/doc/warzone2100/Readme.de
9share/doc/warzone2100/Readme.de.xhtml 10share/doc/warzone2100/Readme.de.xhtml
10share/doc/warzone2100/Readme.en 11share/doc/warzone2100/Readme.en
11share/doc/warzone2100/Readme.en.xhtml 12share/doc/warzone2100/Readme.en.xhtml
12share/doc/warzone2100/ScriptingManual.xhtml 13share/doc/warzone2100/ScriptingManual.htm
13share/doc/warzone2100/styles/readme.print.css 14share/doc/warzone2100/styles/readme.print.css
14share/doc/warzone2100/styles/readme.screen.css 15share/doc/warzone2100/styles/readme.screen.css
15share/doc/warzone2100/styles/scriptingmanual.css 16share/doc/warzone2100/styles/scriptingmanual.css
16share/icons/warzone2100.png 17share/icons/warzone2100.png
17share/locale/cs/LC_MESSAGES/warzone2100.mo 18share/locale/cs/LC_MESSAGES/warzone2100.mo
18share/locale/da/LC_MESSAGES/warzone2100.mo 19share/locale/da/LC_MESSAGES/warzone2100.mo
19share/locale/de/LC_MESSAGES/warzone2100.mo 20share/locale/de/LC_MESSAGES/warzone2100.mo
20share/locale/en_GB/LC_MESSAGES/warzone2100.mo 21share/locale/en_GB/LC_MESSAGES/warzone2100.mo
21share/locale/es/LC_MESSAGES/warzone2100.mo 22share/locale/es/LC_MESSAGES/warzone2100.mo
22share/locale/eu/LC_MESSAGES/warzone2100.mo 
23share/locale/fi/LC_MESSAGES/warzone2100.mo 23share/locale/fi/LC_MESSAGES/warzone2100.mo
24share/locale/fr/LC_MESSAGES/warzone2100.mo 24share/locale/fr/LC_MESSAGES/warzone2100.mo
25share/locale/fy/LC_MESSAGES/warzone2100.mo 25share/locale/fy/LC_MESSAGES/warzone2100.mo
26share/locale/ga/LC_MESSAGES/warzone2100.mo 26share/locale/ga/LC_MESSAGES/warzone2100.mo
27share/locale/it/LC_MESSAGES/warzone2100.mo 27share/locale/it/LC_MESSAGES/warzone2100.mo
28share/locale/la/LC_MESSAGES/warzone2100.mo 28share/locale/la/LC_MESSAGES/warzone2100.mo
29share/locale/lt/LC_MESSAGES/warzone2100.mo 29share/locale/lt/LC_MESSAGES/warzone2100.mo
30share/locale/lv/LC_MESSAGES/warzone2100.mo 
31share/locale/nb/LC_MESSAGES/warzone2100.mo 30share/locale/nb/LC_MESSAGES/warzone2100.mo
32share/locale/nl/LC_MESSAGES/warzone2100.mo 31share/locale/nl/LC_MESSAGES/warzone2100.mo
33share/locale/nn/LC_MESSAGES/warzone2100.mo 
34share/locale/pl/LC_MESSAGES/warzone2100.mo 32share/locale/pl/LC_MESSAGES/warzone2100.mo
35share/locale/pt/LC_MESSAGES/warzone2100.mo 33share/locale/pt/LC_MESSAGES/warzone2100.mo
36share/locale/pt_BR/LC_MESSAGES/warzone2100.mo 34share/locale/pt_BR/LC_MESSAGES/warzone2100.mo
37share/locale/ro/LC_MESSAGES/warzone2100.mo 35share/locale/ro/LC_MESSAGES/warzone2100.mo
38share/locale/ru/LC_MESSAGES/warzone2100.mo 36share/locale/ru/LC_MESSAGES/warzone2100.mo
39share/locale/sl/LC_MESSAGES/warzone2100.mo 37share/locale/sl/LC_MESSAGES/warzone2100.mo
40share/locale/sv/LC_MESSAGES/warzone2100.mo 
41share/locale/sv_SE/LC_MESSAGES/warzone2100.mo 
42share/locale/tr/LC_MESSAGES/warzone2100.mo 
43share/locale/uz/LC_MESSAGES/warzone2100.mo 
44share/locale/zh_CN/LC_MESSAGES/warzone2100.mo 38share/locale/zh_CN/LC_MESSAGES/warzone2100.mo
45share/warzone2100/mods/global/aivolution.wz 39share/locale/zh_TW/LC_MESSAGES/warzone2100.mo
46share/warzone2100/mods/global/autoload/music/music/menu.ogg 40share/warzone2100/base.wz
47share/warzone2100/mods/global/autoload/music/music/music.wpl 41share/warzone2100/mods/multiplay/aivolution.wz
48share/warzone2100/mods/global/autoload/music/music/track1.ogg 
49share/warzone2100/mods/global/autoload/music/music/track2.ogg 
50share/warzone2100/mods/global/grim.wz 
51share/warzone2100/mods/global/newst_tiles.wz 
52share/warzone2100/mods/multiplay/ntw.wz 42share/warzone2100/mods/multiplay/ntw.wz
53share/warzone2100/mp.wz 43share/warzone2100/mp.wz
54share/warzone2100/warzone.wz 44share/warzone2100/music/menu.ogg
 45share/warzone2100/music/music.wpl
 46share/warzone2100/music/track1.ogg
 47share/warzone2100/music/track2.ogg

cvs diff -r1.2 -r1.3 pkgsrc/games/warzone2100/distinfo (expand / switch to unified diff)

--- pkgsrc/games/warzone2100/distinfo 2009/03/27 06:54:53 1.2
+++ pkgsrc/games/warzone2100/distinfo 2009/08/16 21:21:51 1.3
@@ -1,10 +1,12 @@ @@ -1,10 +1,12 @@
1$NetBSD: distinfo,v 1.2 2009/03/27 06:54:53 wiz Exp $ 1$NetBSD: distinfo,v 1.3 2009/08/16 21:21:51 wiz Exp $
2 2
3SHA1 (warzone2100-2.1.1.tar.bz2) = 5f0cb41b283ec709cffa8e00c4c1fda8fc9a63d7 3SHA1 (warzone2100-2.2.1.tar.bz2) = b993827a5972cacaa236512870f50361b4b2677a
4RMD160 (warzone2100-2.1.1.tar.bz2) = 4eca8c00c917061e93d4c70db07b698a123ce37f 4RMD160 (warzone2100-2.2.1.tar.bz2) = 0cb42f6d3bb3beeac6dd8dccb662d867c30bbeb6
5Size (warzone2100-2.1.1.tar.bz2) = 44839794 bytes 5Size (warzone2100-2.2.1.tar.bz2) = 47907534 bytes
6SHA1 (patch-aa) = 95c066ff4340ba6e4c021846541b53eb4cad0704 6SHA1 (patch-aa) = 95c066ff4340ba6e4c021846541b53eb4cad0704
7SHA1 (patch-ab) = e82a085ddf27a5443e011ada57e78cca1ab66c79 7SHA1 (patch-ab) = e82a085ddf27a5443e011ada57e78cca1ab66c79
8SHA1 (patch-ac) = b15234c26cbbeffe58e623feb49e9930bd3846d0 8SHA1 (patch-ac) = b15234c26cbbeffe58e623feb49e9930bd3846d0
9SHA1 (patch-ad) = 1afe3527241d142e1af6c5e432a64324675d74f3 9SHA1 (patch-ad) = af29beef3b2014bf1b3d1068b2b3caa7d948de80
10SHA1 (patch-ae) = 9a5f2fccd93100e87968d2dc9d783acc595ad5d3 10SHA1 (patch-ae) = 9a5f2fccd93100e87968d2dc9d783acc595ad5d3
 11SHA1 (patch-af) = 46ea523fb72ed0f081d85dfea0813fde79087c82
 12SHA1 (patch-ag) = 2604a894e8579377f4b3ac8eae7250ed2c73a21c

cvs diff -r1.1.1.1 -r1.2 pkgsrc/games/warzone2100/patches/Attic/patch-ad (expand / switch to unified diff)

--- pkgsrc/games/warzone2100/patches/Attic/patch-ad 2009/02/15 16:05:43 1.1.1.1
+++ pkgsrc/games/warzone2100/patches/Attic/patch-ad 2009/08/16 21:21:51 1.2
@@ -1,22 +1,12 @@ @@ -1,22 +1,12 @@
1$NetBSD: patch-ad,v 1.1.1.1 2009/02/15 16:05:43 jmcneill Exp $ 1$NetBSD: patch-ad,v 1.2 2009/08/16 21:21:51 wiz Exp $
2 2
3--- lib/framework/strlfuncs.h.orig 2008-12-21 13:41:15.000000000 -0500 3--- lib/ivis_opengl/GLee.h.orig 2009-06-21 15:15:42.000000000 +0000
4+++ lib/framework/strlfuncs.h 4+++ lib/ivis_opengl/GLee.h
5@@ -22,6 +22,9 @@ 5@@ -814,7 +814,6 @@ GLEE_EXTERN GLboolean _GLEE_SGIX_texture
6 #include <stddef.h> 
7 #include <assert.h> 
8  6
9+#if defined(__NetBSD__) 7 /* GLX */
10+#include <string.h> 
11+#else 
12 /**  
13 * A safer variant of \c strncpy and its completely unsafe variant \c strcpy. 
14 * Copy src to string dst of size siz. At most siz-1 characters 
15@@ -105,6 +108,7 @@ static inline size_t strlcat(char *WZ_DE 
16  8
17 return(dlen + (s - src)); /* count does not include NUL */ 9- typedef void (*__GLXextFuncPtr)(void);
18 } 
19+#endif 
20  10
21 /* Static array versions of common string functions. Safer because one less parameter to screw up.  11 #ifndef GLX_ARB_get_proc_address
22 * Can only be used on strings longer than the length of a pointer, because we use this for debugging. */ 12 #define GLX_ARB_get_proc_address 1

File Added: pkgsrc/games/warzone2100/patches/Attic/patch-af
$NetBSD: patch-af,v 1.1 2009/08/16 21:21:51 wiz Exp $

--- src/move.c.orig	2009-06-21 15:15:40.000000000 +0000
+++ src/move.c
@@ -63,6 +63,13 @@
 
 #include "drive.h"
 
+#ifndef fminf
+#define fminf(a,b) (((a) < (b)) ? (a) : (b))
+#endif
+#ifndef fmaxf
+#define fmaxf(a,b) (((a) < (b)) ? (b) : (a))
+#endif
+
 /* max and min vtol heights above terrain */
 #define	VTOL_HEIGHT_MIN				250
 #define	VTOL_HEIGHT_LEVEL			300

File Added: pkgsrc/games/warzone2100/patches/Attic/patch-ag
$NetBSD: patch-ag,v 1.1 2009/08/16 21:21:51 wiz Exp $

--- lib/sequence/sequence.c.orig	2009-06-21 15:15:41.000000000 +0000
+++ lib/sequence/sequence.c
@@ -77,6 +77,10 @@
 #  include <AL/al.h>
 # endif
 
+#ifndef nearbyint
+#define nearbyint rint
+#endif
+
 // stick this in sequence.h perhaps?
 typedef struct
 {