git: 73c3103fb638 - main - games/ecwolf: fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 May 2025 11:06:21 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=73c3103fb638cf512042f47de76f5b6ca1f92890
commit 73c3103fb638cf512042f47de76f5b6ca1f92890
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-05-17 10:55:12 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-05-17 11:06:18 +0000
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/engin
e.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.
---
games/ecwolf/Makefile | 3 +++
games/ecwolf/distinfo | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
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