diff --git a/games/chocolate-doom/Makefile b/games/chocolate-doom/Makefile index 9b4714fc1338..3270d0e7f779 100644 --- a/games/chocolate-doom/Makefile +++ b/games/chocolate-doom/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= chocolate-doom -PORTVERSION= 2.3.0 +PORTVERSION= 3.0.0 CATEGORIES= games MASTER_SITES= http://www.chocolate-doom.org/downloads/${PORTVERSION}/ @@ -14,7 +14,7 @@ BUILD_DEPENDS= python:lang/python LIB_DEPENDS= libpng.so:graphics/png USES= gmake -USE_SDL= mixer net sdl +USE_SDL= mixer2 net2 sdl2 GNU_CONFIGURE= yes USE_HARDENING= safestack diff --git a/games/chocolate-doom/distinfo b/games/chocolate-doom/distinfo index b82923a4a890..1cb2a8e7e9fa 100644 --- a/games/chocolate-doom/distinfo +++ b/games/chocolate-doom/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1483106037 -SHA256 (chocolate-doom-2.3.0.tar.gz) = 3e6d1a82ac5c8b025a9695ce1e47d0dc6ed142ebb1129b1e4a70e2740f79150c -SIZE (chocolate-doom-2.3.0.tar.gz) = 2190744 +TIMESTAMP = 1514687305 +SHA256 (chocolate-doom-3.0.0.tar.gz) = 73aea623930c7d18a7a778eea391e1ddfbe90ad1ac40a91b380afca4b0e1dab8 +SIZE (chocolate-doom-3.0.0.tar.gz) = 2495591 diff --git a/games/chocolate-doom/files/patch-src_d__iwad.c b/games/chocolate-doom/files/patch-src_d__iwad.c index 7c1a9a0a1e1f..905684bd272b 100644 --- a/games/chocolate-doom/files/patch-src_d__iwad.c +++ b/games/chocolate-doom/files/patch-src_d__iwad.c @@ -1,11 +1,11 @@ ---- src/d_iwad.c.orig 2015-09-26 11:05:54 UTC -+++ src/d_iwad.c -@@ -632,7 +632,7 @@ static void AddXdgDirs(void) +--- src/d_iwad.c.orig 2017-12-30 16:20:28.000000000 -0500 ++++ src/d_iwad.c 2018-01-25 09:43:00.567417000 -0500 +@@ -658,7 +658,7 @@ // The "standard" location for IWADs on Unix that is supported by most // source ports is /usr/share/games/doom - we support this through the // XDG_DATA_DIRS mechanism, through which it can be overridden. - AddIWADPath(env, "/games/doom"); + AddIWADPath(env, "/doom"); - } - // + // The convention set by RBDOOM-3-BFG is to install Doom 3: BFG + // Edition into this directory, under which includes the Doom