From b873c865f825e6608c304b59dca24ddada207c52 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Wed, 11 Dec 2024 12:35:20 +0800 Subject: [PATCH] updpatch: cataclysm-dda 0.H-2 Fix rotten. --- cataclysm-dda/riscv64.patch | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/cataclysm-dda/riscv64.patch b/cataclysm-dda/riscv64.patch index 2cb7ce57d..cf86b89f1 100644 --- a/cataclysm-dda/riscv64.patch +++ b/cataclysm-dda/riscv64.patch @@ -1,16 +1,19 @@ +diff --git PKGBUILD PKGBUILD +index a198c8b..c7dd064 100644 --- PKGBUILD +++ PKGBUILD -@@ -30,15 +30,15 @@ build() { +@@ -33,8 +33,8 @@ build() { export CXXFLAGS="${CXXFLAGS/-fcf-protection}" export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection}" -- make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all -- make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all TILES=1 SOUND=1 -+ make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 GOLD=0 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all -+ make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 GOLD=0 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all TILES=1 SOUND=1 +- make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all BACKTRACE=1 LIBBACKTRACE=1 +- make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all BACKTRACE=1 LIBBACKTRACE=1 TILES=1 SOUND=1 ++ make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 GOLD=0 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all BACKTRACE=1 LIBBACKTRACE=1 ++ make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 GOLD=0 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all BACKTRACE=1 LIBBACKTRACE=1 TILES=1 SOUND=1 + # TODO: Do we want this? + # make PREFIX=/usr object_creator ./lang/compile_mo.sh - } - +@@ -43,7 +43,7 @@ build() { package_cataclysm-dda() { cd "Cataclysm-DDA-$_pkgver" @@ -19,7 +22,7 @@ # Docs install -d "$pkgdir/usr/share/doc/cataclysm-dda" -@@ -71,7 +71,7 @@ package_cataclysm-dda-tiles() { +@@ -76,7 +76,7 @@ package_cataclysm-dda-tiles() { depends=('cataclysm-dda' 'sdl2_image' 'sdl2_ttf' 'freetype2' 'sdl2_mixer') cd "Cataclysm-DDA-$_pkgver"