git: 68ebb371daa3 - main - games/pink-pony: Pass nullptr instead of NULL to auto_ptr constructor

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 16 Jun 2025 17:34:33 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68ebb371daa317bc18cb51b759497955f3ffc830

commit 68ebb371daa317bc18cb51b759497955f3ffc830
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-06-16 17:34:10 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-06-16 17:34:10 +0000

    games/pink-pony: Pass nullptr instead of NULL to auto_ptr constructor
    
    PR:             286476
    Reviewed by:    otis
    Differential Revision:  https://reviews.freebsd.org/D50351
---
 games/pink-pony/Makefile                |  2 +-
 games/pink-pony/files/patch-src_Menu.cc | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

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"),