View | Details | Raw Unified | Return to bug 273883 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/devilutionX/Makefile (-11 / +11 lines)
Lines 1-6 Link Here
1
PORTNAME=	devilutionX
1
PORTNAME=	devilutionX
2
DISTVERSION=	1.4.1
2
DISTVERSION=	1.5.1
3
PORTREVISION=	2
4
CATEGORIES=	games
3
CATEGORIES=	games
5
MASTER_SITES=	https://github.com/diasurgical/devilutionx-assets/releases/download/${DATA_VERSION}/:data
4
MASTER_SITES=	https://github.com/diasurgical/devilutionx-assets/releases/download/${DATA_VERSION}/:data
6
DISTFILES=	devilutionx.mpq?tag=${DATA_VERSION}:data
5
DISTFILES=	devilutionx.mpq?tag=${DATA_VERSION}:data
Lines 10-30 MAINTAINER= amdmi3@FreeBSD.org Link Here
10
COMMENT=	Diablo I engine for modern operating systems
9
COMMENT=	Diablo I engine for modern operating systems
11
WWW=		https://github.com/diasurgical/devilutionX
10
WWW=		https://github.com/diasurgical/devilutionX
12
11
13
LICENSE=	UNLICENSE CC-BY-NC-SA-4.0 OFL11
12
LICENSE=	CC-BY-NC-SA-4.0 OFL11 SUL
14
LICENSE_COMB=	multi
13
LICENSE_COMB=	multi
15
LICENSE_FILE_UNLICENSE=	${WRKSRC}/LICENSE
14
LICENSE_NAME_SUL=	Sustainable Use License
16
15
LICENSE_FILE_SUL=	${WRKSRC}/LICENSE.md
17
BROKEN=		does not build with libfmt 10+. See https://github.com/diasurgical/devilutionX/issues/6098
16
LICENSE_PERMS_SUL=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
18
17
19
LIB_DEPENDS=	libfmt.so:devel/libfmt
18
LIB_DEPENDS=	libfmt.so:devel/libfmt
20
BUILD_DEPENDS=	${LOCALBASE}/include/SimpleIni.h:devel/simpleini
19
BUILD_DEPENDS=	${LOCALBASE}/include/SimpleIni.h:devel/simpleini
21
20
22
USES=		cmake compiler:c++11-lang dos2unix gettext-tools pkgconfig sdl
21
USES=		cmake compiler:c++17-lang dos2unix gettext-tools pathfix \
22
		pkgconfig sdl
23
DOS2UNIX_GLOB=	*.cpp *.h CMakeLists.txt Dependencies.cmake
23
DOS2UNIX_GLOB=	*.cpp *.h CMakeLists.txt Dependencies.cmake
24
USE_GITHUB=	yes
24
USE_GITHUB=	yes
25
GH_ACCOUNT=	diasurgical
25
GH_ACCOUNT=	diasurgical
26
GH_TUPLE=	diasurgical:libsmackerdec:2997ee0e41e91bb723003bc09234be553b190e38:libsmackerdec/_deps/libsmackerdec-src \
26
GH_TUPLE=	diasurgical:libsmackerdec:91e732bb6953489077430572f43fc802bf2c75b2:libsmackerdec/_deps/libsmackerdec-src \
27
		diasurgical:libmpq:0f10bd1600f406b13932bf5351ba713361262184:libmpq/_deps/libmpq-src
27
		diasurgical:libmpq:7c2924d4553513eba1a70bbdb558198dd8c2726a:libmpq/_deps/libmpq-src
28
USE_SDL=	sdl2 image2
28
USE_SDL=	sdl2 image2
29
29
30
CMAKE_ARGS=	-DCMAKE_INSTALL_SHAREDIR:PATH=${PREFIX}/share \
30
CMAKE_ARGS=	-DCMAKE_INSTALL_SHAREDIR:PATH=${PREFIX}/share \
Lines 48-60 NETWORK_CMAKE_BOOL_OFF= NONET Link Here
48
TCP_DESC=		TCP multiplayer option
48
TCP_DESC=		TCP multiplayer option
49
TCP_CMAKE_BOOL_OFF=	DISABLE_TCP
49
TCP_CMAKE_BOOL_OFF=	DISABLE_TCP
50
TCP_IMPLIES=		NETWORK
50
TCP_IMPLIES=		NETWORK
51
TCP_GH_TUPLE=		diasurgical:asio:ebeff99f539da23d27c2e8d4bdbc1ee011968644:asio/_deps/asio-src
51
TCP_GH_TUPLE=		diasurgical:asio:cfbe961e2d6e2978d5e081231e4f798df46437c5:asio/_deps/asio-src
52
52
53
ZEROTIER_DESC=		ZeroTier multiplayer option (broken)
53
ZEROTIER_DESC=		ZeroTier multiplayer option (broken)
54
ZEROTIER_BROKEN=	does not build: fatal error: 'sys/appleapiopts.h' file not found
54
ZEROTIER_BROKEN=	does not build: fatal error: 'sys/appleapiopts.h' file not found
55
ZEROTIER_CMAKE_BOOL_OFF=DISABLE_ZERO_TIER
55
ZEROTIER_CMAKE_BOOL_OFF=DISABLE_ZERO_TIER
56
ZEROTIER_IMPLIES=	NETWORK
56
ZEROTIER_IMPLIES=	NETWORK
57
ZEROTIER_GH_TUPLE=	diasurgical:libzt:37a2efb0b925df632299ef07dc78c0af5f6b4756:libzt/_deps/libzt-src \
57
ZEROTIER_GH_TUPLE=	diasurgical:libzt:1aa9cfda3e92f7108fec67bf12691e457c53f7df:libzt/_deps/libzt-src \
58
			diasurgical:ZeroTierOne:b1350ac91118d1bd6bb71c0c41be5f4a30196838:ZeroTierOne/_deps/libzt-src/ext/ZeroTierOne \
58
			diasurgical:ZeroTierOne:b1350ac91118d1bd6bb71c0c41be5f4a30196838:ZeroTierOne/_deps/libzt-src/ext/ZeroTierOne \
59
			diasurgical:lwip:1bf7e011caf4e992ad139f6cb8c9818a9c1fbe1b:lwip/_deps/libzt-src/ext/lwip \
59
			diasurgical:lwip:1bf7e011caf4e992ad139f6cb8c9818a9c1fbe1b:lwip/_deps/libzt-src/ext/lwip \
60
			diasurgical:lwip-contrib:1f9e26e221a41542563834222c4ec8399be1908f:lwipcontrib/_deps/libzt-src/ext/lwip-contrib
60
			diasurgical:lwip-contrib:1f9e26e221a41542563834222c4ec8399be1908f:lwipcontrib/_deps/libzt-src/ext/lwip-contrib
(-)b/games/devilutionX/distinfo (-11 / +11 lines)
Lines 1-16 Link Here
1
TIMESTAMP = 1659554836
1
TIMESTAMP = 1705272539
2
SHA256 (devilutionx.mpq?tag=v2) = 90467c15f5e0ac902b2b8ac916f63a1fe2dd4b554ca36ab218bcd27f5121e988
2
SHA256 (devilutionx.mpq?tag=v2) = 90467c15f5e0ac902b2b8ac916f63a1fe2dd4b554ca36ab218bcd27f5121e988
3
SIZE (devilutionx.mpq?tag=v2) = 4959860
3
SIZE (devilutionx.mpq?tag=v2) = 4959860
4
SHA256 (diasurgical-devilutionX-1.4.1_GH0.tar.gz) = 54b9fd496eba5b82d7e64891ab4de808f539c60b3b94bfa49639e0d9580fb7b8
4
SHA256 (diasurgical-devilutionX-1.5.1_GH0.tar.gz) = 9d88dec4df58e391940b77edb86f356b34e2c085c5e3191262fa6276d745d1cb
5
SIZE (diasurgical-devilutionX-1.4.1_GH0.tar.gz) = 7578111
5
SIZE (diasurgical-devilutionX-1.5.1_GH0.tar.gz) = 9445335
6
SHA256 (diasurgical-libsmackerdec-2997ee0e41e91bb723003bc09234be553b190e38_GH0.tar.gz) = 40c0dc21943de22e153d56a7992c621a42a0c56c7cd833f8b84f90e48da753ea
6
SHA256 (diasurgical-libsmackerdec-91e732bb6953489077430572f43fc802bf2c75b2_GH0.tar.gz) = e565e37ef1ae4f8846d9c9c24b861bc56fdce2d7a4ece47de448e00aa9048b87
7
SIZE (diasurgical-libsmackerdec-2997ee0e41e91bb723003bc09234be553b190e38_GH0.tar.gz) = 18556
7
SIZE (diasurgical-libsmackerdec-91e732bb6953489077430572f43fc802bf2c75b2_GH0.tar.gz) = 18576
8
SHA256 (diasurgical-libmpq-0f10bd1600f406b13932bf5351ba713361262184_GH0.tar.gz) = ee173f5edb20f162482658cbc9d4bb84b640f651041d686c0ad7b2af12baf2a1
8
SHA256 (diasurgical-libmpq-7c2924d4553513eba1a70bbdb558198dd8c2726a_GH0.tar.gz) = ab8c004cc62d6e01b06a6f8d1ec67704728ed6163886b40d1f7fa5421a2b387d
9
SIZE (diasurgical-libmpq-0f10bd1600f406b13932bf5351ba713361262184_GH0.tar.gz) = 69570
9
SIZE (diasurgical-libmpq-7c2924d4553513eba1a70bbdb558198dd8c2726a_GH0.tar.gz) = 70645
10
SHA256 (diasurgical-asio-ebeff99f539da23d27c2e8d4bdbc1ee011968644_GH0.tar.gz) = 88bb72f7bbdde7dbd050789bd73ff2abb2e9eacd8f9c889202b502f222230b6e
10
SHA256 (diasurgical-asio-cfbe961e2d6e2978d5e081231e4f798df46437c5_GH0.tar.gz) = df6c9ae6cc8d6614bb44ae49a3aabca64d73572ec4a930d35481b8081c00ea11
11
SIZE (diasurgical-asio-ebeff99f539da23d27c2e8d4bdbc1ee011968644_GH0.tar.gz) = 1614738
11
SIZE (diasurgical-asio-cfbe961e2d6e2978d5e081231e4f798df46437c5_GH0.tar.gz) = 1615438
12
SHA256 (diasurgical-libzt-37a2efb0b925df632299ef07dc78c0af5f6b4756_GH0.tar.gz) = 7fdbc4a73e3e1d0b98521c0b6520f89852a0896158a815070052e37a2a08b585
12
SHA256 (diasurgical-libzt-1aa9cfda3e92f7108fec67bf12691e457c53f7df_GH0.tar.gz) = a18060784ea4c81462dbf31ec0b96b39ee1771acad7a45c728c6bcb19ae3cf01
13
SIZE (diasurgical-libzt-37a2efb0b925df632299ef07dc78c0af5f6b4756_GH0.tar.gz) = 390934
13
SIZE (diasurgical-libzt-1aa9cfda3e92f7108fec67bf12691e457c53f7df_GH0.tar.gz) = 327920
14
SHA256 (diasurgical-ZeroTierOne-b1350ac91118d1bd6bb71c0c41be5f4a30196838_GH0.tar.gz) = 39c1b7e28f9d4d92edaaa831007715358465a068019fe84a56b5366b386a1363
14
SHA256 (diasurgical-ZeroTierOne-b1350ac91118d1bd6bb71c0c41be5f4a30196838_GH0.tar.gz) = 39c1b7e28f9d4d92edaaa831007715358465a068019fe84a56b5366b386a1363
15
SIZE (diasurgical-ZeroTierOne-b1350ac91118d1bd6bb71c0c41be5f4a30196838_GH0.tar.gz) = 13122622
15
SIZE (diasurgical-ZeroTierOne-b1350ac91118d1bd6bb71c0c41be5f4a30196838_GH0.tar.gz) = 13122622
16
SHA256 (diasurgical-lwip-1bf7e011caf4e992ad139f6cb8c9818a9c1fbe1b_GH0.tar.gz) = 1477b5a427672480d0035b5af3e2cfae01c691afa9cace4500b43fcd262fa0bf
16
SHA256 (diasurgical-lwip-1bf7e011caf4e992ad139f6cb8c9818a9c1fbe1b_GH0.tar.gz) = 1477b5a427672480d0035b5af3e2cfae01c691afa9cace4500b43fcd262fa0bf
(-)b/games/devilutionX/files/patch-3rdParty_asio_CMakeLists.txt (+10 lines)
Added Link Here
1
--- 3rdParty/asio/CMakeLists.txt.orig	2024-01-15 01:03:52 UTC
2
+++ 3rdParty/asio/CMakeLists.txt
3
@@ -8,6 +8,7 @@ add_library(asio INTERFACE)
4
 FetchContent_MakeAvailableExcludeFromAll(asio)
5
 
6
 add_library(asio INTERFACE)
7
+target_compile_definitions(asio INTERFACE ASIO_HAS_STD_INVOKE_RESULT=ON)
8
 target_include_directories(asio INTERFACE ${asio_SOURCE_DIR}/asio/include)
9
 
10
 if(NINTENDO_3DS OR NINTENDO_SWITCH)
(-)a/games/devilutionX/files/patch-CMake_Dependencies.cmake (-14 lines)
Removed Link Here
1
--- CMake/Dependencies.cmake.orig	2022-07-25 04:41:06 UTC
2
+++ CMake/Dependencies.cmake
3
@@ -31,7 +31,9 @@ else()
4
   if(DEVILUTIONX_SYSTEM_SDL2)
5
     find_package(SDL2 REQUIRED)
6
     if(TARGET SDL2::SDL2)
7
-      set(SDL2_MAIN SDL2::SDL2main)
8
+      if(TARGET SDL2::SDL2main)
9
+        set(SDL2_MAIN SDL2::SDL2main)
10
+      endif()
11
     elseif(TARGET SDL2::SDL2-static)
12
       # On some distros, such as vitasdk, only the SDL2::SDL2-static target is available.
13
       # Alias to SDL2::SDL2 because some finder scripts may refer to SDL2::SDL2.
14
- 

Return to bug 273883