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.
This commit is contained in:
parent
a63dd0cdab
commit
73c3103fb6
@ -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/
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user