Re: update games/amnesia-tdd 0.3.2
On Fri, Apr 28, 2023 at 11:15:00AM -0700, Nam Nguyen wrote: > Here is an inline diff that updates games/amnesia-tdd to 0.3.2 > (switching to GH_TAGNAME) and removes optimization level -O0 > workaround. -O0 used to be needed to prevent crashing, but it now works > fine without. Upgrading from 0.0pl20211020 to 0.3.2 works. > > I playtested several minutes. I am getting some blue block artifacts in > the intro movie, but it might be my graphics card, as I get it on the > current version, too. > > Feedback and tests are welcome. OK? Built and run-tested it briefly. I don't see any blue blocks at the beginning of the game, or the video at the beginning. Glad -O0 isn't needed anymore. ok thfr@ > 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 - 1.6 > +++ Makefile 28 Apr 2023 18:03:09 - > @@ -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 - 1.1.1.1 > +++ distinfo 28 Apr 2023 18:03:09 - > @@ -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 >
update games/amnesia-tdd 0.3.2
Here is an inline diff that updates games/amnesia-tdd to 0.3.2 (switching to GH_TAGNAME) and removes optimization level -O0 workaround. -O0 used to be needed to prevent crashing, but it now works fine without. Upgrading from 0.0pl20211020 to 0.3.2 works. I playtested several minutes. I am getting some blue block artifacts in the intro movie, but it might be my graphics card, as I get it on the current version, too. 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 --- Makefile11 Mar 2022 19:04:06 - 1.6 +++ Makefile28 Apr 2023 18:03:09 - @@ -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 --- distinfo27 Oct 2021 01:13:41 - 1.1.1.1 +++ distinfo28 Apr 2023 18:03:09 - @@ -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
update games/amnesia-tdd 0.3.2
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 --- Makefile11 Mar 2022 19:04:06 - 1.6 +++ Makefile5 Oct 2022 22:48:19 - @@ -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 --- distinfo27 Oct 2021 01:13:41 - 1.1.1.1 +++ distinfo5 Oct 2022 22:48:19 - @@ -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