summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-06-16 13:34:10 -0400
committerJohn Baldwin <jhb@FreeBSD.org>2025-06-16 13:34:10 -0400
commit68ebb371daa317bc18cb51b759497955f3ffc830 (patch)
tree8419c9978b4c00f3ec500283e68f25dc67c1c3b8
parentkde.mk: add common WWW for Plasma 6 ports (diff)
games/pink-pony: Pass nullptr instead of NULL to auto_ptr constructor
PR: 286476 Reviewed by: otis Differential Revision: https://reviews.freebsd.org/D50351
-rw-r--r--games/pink-pony/Makefile2
-rw-r--r--games/pink-pony/files/patch-src_Menu.cc11
2 files changed, 12 insertions, 1 deletions
diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile
index 48ff4f73dc48..103234e46723 100644
--- a/games/pink-pony/Makefile
+++ b/games/pink-pony/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pink-pony
PORTVERSION= 1.4.1
-PORTREVISION= 48
+PORTREVISION= 49
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
diff --git a/games/pink-pony/files/patch-src_Menu.cc b/games/pink-pony/files/patch-src_Menu.cc
new file mode 100644
index 000000000000..a7ca891664d0
--- /dev/null
+++ b/games/pink-pony/files/patch-src_Menu.cc
@@ -0,0 +1,11 @@
+--- src/Menu.cc.orig 2025-05-13 14:45:49 UTC
++++ src/Menu.cc
+@@ -88,7 +88,7 @@ Menu::Menu (Config* config,
+ : active_screen(MAIN_SCREEN),
+ config(config),
+ skydome(skydome),
+- heightmap(NULL),
++ heightmap(nullptr),
+ logo_button(config->resource_dir + "textures/logo.png"),
+ start_button("Start", config),
+ quit_button(config->resource_dir + "textures/quit.png"),