Here is an update for games/amnesia-tdd, released on March 24, 2022.

release notes:
https://github.com/shamazmazum/AmnesiaTheDarkDescent/releases/tag/v0.3.2

this update:
- switches to using tags (0.3.2)
- removes -O0 workaround

Upstream fixed crashing on startup with clang 13 so the previous
workaround of -O0 can be removed. Before, it would crash while loading
into the game with the default -O2.

see:
https://github.com/shamazmazum/AmnesiaTheDarkDescent/commit/173305679a775ffd4d21e4a1081aaf9756725b2b
https://github.com/shamazmazum/AmnesiaTheDarkDescent/commit/c94265b539b61087987cedbe94a1ed71cba9ecbe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258509#c10

Playing through some existing saves and starting a new game works.

Feedback and tests are welcome. OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/amnesia-tdd/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile    11 Mar 2022 19:04:06 -0000      1.6
+++ Makefile    5 Oct 2022 22:48:19 -0000
@@ -4,12 +4,12 @@ ONLY_FOR_ARCHS = amd64
 
 COMMENT =      first person survival horror game
 
-DISTNAME =     amnesia-tdd-0.0pl20211020
-REVISION =     0
+V =            0.3.2
+DISTNAME =     amnesia-tdd-${V}
 
 GH_ACCOUNT =   shamazmazum
 GH_PROJECT =   AmnesiaTheDarkDescent
-GH_COMMIT =    11717474d4c0b6a7c0aca72dfd36efb6dedc50ed
+GH_TAGNAME =   v${V}
 
 CATEGORIES =   games
 
@@ -27,10 +27,6 @@ WANTLIB += theora vorbis vorbisfile z
 COMPILER =     base-clang ports-gcc base-gcc
 
 MODULES =      devel/cmake
-
-# override optimization level because clang 13 segfaults but 11 worked with -O2
-CFLAGS+=       -O0
-CXXFLAGS+=     -O0
 
 LIB_DEPENDS =  audio/libogg \
                audio/libvorbis \
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/amnesia-tdd/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    27 Oct 2021 01:13:41 -0000      1.1.1.1
+++ distinfo    5 Oct 2022 22:48:19 -0000
@@ -1,2 +1,2 @@
-SHA256 (amnesia-tdd-0.0pl20211020-11717474.tar.gz) = 
0fibXWmEUmcW0t7Udeog7413njRL35ZsYjElKC3tRWs=
-SIZE (amnesia-tdd-0.0pl20211020-11717474.tar.gz) = 6710172
+SHA256 (amnesia-tdd-0.3.2.tar.gz) = 
xP2BBEuCY+wA1tRmkrIPA5cYmzAETR8TBpifUlfvZcs=
+SIZE (amnesia-tdd-0.3.2.tar.gz) = 6709761

Reply via email to