1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

games/devilutionX: Update to 1.0.1

ChangeLog: https://github.com/diasurgical/devilutionX/releases/tag/1.0.1

PR:	244722
Submitted by:	benny.goemans@gmail.com (maintainer)
This commit is contained in:
Fernando Apesteguía 2020-03-24 17:48:45 +00:00
parent 12cd3f3b6a
commit 719caa8075
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529057
5 changed files with 28 additions and 20 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= devilutionX
PORTVERSION= 1.0.0
PORTVERSION= 1.0.1
CATEGORIES= games
MAINTAINER= benny.goemans@gmail.com

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1577908977
SHA256 (diasurgical-devilutionX-1.0.0_GH0.tar.gz) = fafb0bac935bbbee8e261d7fbd2d4ea769b88bbc78ba1affef74064a2cc77779
SIZE (diasurgical-devilutionX-1.0.0_GH0.tar.gz) = 1798349
TIMESTAMP = 1583844955
SHA256 (diasurgical-devilutionX-1.0.1_GH0.tar.gz) = 165564fefdbfd0b4fbf74688ea1beb1d811eb1d8e200b9faad5b70ae2ac7564e
SIZE (diasurgical-devilutionX-1.0.1_GH0.tar.gz) = 2005920

View File

@ -1,4 +1,4 @@
--- 3rdParty/StormLib/src/StormPort.h.orig 2019-10-11 11:58:58 UTC
--- 3rdParty/StormLib/src/StormPort.h.orig 2020-03-10 14:00:26 UTC
+++ 3rdParty/StormLib/src/StormPort.h
@@ -165,6 +165,7 @@
#include <ctype.h>
@ -6,5 +6,13 @@
#include <errno.h>
+ #include <strings.h>
#ifndef __BIG_ENDIAN__
#define PLATFORM_LITTLE_ENDIAN
@@ -193,6 +194,7 @@
#include <ctype.h>
#include <assert.h>
#include <errno.h>
+ #include <strings.h>
#ifndef __BIG_ENDIAN__
#define PLATFORM_LITTLE_ENDIAN

View File

@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2019-12-27 15:25:22 UTC
--- CMakeLists.txt.orig 2020-03-10 14:00:26 UTC
+++ CMakeLists.txt
@@ -326,7 +326,7 @@ if(WIN32)
@@ -491,7 +491,7 @@ if(WIN32)
endif()
endif()
@ -9,7 +9,7 @@
# Enable POSIX extensions such as `readlink` and `ftruncate`.
add_definitions(-D_POSIX_C_SOURCE=200809L)
endif()
@@ -337,8 +337,8 @@ endif()
@@ -502,8 +502,8 @@ endif()
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
# Change __FILE__ to only show the path relative to the project folder
@ -20,7 +20,7 @@
if(DEBUG)
# Note: For Valgrind suppor.
@@ -399,3 +399,9 @@ if(APPLE)
@@ -564,6 +564,12 @@ if(APPLE)
include(CPack)
endif()
@ -30,3 +30,6 @@
+install(FILES Packaging/resources/16.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/16x16/apps RENAME devilutionx.png)
+install(FILES Packaging/resources/Diablo_32.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/32x32/apps RENAME devilutionx.png)
+install(FILES Packaging/resources/Diablo_48.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/48x48/apps RENAME devilutionx.png)
if(SWITCH)
set(APP_TITLE "DevilutionX")

View File

@ -1,18 +1,15 @@
--- Packaging/fedora/devilutionx.desktop.orig 2019-12-27 16:29:35 UTC
--- Packaging/fedora/devilutionx.desktop.orig 2020-03-09 00:37:54 UTC
+++ Packaging/fedora/devilutionx.desktop
@@ -1,11 +1,11 @@
@@ -1,9 +1,9 @@
[Desktop Entry]
-Name=devilutionX
+Name=DevilutionX
Name=devilutionX
GenericName=DevilutionX
-Comment=Play Diablo I on Linux
-Comment[da]=Spil Diablo I på Linux
-Comment[hr]=Igrajte Diablo I na Linuxu
+Comment=Play Diablo I
+Comment[da]=Spil Diablo I
+Comment[hr]=Igrajte Diablo I
Exec=devilutionx
-Icon=devilutionx.png
+Icon=devilutionx
Icon=devilutionx.png
Terminal=false
Type=Application
X-DCOP-ServiceType=Multi
X-KDE-StartupNotify=true
-Categories=Qt;Game;RolePlaying;
+Categories=Game;RolePlaying;