git: 9fbd787cbf0a - main - graphics/pngwriter: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 23 Sep 2026 19:11:20 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9fbd787cbf0aea8db8258f7a065c5e34dc85ec40

commit 9fbd787cbf0aea8db8258f7a065c5e34dc85ec40
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-23 19:09:19 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-23 19:09:19 +0000

    graphics/pngwriter: Fix building with CMake 4
---
 graphics/pngwriter/files/patch-CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/graphics/pngwriter/files/patch-CMakeLists.txt b/graphics/pngwriter/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..5f6f8009df19
--- /dev/null
+++ b/graphics/pngwriter/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2018-01-22 13:10:17 UTC
++++ CMakeLists.txt
+@@ -18,7 +18,7 @@
+ 
+ # Preamble ####################################################################
+ #
+-cmake_minimum_required(VERSION 3.0.1)
++cmake_minimum_required(VERSION 3.5)
+ 
+ project(PNGwriter VERSION 0.7.0 LANGUAGES CXX)
+