Skip to content

Commit

Permalink
games/vvvvvv: Fix build with utf8cpp 4.0.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Nov 14, 2023
1 parent ac83956 commit 0f95ad2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion games/vvvvvv/Makefile
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions games/vvvvvv/files/patch-CMakeLists.txt
Expand Up @@ -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)

0 comments on commit 0f95ad2

Please sign in to comment.