devilutionx: update to 1.2.1

Adds support for the Hellfire expansion, among other things
This commit is contained in:
nia 2021-05-02 08:07:04 +00:00
parent 48f01b44b4
commit 44a5265e1b
3 changed files with 8 additions and 31 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2020/10/19 17:07:22 nia Exp $
# $NetBSD: Makefile,v 1.16 2021/05/02 08:07:04 nia Exp $
DISTNAME= devilutionx-1.1.0
DISTNAME= devilutionx-1.2.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=diasurgical/}
GITHUB_PROJECT= devilutionX
@ -25,6 +25,7 @@ CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
CMAKE_ARGS+= -DASAN=OFF -DUBSAN=OFF
CMAKE_ARGS+= -DDEBUG=OFF
CMAKE_ARGS+= -DVERSION_NUM=${PKGVERSION_NOREV}
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/applications

View file

@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.9 2020/10/19 17:07:22 nia Exp $
$NetBSD: distinfo,v 1.10 2021/05/02 08:07:04 nia Exp $
SHA1 (devilutionx-1.1.0.tar.gz) = 41329a1af38c8c30996f9730255a4172028dc80e
RMD160 (devilutionx-1.1.0.tar.gz) = 1fd4f89b57b3d4b576e75068918803378dee8a9c
SHA512 (devilutionx-1.1.0.tar.gz) = 341e7f2e74e7af4a7b42054b58b6518c2f286f2fdcb21c5553a15912c044ea08f6c7b07a2079e7e795a5146e7a301789fe32b6fda5ff9fbec0654d886d423b38
Size (devilutionx-1.1.0.tar.gz) = 2271614 bytes
SHA1 (devilutionx-1.2.1.tar.gz) = a3fb641bc6d82f9e747d5b30f49bc3b9634ad2d9
RMD160 (devilutionx-1.2.1.tar.gz) = 40aef41b2d86bd90a24975aa68e297c61edff779
SHA512 (devilutionx-1.2.1.tar.gz) = 9327b127d0ad22d640b1a13fad9bfa00ba0fc512dd7ed362a9e84a80278d84634cd039cba7c98f15425715b11a35dc6ac07d75c816c3cbc818e6ab8c4437cf18
Size (devilutionx-1.2.1.tar.gz) = 3573200 bytes
SHA1 (patch-3rdParty_asio_include_asio_detail_impl_kqueue__reactor.ipp) = 1fdf31e70f72d4c4cadb76f64d06c3974e6f61d9
SHA1 (patch-CMakeLists.txt) = 99963356afd54ca93493bd498cbd37e14a37c67a

View file

@ -1,23 +0,0 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2020/10/19 17:07:22 nia Exp $
NetBSD support.
--- CMakeLists.txt.orig 2020-10-10 22:26:16.000000000 +0000
+++ CMakeLists.txt
@@ -92,10 +92,14 @@ elseif(TARGET_PLATFORM STREQUAL "cpigame
include(cpigamesh_defs)
endif()
-if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL OpenBSD)
+if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL NetBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL OpenBSD)
set(ASAN OFF)
set(UBSAN OFF)
- add_definitions(-D_BSD_SOURCE)
+ if(${CMAKE_SYSTEM_NAME} STREQUAL NetBSD)
+ add_definitions(-D_NETBSD_SOURCE)
+ else()
+ add_definitions(-D_BSD_SOURCE)
+ endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DO_LARGEFILE=0 -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64_t=off_t -Dfstat64=fstat -Dftruncate64=ftruncate")
endif()