pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug 18 19:48:58 UTC 2024

Modified Files:
        pkgsrc/games/crossfire-client: Makefile PLIST distinfo
        pkgsrc/games/crossfire-server: Makefile PLIST distinfo
Added Files:
        pkgsrc/games/crossfire-server/patches: patch-configure
            patch-include_newserver.h

Log Message:
crossfire-client crossfire-server: updated to 1.75.x

Crossfire 1.75.0

This release brings many changes, fixes, and improvements to the server, maps, and clients.

The server now uses Python 3. If you run an existing server, you may need to use the cfdb_convert utility to convert some databases into a format used in Python 3. Briefly:

$ cd /var/crossfire/
$ cfdb_convert --auto

Since GTKv2 is now EoL'd, this will likely also be the last GTKv2 client release that uses Gtk+ 2.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/games/crossfire-client/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/crossfire-client/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/games/crossfire-client/distinfo
cvs rdiff -u -r1.86 -r1.87 pkgsrc/games/crossfire-server/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/crossfire-server/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/games/crossfire-server/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/crossfire-server/patches/patch-configure \
    pkgsrc/games/crossfire-server/patches/patch-include_newserver.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/crossfire-client/Makefile
diff -u pkgsrc/games/crossfire-client/Makefile:1.69 pkgsrc/games/crossfire-client/Makefile:1.70
--- pkgsrc/games/crossfire-client/Makefile:1.69 Wed May 29 16:32:33 2024
+++ pkgsrc/games/crossfire-client/Makefile      Sun Aug 18 19:48:57 2024
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile,v 1.69 2024/05/29 16:32:33 adam Exp $
+# $NetBSD: Makefile,v 1.70 2024/08/18 19:48:57 adam Exp $
 
-DISTNAME=      crossfire-client-1.73.0
-PKGREVISION=   33
+DISTNAME=      crossfire-client-1.75.3
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=crossfire/}
-EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    adam%NetBSD.org@localhost
-HOMEPAGE=      http://crossfire.real-time.com/
+HOMEPAGE=      https://crossfire.real-time.com/
 COMMENT=       Multi-player graphical arcade and adventure game (client)
 LICENSE=       gnu-gpl-v2
 
@@ -15,19 +13,22 @@ CONFLICTS+= crossfire-client-gtk2-[0-9]*
 SUPERSEDES+=   crossfire-client-gtk2-[0-9]*
 SUPERSEDES+=   crossfire-client-gtk-[0-9]*
 
-USE_CMAKE=     yes
-USE_TOOLS+=    pkg-config perl:run
-USE_LANGUAGES= c99
+USE_CC_FEATURES=       c99
+USE_LANGUAGES=         c
+USE_TOOLS+=            pkg-config perl:run
 
 REPLACE_PERL+= common/items.pl
 
-.include "../../audio/SDL_mixer/buildlink3.mk"
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+# Gtk2 has to be built with X11: fatal error: 'gdk/gdkx.h' file not found.
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
 .include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
-.include "../../graphics/SDL_image/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../lang/vala/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../www/curl/buildlink3.mk"

Index: pkgsrc/games/crossfire-client/PLIST
diff -u pkgsrc/games/crossfire-client/PLIST:1.2 pkgsrc/games/crossfire-client/PLIST:1.3
--- pkgsrc/games/crossfire-client/PLIST:1.2     Tue Oct 29 17:59:17 2019
+++ pkgsrc/games/crossfire-client/PLIST Sun Aug 18 19:48:57 2024
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/10/29 17:59:17 nia Exp $
-bin/cfsndserv
+@comment $NetBSD: PLIST,v 1.3 2024/08/18 19:48:57 adam Exp $
 bin/crossfire-client-gtk2
 share/applications/crossfire-client.desktop
 share/crossfire-client/sounds/COPYING
@@ -31,12 +30,15 @@ share/crossfire-client/sounds/gong.wav
 share/crossfire-client/sounds/knife.ogg
 share/crossfire-client/sounds/lightning1.wav
 share/crossfire-client/sounds/magic.wav
+share/crossfire-client/sounds/miss-1.ogg
 share/crossfire-client/sounds/ouch1.wav
 share/crossfire-client/sounds/painb.wav
 share/crossfire-client/sounds/phit2.wav
+share/crossfire-client/sounds/potion.ogg
 share/crossfire-client/sounds/sci_fi_gun.wav
 share/crossfire-client/sounds/sounds.conf
 share/crossfire-client/sounds/squish.wav
+share/crossfire-client/sounds/step_lth1.ogg
 share/crossfire-client/sounds/su-fanf.wav
 share/crossfire-client/sounds/swish.wav
 share/crossfire-client/sounds/sword-1.ogg

Index: pkgsrc/games/crossfire-client/distinfo
diff -u pkgsrc/games/crossfire-client/distinfo:1.9 pkgsrc/games/crossfire-client/distinfo:1.10
--- pkgsrc/games/crossfire-client/distinfo:1.9  Tue Oct 26 10:43:52 2021
+++ pkgsrc/games/crossfire-client/distinfo      Sun Aug 18 19:48:57 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:43:52 nia Exp $
+$NetBSD: distinfo,v 1.10 2024/08/18 19:48:57 adam Exp $
 
-BLAKE2s (crossfire-client-1.73.0.tar.bz2) = f76dfc0644b524c19be5ee941f5272860a66510156fe7ebaf1dfab2108c6ea9f
-SHA512 (crossfire-client-1.73.0.tar.bz2) = 92b5e13de9b3f15eadaf51dd7edaa47b38ad808870675435fa6684723827b7d899b98dee9c88b0632784f0b4488927ee168b1b87471d49bc34a01419609f96bb
-Size (crossfire-client-1.73.0.tar.bz2) = 842671 bytes
+BLAKE2s (crossfire-client-1.75.3.tar.gz) = 4d827894d6eea4191fbc7c0f6013b197806c5fbf9f29211dcca795d58677b811
+SHA512 (crossfire-client-1.75.3.tar.gz) = e838b3484f9637ccc01678559c7e7a1a7e29cdb37a850fa19b62dc64e2164345cfe3279c073c7b640ccb3ead54e5e6c0f16787d69257c36534730e72b7165a3e
+Size (crossfire-client-1.75.3.tar.gz) = 1052116 bytes

Index: pkgsrc/games/crossfire-server/Makefile
diff -u pkgsrc/games/crossfire-server/Makefile:1.86 pkgsrc/games/crossfire-server/Makefile:1.87
--- pkgsrc/games/crossfire-server/Makefile:1.86 Thu Aug 15 22:02:25 2024
+++ pkgsrc/games/crossfire-server/Makefile      Sun Aug 18 19:48:57 2024
@@ -1,44 +1,38 @@
-# $NetBSD: Makefile,v 1.86 2024/08/15 22:02:25 wiz Exp $
+# $NetBSD: Makefile,v 1.87 2024/08/18 19:48:57 adam Exp $
 
-DISTNAME=      crossfire-1.71.0
+DISTNAME=      crossfire-1.75.0
 PKGNAME=       ${DISTNAME:S/crossfire-/crossfire-server-/1}
-PKGREVISION=   33
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=crossfire/}
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
-DISTFILES+=    ${DISTNAME}.arch${EXTRACT_SUFX}
-DISTFILES+=    ${DISTNAME}.maps${EXTRACT_SUFX}
-EXTRACT_SUFX=  .tar.bz2
+DISTFILES+=    crossfire-1.71.0.arch.tar.bz2
+DISTFILES+=    ${DISTNAME:S/-/-maps-/}${EXTRACT_SUFX}
 
 MAINTAINER=    adam%NetBSD.org@localhost
-HOMEPAGE=      http://crossfire.real-time.com/
+HOMEPAGE=      https://crossfire.real-time.com/
 COMMENT=       Multi-player graphical arcade and adventure game (server)
 LICENSE=       gnu-gpl-v2
 
-WRKSRC=                ${WRKDIR}/crossfire-server-${PKGVERSION_NOREV}
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake perl:run bash:run csh:run ksh
-CONFIG_SHELL=  ksh
-GNU_CONFIGURE= yes
+CONFIG_SHELL=          ksh
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake bash:run csh:run ksh perl:run pkg-config
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --disable-check
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}/games
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+PKG_SYSCONFSUBDIR=     crossfire
+
 PLIST_SRC=     ${WRKDIR}/PLIST PLIST
 
-BROKEN=                "Only supports Python < 3.10"
-#PYTHON_VERSIONS_ACCEPTED=     38 39
+REPLACE_PYTHON+=       ../maps/python/CFReputation/utils/gods2factions
+REPLACE_PYTHON+=       utils/cfdb_convert
+
+PYTHON_VERSIONS_ACCEPTED=      39 # node.h is required
 
 BUILD_DEFS+=   VARBASE
 
 CHECK_PORTABILITY_SKIP+=       utils/get_release.in
 
-# "Collect is already running.
-# If you think this is an error, rmdir collect.lock"
-MAKE_JOBS_SAFE=        no
-
-PKG_SYSCONFSUBDIR=     crossfire
-CONFIGURE_ARGS+=       --disable-check
-CONFIGURE_ARGS+=       --localstatedir=${VARBASE}/games
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ENV+=                ac_cv_path_GZIP=${GZIP_CMD:Q}
-
 INSTALLATION_DIRS=     share/crossfire/arch
 INSTALLATION_DIRS+=    share/crossfire/maps
 
@@ -51,12 +45,8 @@ REPLACE_PERL+=       doc/scripts/makeps.pl
 REPLACE_PERL+= doc/scripts/monster-extract.pl
 REPLACE_PERL+= lib/adm/archsearch.pl
 REPLACE_PERL+= lib/adm/collect_images.pl
-REPLACE_PERL+= lib/adm/map_expand.pl
-REPLACE_PERL+= lib/adm/mapslitter.pl
 REPLACE_PERL+= utils/player_dl.pl.in
-REPLACE_PERL+= utils/metaserver.pl.in
 REPLACE_PERL+= utils/mktable.script
-REPLACE_PERL+= lib/adm/map_info
 # arch
 REPLACE_BASH+= ../arch/dev/png_recompress.sh
 REPLACE_CSH+=  ../arch/dev/xpmtopng
@@ -90,18 +80,21 @@ CONF_FILES+=        ${EGDIR}/news ${PKG_SYSCONF
 CONF_FILES+=   ${EGDIR}/rules ${PKG_SYSCONFDIR}/rules
 CONF_FILES+=   ${EGDIR}/settings ${PKG_SYSCONFDIR}/settings
 
-pre-build:
-       ${LN} -sf ${WRKDIR}/arch ${WRKSRC}/lib
+SUBST_CLASSES+=                py3path
+SUBST_STAGE.py3path=   pre-configure
+SUBST_MESSAGE.py3path= Fixing path to Python.
+SUBST_FILES.py3path=   configure
+SUBST_SED.py3path=     -e 's,"python3","python-${PYVERSSUFFIX}",g'
 
 post-install:
-       cd ${WRKDIR} && cp -R arch maps ${DESTDIR}${PREFIX}/share/crossfire
+       cd ${WRKDIR} && ${CP} -R arch maps ${DESTDIR}${PREFIX}/share/crossfire
        cd ${DESTDIR}${PREFIX} && \
                ${FIND} share/crossfire/arch -type f -print >> ${WRKDIR}/PLIST
        cd ${DESTDIR}${PREFIX} && \
                ${FIND} share/crossfire/maps -type f -print >> ${WRKDIR}/PLIST
 
 .include "../../graphics/gd/buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
-.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/games/crossfire-server/PLIST
diff -u pkgsrc/games/crossfire-server/PLIST:1.4 pkgsrc/games/crossfire-server/PLIST:1.5
--- pkgsrc/games/crossfire-server/PLIST:1.4     Tue Oct 29 17:59:18 2019
+++ pkgsrc/games/crossfire-server/PLIST Sun Aug 18 19:48:57 2024
@@ -1,24 +1,18 @@
-@comment $NetBSD: PLIST,v 1.4 2019/10/29 17:59:18 nia Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/08/18 19:48:57 adam Exp $
+bin/cfdb_convert
 bin/crossfire-server
 bin/crossloop
-bin/crossloop.web
 bin/player_dl.pl
 lib/crossfire/plugins/cfanim.la
+lib/crossfire/plugins/cfcitybell.la
 lib/crossfire/plugins/cfpython.la
 lib/crossfire/plugins/citylife.la
-libexec/crossfire/add_throw.perl
-libexec/crossfire/metaserver.pl
-libexec/crossfire/mktable.script
 libexec/crossfire/random_map
-man/man6/crossfire-config.6
 man/man6/crossfire-server.6
 man/man6/crossloop.6
 man/man6/crossloop.web.6
 share/crossfire/adm/archsearch.pl
 share/crossfire/adm/collect_images.pl
-share/crossfire/adm/map_expand.pl
-share/crossfire/adm/map_info
-share/crossfire/adm/mapslitter.pl
 share/crossfire/animations
 share/crossfire/arch/CHANGES
 share/crossfire/arch/README
@@ -13780,6 +13774,7 @@ share/crossfire/crossfire.1
 share/crossfire/def_help
 share/crossfire/faces
 share/crossfire/formulae
+share/crossfire/help/afk.en
 share/crossfire/help/apply.en
 share/crossfire/help/apply.fr
 share/crossfire/help/applymode.en
@@ -13794,14 +13789,17 @@ share/crossfire/help/cast.en
 share/crossfire/help/cast.fr
 share/crossfire/help/chat.en
 share/crossfire/help/death.en
+share/crossfire/help/dip.en
 share/crossfire/help/drop.en
 share/crossfire/help/drop.fr
 share/crossfire/help/dropall.en
 share/crossfire/help/dropall.fr
 share/crossfire/help/empty.en
 share/crossfire/help/empty.fr
+share/crossfire/help/face.en
 share/crossfire/help/fire.en
 share/crossfire/help/fire_stop.en
+share/crossfire/help/forget_spell.en
 share/crossfire/help/golem.en
 share/crossfire/help/invoke.en
 share/crossfire/help/keys.en
@@ -13809,8 +13807,11 @@ share/crossfire/help/killpets.en
 share/crossfire/help/killpets.fr
 share/crossfire/help/knowledge.en
 share/crossfire/help/knowledge.fr
+share/crossfire/help/language.en
 share/crossfire/help/listen.en
 share/crossfire/help/listen.fr
+share/crossfire/help/lock.en
+share/crossfire/help/mapinfo.en
 share/crossfire/help/maps.en
 share/crossfire/help/maps.fr
 share/crossfire/help/mark.en
@@ -13825,16 +13826,19 @@ share/crossfire/help/mouse.en
 share/crossfire/help/move.en
 share/crossfire/help/news.en
 share/crossfire/help/news.fr
+share/crossfire/help/nextkey.en
 share/crossfire/help/party.en
 share/crossfire/help/party.fr
 share/crossfire/help/party_rejoin.en
 share/crossfire/help/party_rejoin.fr
+share/crossfire/help/passwd.en
 share/crossfire/help/peaceful.en
 share/crossfire/help/peaceful.fr
 share/crossfire/help/petmode.en
 share/crossfire/help/petmode.fr
 share/crossfire/help/pickup.en
 share/crossfire/help/pickup.fr
+share/crossfire/help/prevkey.en
 share/crossfire/help/quest.en
 share/crossfire/help/quest.fr
 share/crossfire/help/quit.en
@@ -13843,8 +13847,11 @@ share/crossfire/help/range.en
 share/crossfire/help/ready_skill.en
 share/crossfire/help/rename.en
 share/crossfire/help/rename.fr
+share/crossfire/help/rotateshoottype.en
 share/crossfire/help/rules.en
 share/crossfire/help/rules.fr
+share/crossfire/help/run.en
+share/crossfire/help/run_stop.en
 share/crossfire/help/save.en
 share/crossfire/help/save.fr
 share/crossfire/help/shout.en
@@ -13868,6 +13875,7 @@ share/crossfire/help/use.fr
 share/crossfire/help/use_skill.en
 share/crossfire/help/usekeys.en
 share/crossfire/help/usekeys.fr
+share/crossfire/help/version.en
 share/crossfire/help/whereabouts.en
 share/crossfire/help/whereabouts.fr
 share/crossfire/help/wimpy.en
@@ -15551,7 +15559,6 @@ share/crossfire/maps/python/CFWorld.py
 share/crossfire/maps/python/IPO/README
 share/crossfire/maps/python/IPO/banksay.py
 share/crossfire/maps/python/IPO/board.py
-share/crossfire/maps/python/IPO/checks.py
 share/crossfire/maps/python/IPO/receive.py
 share/crossfire/maps/python/IPO/say.py
 share/crossfire/maps/python/IPO/seen.py
@@ -15593,11 +15600,7 @@ share/crossfire/maps/python/dialog/pre/q
 share/crossfire/maps/python/dialog/pre/token.py
 share/crossfire/maps/python/events/README
 share/crossfire/maps/python/events/born/log_born.py
-share/crossfire/maps/python/events/clock/bell.py
 share/crossfire/maps/python/events/death/autojail.py
-share/crossfire/maps/python/events/init/autojail_command.py
-share/crossfire/maps/python/events/init/disinfect_command.py
-share/crossfire/maps/python/events/init/give_command.py
 share/crossfire/maps/python/events/init/guild_init.py
 share/crossfire/maps/python/events/kick/log_kick.py
 share/crossfire/maps/python/events/login/autojail_login.py
@@ -15979,7 +15982,6 @@ share/crossfire/maps/scorn/citygate.ques
 share/crossfire/maps/scorn/dtabb/cave
 share/crossfire/maps/scorn/dtabb/cave2
 share/crossfire/maps/scorn/dtabb/cave3
-share/crossfire/maps/scorn/guilds/guildhousesinc
 share/crossfire/maps/scorn/guilds/mailed_fist/GuildList
 share/crossfire/maps/scorn/guilds/mailed_fist/README.txt
 share/crossfire/maps/scorn/guilds/mailed_fist/basement
@@ -16015,9 +16017,6 @@ share/crossfire/maps/scorn/houses/chess_
 share/crossfire/maps/scorn/houses/cornerbrook
 share/crossfire/maps/scorn/houses/cornerbrook_under
 share/crossfire/maps/scorn/houses/doors_galore
-share/crossfire/maps/scorn/houses/easy_house.1.a
-share/crossfire/maps/scorn/houses/easy_house.1.b
-share/crossfire/maps/scorn/houses/easy_house.1.c
 share/crossfire/maps/scorn/houses/farm.quests
 share/crossfire/maps/scorn/houses/farmhouse
 share/crossfire/maps/scorn/houses/gramps_malone.msg
@@ -17866,7 +17865,7 @@ share/crossfire/wizhelp/dumpallmaps.en
 share/crossfire/wizhelp/dumpallobjects.en
 share/crossfire/wizhelp/dumpbelow.en
 share/crossfire/wizhelp/dumpfriendlyobjects.en
-share/crossfire/wizhelp/forget_spell.en
+share/crossfire/wizhelp/follow.en
 share/crossfire/wizhelp/free.en
 share/crossfire/wizhelp/goto.en
 share/crossfire/wizhelp/hide.en

Index: pkgsrc/games/crossfire-server/distinfo
diff -u pkgsrc/games/crossfire-server/distinfo:1.10 pkgsrc/games/crossfire-server/distinfo:1.11
--- pkgsrc/games/crossfire-server/distinfo:1.10 Tue Oct 26 10:43:52 2021
+++ pkgsrc/games/crossfire-server/distinfo      Sun Aug 18 19:48:57 2024
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:43:52 nia Exp $
+$NetBSD: distinfo,v 1.11 2024/08/18 19:48:57 adam Exp $
 
 BLAKE2s (crossfire-1.71.0.arch.tar.bz2) = f67ebbb3b384cc618c2d0eb9650c8f73cf2f3a8a71484746caa5847514ba2153
 SHA512 (crossfire-1.71.0.arch.tar.bz2) = f9707dc5dab24d0ba74654c6433e016a58ab4e99da5dade6614491eca00736965bb7fd9a24db4188c3409a0479a88bb0ea55282e519ffcbabf23d82e6a5b975e
 Size (crossfire-1.71.0.arch.tar.bz2) = 3462161 bytes
-BLAKE2s (crossfire-1.71.0.maps.tar.bz2) = 737a0f2f27679712e8205614049c10dc839fd463040e481666ee44e6515e99e3
-SHA512 (crossfire-1.71.0.maps.tar.bz2) = c3940b0a48f1badc14eb81610cfcd4241d140b666b5cb123845dca6ad742a18977ad7ada1d75d738f15f44374896c4dd6047989122257d7cd87362a3af0f97e8
-Size (crossfire-1.71.0.maps.tar.bz2) = 19463076 bytes
-BLAKE2s (crossfire-1.71.0.tar.bz2) = e3d28615930f94898506c1e4714ad03b4f151b56029b7efda35ef24a542aee4f
-SHA512 (crossfire-1.71.0.tar.bz2) = d867f3393cb18ed78158c9a724d386dd642f0193ace86fef592e7bdc80885b7f7ce3c37be34b77d73b31c939d41e533029f2e7dea405c00d7a67aa3baebd146d
-Size (crossfire-1.71.0.tar.bz2) = 6712638 bytes
+BLAKE2s (crossfire-1.75.0.tar.gz) = 176c7599622685e2a35eec96aed5084a389bc0569202c280933fd7320799bd3d
+SHA512 (crossfire-1.75.0.tar.gz) = 1e730fcccf302ab72850928a4f16a4b779558db57713fc9d8678f41df6c48139a87e8fda621a931a2a5530da924ab7c5e8a31cfe830b825cf369e743051036f4
+Size (crossfire-1.75.0.tar.gz) = 7199792 bytes
+BLAKE2s (crossfire-maps-1.75.0.tar.gz) = 05b554b0bb927553e9aa1f4f2864cd1ce87f8b94b27789a4505ac7ae380b2278
+SHA512 (crossfire-maps-1.75.0.tar.gz) = 00b7ac1957d85d5f4ea847eaa59a80dda31b0518ecdfd31984349e5d7ca5ac5d526bbb1c7f64a0e5e0d60ec727bfe8f849bad6ad6d36fe570250c7f20c2b1220
+Size (crossfire-maps-1.75.0.tar.gz) = 33892228 bytes
+SHA1 (patch-configure) = 90af323e0626ebe88d7f93b975f8f1ae98186d62
 SHA1 (patch-lib_Makefile.in) = c9f9f365906f110589390613ee162f1964d72964

Added files:

Index: pkgsrc/games/crossfire-server/patches/patch-configure
diff -u /dev/null pkgsrc/games/crossfire-server/patches/patch-configure:1.1
--- /dev/null   Sun Aug 18 19:48:58 2024
+++ pkgsrc/games/crossfire-server/patches/patch-configure       Sun Aug 18 19:48:57 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2024/08/18 19:48:57 adam Exp $
+
+Portability fix.
+
+--- configure.orig     2024-08-18 10:05:05.487966411 +0000
++++ configure
+@@ -14809,7 +14809,7 @@ else
+ fi
+ 
+ 
+-if test "$has_archetypes" == no -a "$has_arch_dir" == no; then :
++if test "$has_archetypes" = no -a "$has_arch_dir" = no; then :
+ 
+        as_fn_error $? "Could not find pre-built or raw archetypes." "$LINENO" 5
+ 
Index: pkgsrc/games/crossfire-server/patches/patch-include_newserver.h
diff -u /dev/null pkgsrc/games/crossfire-server/patches/patch-include_newserver.h:1.1
--- /dev/null   Sun Aug 18 19:48:58 2024
+++ pkgsrc/games/crossfire-server/patches/patch-include_newserver.h     Sun Aug 18 19:48:57 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_newserver.h,v 1.1 2024/08/18 19:48:57 adam Exp $
+
+Add missing include.
+
+--- include/newserver.h.orig   2024-08-18 19:35:23.657767666 +0000
++++ include/newserver.h
+@@ -138,6 +138,7 @@ typedef struct socket_struct {
+ #define NS_FACESENT_SMOOTH      0x2
+ 
+ /** Holds some system-related information. */
++#include <sys/time.h>
+ typedef struct Socket_Info {
+     struct timeval timeout;     /**< Timeout for select. */
+     int     max_filedescriptor; /**< max filedescriptor on the system. */



Home | Main Index | Thread Index | Old Index