Created attachment 242546 [details] glaxnimate-0.5.3 (apply with git am) Build test 12.4-amd64: OK Build test -CURRENT-amd64: OK Run test -CURRENT-amd64: OK graphics/glaxnimate: Update to 0.5.3 - Flavorize to allow building against Qt5 or Qt6 - Application crashes when built with -O2 or greater, so downgrade to -O1 for release builds. glaxnimate 0.5.1 kept crashing upon startup for me with just the splash screen being briefly displayed, so I decided to try updating it to 0.5.3, but it still kept crashing. I couldn't produce any useful debug output because the problem went away when I built with debug enabled. Subsequently, I found that building with -O1 or lower allowed the application to run normally. Still not sure why this is exactly. Fixed over-aggressive pkg-plist substitutions. Added the DEBUG option because messing with CXXFLAGS in the Makefile prevents the ports framework from honoring -DWITH_DEBUG on the commandline.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7678c5250415c2397f0b14458a4b4e86b097b4f4 commit 7678c5250415c2397f0b14458a4b4e86b097b4f4 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-06-02 00:51:51 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-06-02 07:57:41 +0000 graphics/glaxnimate: Update to 0.5.3 - Flavorize to allow building against Qt5 or Qt6 - Application crashes when built with -O2 or greater, so downgrade to -O1 for release builds. PR: 271777 graphics/glaxnimate/Makefile | 46 +++++++++++++++++----- graphics/glaxnimate/distinfo | 18 ++++----- graphics/glaxnimate/files/patch-CMakeLists.txt | 24 +++++++++-- ...tch-src_gui_emoji_emoji__set__dialog.cpp (gone) | 13 ------ graphics/glaxnimate/pkg-plist | 25 +++++++++--- 5 files changed, 86 insertions(+), 40 deletions(-)