From f8630649340617470efb11f9cd0cd8c2afc64cdc Mon Sep 17 00:00:00 2001 From: Phil Schumann Date: Wed, 6 Dec 2023 00:10:51 +0100 Subject: [PATCH] attract: rebuild for SFML-2.6.1 Co-authored-by: John --- srcpkgs/attract/patches/null.patch | 11 +++++++++++ srcpkgs/attract/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/attract/patches/null.patch diff --git a/srcpkgs/attract/patches/null.patch b/srcpkgs/attract/patches/null.patch new file mode 100644 index 00000000000..387e608fb10 --- /dev/null +++ b/srcpkgs/attract/patches/null.patch @@ -0,0 +1,11 @@ +--- a/extlibs/gameswf/gameswf/gameswf_sprite.cpp 2022-02-16 03:30:39.000000000 +0100 ++++ - 2023-12-06 00:05:49.469776618 +0100 +@@ -170,7 +170,7 @@ + // none. Coords are in parent's frame. + { + if (get_visible() == false) { +- return NULL; ++ return false; + } + + matrix m = get_matrix(); diff --git a/srcpkgs/attract/template b/srcpkgs/attract/template index 26144e931a3..24017d2bacc 100644 --- a/srcpkgs/attract/template +++ b/srcpkgs/attract/template @@ -1,7 +1,7 @@ # Template file for 'attract' pkgname=attract version=2.6.2 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="VERBOSE=1" make_use_env=yes