git: 0f95ad22bee8 - main - games/vvvvvv: Fix build with utf8cpp 4.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 17:23:43 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f95ad22bee8b60a1c9b369f7d52239a1617d521
commit 0f95ad22bee8b60a1c9b369f7d52239a1617d521
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:53:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:16:49 +0000
games/vvvvvv: Fix build with utf8cpp 4.0.0+
---
games/vvvvvv/Makefile | 2 +-
games/vvvvvv/files/patch-CMakeLists.txt | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/games/vvvvvv/Makefile b/games/vvvvvv/Makefile
index 462176f12b91..1e012eb34d83 100644
--- a/games/vvvvvv/Makefile
+++ b/games/vvvvvv/Makefile
@@ -25,7 +25,7 @@ LICENSE_PERMS_VVVVVV= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accep
IGNORE= license requires that the license be shipped
.endif
-BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp
+BUILD_DEPENDS= utf8cpp>=4.0.0:devel/utf8cpp
LIB_DEPENDS= libtinyxml2.so:textproc/tinyxml2 \
libphysfs.so:devel/physfs
diff --git a/games/vvvvvv/files/patch-CMakeLists.txt b/games/vvvvvv/files/patch-CMakeLists.txt
index 0927b9a29e55..87e3b1b9cf56 100644
--- a/games/vvvvvv/files/patch-CMakeLists.txt
+++ b/games/vvvvvv/files/patch-CMakeLists.txt
@@ -9,3 +9,12 @@
# Add interim commit hash and its date to the build
# find_package sets GIT_FOUND and GIT_EXECUTABLE
+@@ -296,7 +296,7 @@ if(BUNDLE_DEPENDENCIES)
+ else()
+ find_package(utf8cpp CONFIG)
+
+- target_link_libraries(VVVVVV physfs tinyxml2 utf8cpp lodepng-static)
++ target_link_libraries(VVVVVV physfs tinyxml2 lodepng-static)
+ endif()
+
+ # SDL2 Dependency (Detection pulled from FAudio)