rocksndiamonds, bump to 4.4.0.5 (#12931)

This commit is contained in:
Schrijvers Luc
2025-09-14 17:40:04 +02:00
committed by GitHub
parent 9223fcc378
commit bbe3e3a23a
2 changed files with 11 additions and 11 deletions

View File

@@ -1,37 +1,37 @@
From 0b47ee21ea3f03466697df0dcd0ed3168f24772c Mon Sep 17 00:00:00 2001
From 138cfe80502293857b1c3a07033fe331e634381d Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 23 Mar 2019 13:23:30 +0100
Subject: fix undefined references to fopen64, ftello64 and fseeko64
diff --git a/src/libgame/zip/ioapi.h b/src/libgame/zip/ioapi.h
index 0741de4..1791243 100644
index 1c70d61..d8177bb 100644
--- a/src/libgame/zip/ioapi.h
+++ b/src/libgame/zip/ioapi.h
@@ -33,7 +33,7 @@
# define ftello64 ftell
# define fseeko64 fseek
#else
-# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__ANDROID__) || defined(__linux__)
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__ANDROID__) || defined(__linux__) || defined(__HAIKU__)
-# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__ANDROID__) || defined(__linux__) || defined(__EMSCRIPTEN__) || defined(__OS2__)
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__ANDROID__) || defined(__linux__) || defined(__EMSCRIPTEN__) || defined(__OS2__) || defined(__HAIKU__)
# define fopen64 fopen
# define ftello64 ftello
# define fseeko64 fseeko
--
2.26.0
2.50.1
From f4c180d791a648dbeaa2c99ea23b4532b4542145 Mon Sep 17 00:00:00 2001
From 67d1ae4ac4feee181da76a62f4819bd2e8bfeecb Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Wed, 10 Jun 2020 08:49:55 +1000
Subject: Use realpath for argv[0]
diff --git a/src/main.c b/src/main.c
index 59faa00..23d34d0 100644
index f191602..0f14992 100644
--- a/src/main.c
+++ b/src/main.c
@@ -7749,6 +7749,9 @@ static void InitProgramConfig(char *command_filename)
@@ -9639,6 +9639,9 @@ static void InitProgramConfig(char *command_filename)
int main(int argc, char *argv[])
{
@@ -42,5 +42,5 @@ index 59faa00..23d34d0 100644
InitWindowTitleFunction(getWindowTitleString);
--
2.26.0
2.50.1

View File

@@ -12,8 +12,8 @@ HOMEPAGE="https://www.artsoft.org/rocksndiamonds/"
COPYRIGHT="2001-2020 Artsoft Entertainment"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-$portVersion.tar.gz"
CHECKSUM_SHA256="e0be33b3ff6c9b28728d6eea7cd94d9bf20fe54a0438006c85d3a7102bc595ef"
SOURCE_URI="https://www.artsoft.org/RELEASES/linux/rocksndiamonds/rocksndiamonds-$portVersion-linux.tar.gz"
CHECKSUM_SHA256="f1ee99629168510e3eca41c32e52965b250034fab5957bfb2111d859f04e53f5"
ADDITIONAL_FILES="rocksndiamonds.rdef.in"
PATCHES="rocksndiamonds-$portVersion.patchset"