Skip to content

Commit

Permalink
games/spring: switch from p7zip to 7-Zip
Browse files Browse the repository at this point in the history
PR:		262592
Submitted by:	makc
  • Loading branch information
AMDmi3 committed Mar 17, 2022
1 parent eeff2c2 commit 06a5762
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion games/spring/Makefile
Expand Up @@ -18,7 +18,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libcurl.so:ftp/curl \
libunwind.so:devel/libunwind \
libjsoncpp.so:devel/jsoncpp
BUILD_DEPENDS= 7z:archivers/p7zip
BUILD_DEPENDS= 7zz:archivers/7-zip

BROKEN_FreeBSD_12= ld: error: undefined symbol: streflop_libm::__inline_isnanf(float)
ONLY_FOR_ARCHS= amd64
Expand Down
11 changes: 11 additions & 0 deletions games/spring/files/patch-rts_build_cmake_FindSevenZip.cmake
@@ -0,0 +1,11 @@
--- rts/build/cmake/FindSevenZip.cmake.orig 2020-12-26 12:45:43 UTC
+++ rts/build/cmake/FindSevenZip.cmake
@@ -23,7 +23,7 @@ ENDIF (SEVENZIP_BIN)
set(progfilesx86 "ProgramFiles(x86)")

find_program(SEVENZIP_BIN
- NAMES 7z 7za
+ NAMES 7zz
HINTS "${MINGWDIR}" "${MINGWLIBS}/bin" "$ENV{${progfilesx86}}/7-zip" "$ENV{ProgramFiles}/7-zip" "$ENV{ProgramW6432}/7-zip"
PATH_SUFFIXES bin
DOC "7zip executable"

0 comments on commit 06a5762

Please sign in to comment.