FreeBSD Bugzilla – Attachment 191429 Details for
Bug 226537
games/freeminer: update to 0.4.14.8, add missing deps, add luajit 2.1 support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
freeminer-update.patch
freeminer-update.patch (text/plain), 2.87 KB, created by
Val Packett
on 2018-03-11 19:16:56 UTC
(
hide
)
Description:
freeminer-update.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2018-03-11 19:16:56 UTC
Size:
2.87 KB
patch
obsolete
>diff --git c/games/freeminer/Makefile i/games/freeminer/Makefile >index 44059eb2b09b..2ba9e3973a78 100644 >--- c/games/freeminer/Makefile >+++ i/games/freeminer/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= freeminer >-PORTVERSION= 0.4.10.4 >+PORTVERSION= 0.4.14.8 > PORTREVISION= 5 > CATEGORIES= games > >@@ -13,7 +13,12 @@ LICENSE= LGPL21+ GPLv3+ # source mentions GPLv3+, LICENSE.txt LGPL21+ > LICENSE_COMB= multi > LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING # don't remove space > >-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 >+LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ >+ libenet.so:net/enet \ >+ libgmp.so:math/gmp \ >+ libsnappy.so:archivers/snappy \ >+ libjsoncpp.so:devel/jsoncpp \ >+ libmsgpackc.so:devel/msgpack > > USE_GITHUB= yes > >@@ -21,6 +26,8 @@ USES= compiler:c++11-lib cmake > LLD_UNSAFE= yes > CMAKE_ARGS= -DCUSTOM_MANDIR="${PREFIX}/man" \ > -DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \ >+ -DENABLE_SYSTEM_JSONCPP=ON \ >+ -DENABLE_SYSTEM_MSGPACK=ON \ > -DRUN_IN_PLACE=0 > > PORTDATA= * >@@ -41,9 +48,10 @@ LUAJIT_DESC= LuaJIT support > CLIENT_CMAKE_ON= -DBUILD_CLIENT=1 > CLIENT_CMAKE_OFF= -DBUILD_CLIENT=0 > CLIENT_LIB_DEPENDS= libpng.so:graphics/png \ >+ libogg.so:audio/libogg \ > libIrrlicht.so:x11-toolkits/irrlicht > CLIENT_USES= jpeg >-CLIENT_USE= GL=gl XORG=x11 >+CLIENT_USE= GL=gl,glu XORG=x11,sm,ice,xext,xxf86vm > SERVER_CMAKE_ON= -DBUILD_SERVER=1 > SERVER_CMAKE_OFF= -DBUILD_SERVER=0 > CURL_CMAKE_ON= -DENABLE_CURL=1 >@@ -92,6 +100,9 @@ post-patch: > .if ! ${PORT_OPTIONS:MLUAJIT} > @${REINPLACE_CMD} -e '/find_/ s|LUA_|NO&|g' \ > ${WRKSRC}/src/CMakeLists.txt >+.else >+ @${REINPLACE_CMD} -e 's|const luaL_reg|const luaL_Reg|' \ >+ ${WRKSRC}/src/script/lua_api/* > .endif > > post-install: >diff --git c/games/freeminer/distinfo i/games/freeminer/distinfo >index f0852be47d44..90247a9597e8 100644 >--- c/games/freeminer/distinfo >+++ i/games/freeminer/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (freeminer-freeminer-0.4.10.4_GH0.tar.gz) = a4d2e4f069542f92b4aa4463e85a04b66af485c5195c23e96070e8ad1c60e146 >-SIZE (freeminer-freeminer-0.4.10.4_GH0.tar.gz) = 5770010 >+TIMESTAMP = 1520793430 >+SHA256 (freeminer-freeminer-0.4.14.8_GH0.tar.gz) = 2a7d044d30aed20e4669c8804a1d38e6ce060ba1a89ce11a8f00cf46b3c2de7e >+SIZE (freeminer-freeminer-0.4.14.8_GH0.tar.gz) = 5650886 >diff --git c/games/freeminer/files/patch-cmake_Modules_FindLuaJIT.cmake i/games/freeminer/files/patch-cmake_Modules_FindLuaJIT.cmake >new file mode 100644 >index 000000000000..8f3ffa764753 >--- /dev/null >+++ i/games/freeminer/files/patch-cmake_Modules_FindLuaJIT.cmake >@@ -0,0 +1,11 @@ >+--- cmake/Modules/FindLuaJIT.cmake.orig 2018-03-11 18:37:44 UTC >++++ cmake/Modules/FindLuaJIT.cmake >+@@ -9,7 +9,7 @@ >+ FIND_PATH(LUA_INCLUDE_DIR luajit.h >+ HINTS >+ $ENV{LUA_DIR} >+- PATH_SUFFIXES include/luajit-2.0 include/luajit-5_1-2.0 include >++ PATH_SUFFIXES include/luajit-2.1 include/luajit-2.0 include/luajit-5_1-2.0 include >+ PATHS >+ ~/Library/Frameworks >+ /Library/Frameworks
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226537
:
191429
|
191430