Update to Arx Libertatis 1.2.1 (hotfix). Fixes unintended changes to
calculations for player armor class, poison and magic resistance. Release announcement: https://arx-libertatis.org/releases/1.2.1
This commit is contained in:
parent
502e8ca012
commit
7657db57f6
@ -6,7 +6,7 @@ MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
|
||||
PKGNAME = arx-libertatis-${GH_TAGNAME}
|
||||
GH_ACCOUNT = arx
|
||||
GH_PROJECT = ArxLibertatis
|
||||
GH_TAGNAME = 1.2
|
||||
GH_TAGNAME = 1.2.1
|
||||
|
||||
SHARED_LIBS += ArxIO 0.0 # 1.2
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (ArxLibertatis-1.2.tar.gz) = jNeMwvwrpAQx3PpG56FhBXmW+K2nWnivE9l35A1AE9M=
|
||||
SIZE (ArxLibertatis-1.2.tar.gz) = 1478180
|
||||
SHA256 (ArxLibertatis-1.2.1.tar.gz) = tVrdZiAsYhSRiAzr90YBJU1wqF1ygaFvvYqTXWdfo4k=
|
||||
SIZE (ArxLibertatis-1.2.1.tar.gz) = 1480440
|
||||
|
@ -4,7 +4,7 @@ neuter doxygen
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -590,8 +590,6 @@ if(BUILD_CRASHREPORTER OR BUILD_PROFILER)
|
||||
@@ -593,8 +593,6 @@ if(BUILD_CRASHREPORTER OR BUILD_PROFILER)
|
||||
|
||||
endif()
|
||||
|
||||
@ -13,7 +13,7 @@ Index: CMakeLists.txt
|
||||
find_package(PythonInterp)
|
||||
|
||||
# Check for consistent configuration between SDL and libepoxy/GLEW
|
||||
@@ -1831,7 +1829,7 @@ if(BUILD_IO_LIBRARY)
|
||||
@@ -1841,7 +1839,7 @@ if(BUILD_IO_LIBRARY)
|
||||
list(APPEND ArxIO_SOURCES src/platform/WindowsUtils.cpp)
|
||||
endif()
|
||||
|
||||
@ -22,7 +22,7 @@ Index: CMakeLists.txt
|
||||
|
||||
add_library_shared(ArxIO "${ArxIO_SOURCES}" "${ArxIO_LIBRARIES}")
|
||||
set_binary_public_headers(ArxIO src/lib/ArxIO.h)
|
||||
@@ -1897,19 +1895,6 @@ endif()
|
||||
@@ -1907,19 +1905,6 @@ endif()
|
||||
|
||||
|
||||
# Custom make targets
|
||||
|
@ -1,24 +0,0 @@
|
||||
Avoid infinite loop in getCoreDumpFile()
|
||||
GitHub PR #265
|
||||
|
||||
Index: src/platform/crashhandler/CrashHandlerPOSIX.cpp
|
||||
--- src/platform/crashhandler/CrashHandlerPOSIX.cpp.orig
|
||||
+++ src/platform/crashhandler/CrashHandlerPOSIX.cpp
|
||||
@@ -171,7 +171,7 @@ static fs::path getCoreDumpFile() {
|
||||
size_t start = 0;
|
||||
while(start < pattern.length()) {
|
||||
|
||||
- size_t end = pattern.find('%');
|
||||
+ size_t end = pattern.find('%', start);
|
||||
if(end == std::string::npos) {
|
||||
end = pattern.length();
|
||||
}
|
||||
@@ -246,7 +246,7 @@ static fs::path getCoreDumpFile() {
|
||||
size_t start = 0;
|
||||
while(start < pattern.length()) {
|
||||
|
||||
- size_t end = pattern.find('%');
|
||||
+ size_t end = pattern.find('%', start);
|
||||
if(end == std::string::npos) {
|
||||
end = pattern.length();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user