fteqw: update to 2025-09-27 (#13061)

This commit is contained in:
erysdren
2025-10-14 03:40:46 -05:00
committed by GitHub
parent 5edaffea6d
commit cf7edcf2e9
3 changed files with 6 additions and 41 deletions

View File

@@ -16,15 +16,14 @@ Features:
- Works on Windows, Linux, OpenBSD, Haiku... & more!
- New features are added all the time in cooperation with modders!"
HOMEPAGE="https://www.fteqw.org/"
COPYRIGHT="2002-2023 Forethought Entertainment"
COPYRIGHT="2002-2025 Forethought Entertainment"
LICENSE="GNU GPL v2"
REVISION="1"
gitRevision="1f9f3635f0aef3b2eed6b40e35fcf6223c6ad533"
gitRevision="c781d13255ce72fcd24e47567244f970e1ba7c50"
SOURCE_URI="https://github.com/fte-team/fteqw/archive/$gitRevision.tar.gz"
CHECKSUM_SHA256="c9376b7516444cc12e04a771f6e3bad91146762c3ecadc2aeda87287922dc48e"
CHECKSUM_SHA256="0dc698905cff09fe5133bf839b073e3bd2a321551649278dd44a1dbed5f02e0c"
SOURCE_DIR="fteqw-$gitRevision"
ADDITIONAL_FILES="fteqw-$portVersion.rdef.in"
PATCHES="fteqw-$portVersion.patchset"
ADDITIONAL_FILES="fteqw.rdef.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -93,8 +92,8 @@ INSTALL()
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
$portDir/additional-files/fteqw-$portVersion.rdef.in > fteqw-$portVersion.rdef
$portDir/additional-files/fteqw.rdef.in > fteqw.rdef
addResourcesToBinaries fteqw-$portVersion.rdef $prefix/bin/fteqw
addResourcesToBinaries fteqw.rdef $prefix/bin/fteqw
mimeset -f $prefix/bin/fteqw
}

View File

@@ -1,34 +0,0 @@
From 22fd6c21d4a4c2322267c1e3166b4a4891ff22ee Mon Sep 17 00:00:00 2001
From: erysdren <contact@erysdren.me>
Date: Thu, 23 May 2024 03:57:12 -0500
Subject: [PATCH] Fix compilation on CMake+Git builds for Haiku
---
engine/common/fs.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/engine/common/fs.c b/engine/common/fs.c
index aedcf70..628d71a 100644
--- a/engine/common/fs.c
+++ b/engine/common/fs.c
@@ -1260,17 +1260,6 @@ ftemanifest_t *FS_Manifest_ReadMem(const char *fname, const char *basedir, const
}
}
-#ifdef SVNREVISION
- //svnrevision is often '-', which means we can't just use it as a constant.
- {
- int ver = atoi(STRINGIFY(SVNREVISION));
- if (man->minver > ver || (man->maxver && man->maxver < ver))
- {
- FS_Manifest_Free(man);
- return NULL;
- }
- }
-#endif
return man;
}
--
2.45.1