summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-05-17 12:55:12 +0200
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-05-17 13:06:18 +0200
commit73c3103fb638cf512042f47de76f5b6ca1f92890 (patch)
tree96ae27af01e39d85959fcba08ed255eeaf29a686
parentdevel/ireport: Mark BROKEN, deprecate and set expiration date to 2025-06-30 (diff)
games/ecwolf: fix build
/usr/bin/c++ -DNO_GTK=1 -DUSE_GPL -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/wrkdirs/usr/ports/games/ecwolf/work/.build/src -I/wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/src -I/wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/src/g_shared -I/wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/deps/lzma/C -I/wrkdirs/usr/ports/games/ecwolf/work/.build/deps/gdtoa -I/wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/deps/gdtoa -isystem /usr/local/include/SDL2 -O2 -pipe -mcpu=power9 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -mcpu=power9 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++98 -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT src/CMakeFiles/engine.dir/resourcefiles/file_vgagraph.cpp.o -MF src/CMakeFiles/engine.dir/resourcefiles/file_vgagraph.cpp.o.d -o src/CMakeFiles/engine.dir/resourcefiles/file_vgagraph.cpp.o -c /wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/src/resourcefiles/file_vgagraph.cpp In file included from /wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/src/resourcefiles/file_vgagraph.cpp:40: /wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/src/tmemory.h:479:11: error: cannot assign to variable 'other' with const-qualified type 'const Self &' (aka 'const TWeakPtr<Type> &') 479 | other.r = oldref; | ~~~~~~~ ^ /wrkdirs/usr/ports/games/ecwolf/work/ecwolf-1.4.1-src/src/tmemory.h:472:24: note: variable 'other' declared const here 472 | void Swap(const Self &other) | ~~~~~~~~~~~~^~~~~ 1 error generated.
-rw-r--r--games/ecwolf/Makefile3
-rw-r--r--games/ecwolf/distinfo4
2 files changed, 6 insertions, 1 deletions
diff --git a/games/ecwolf/Makefile b/games/ecwolf/Makefile
index e73102ea66de..8d208b83f612 100644
--- a/games/ecwolf/Makefile
+++ b/games/ecwolf/Makefile
@@ -5,6 +5,9 @@ PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://maniacsvault.net/ecwolf/files/ecwolf/1.x/
+PATCH_SITES= https://bitbucket.org/ecwolf/ecwolf/commits/400aaf96a36a14ab8eab18a670ba6439046f3bb0/
+PATCHFILES= raw:-p1
+
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Source port for Wolfenstein 3D, Spear of Destiny
WWW= https://maniacsvault.net/ecwolf/
diff --git a/games/ecwolf/distinfo b/games/ecwolf/distinfo
index 35fed9bdc7e3..b5c341365765 100644
--- a/games/ecwolf/distinfo
+++ b/games/ecwolf/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1677436927
+TIMESTAMP = 1747478477
SHA256 (ecwolf-1.4.1-src.tar.xz) = 8ebd495d2806c9d0e736656970e736730a005d3b43c7f5729f52c812b22f9e2d
SIZE (ecwolf-1.4.1-src.tar.xz) = 14701860
+SHA256 (raw) = f061278a17260923df27d471422d35be239f5618e9160573ee4153071b8fd938
+SIZE (raw) = 550