mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
scummvm, fix for 32bit (#12367)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 126506f1365c483ab3bffaf13b2524028067b7fb Mon Sep 17 00:00:00 2001
|
||||
From 8e3c9607a983f6c07577f88e8e87dd7956e1307b Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 25 Jan 2025 10:12:50 +0100
|
||||
Subject: Haiku patch
|
||||
@@ -97,3 +97,30 @@ index a9b2525..8abda06 100755
|
||||
--
|
||||
2.48.1
|
||||
|
||||
|
||||
From 5dee27721596cd087c42db55099ed7812a334ce9 Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Tue, 13 May 2025 10:40:18 +0200
|
||||
Subject: Fix conflicting int types
|
||||
|
||||
|
||||
diff --git a/common/scummsys.h b/common/scummsys.h
|
||||
index 397e46d..ce3a169 100644
|
||||
--- a/common/scummsys.h
|
||||
+++ b/common/scummsys.h
|
||||
@@ -505,6 +505,12 @@
|
||||
*/
|
||||
typedef unsigned long uint32;
|
||||
typedef signed long int32;
|
||||
+#elif defined(__HAIKU__)
|
||||
+ /**
|
||||
+ * Without this, we get conflicting declaration errors on Haiku 32bit
|
||||
+ * For 64bit this doesn't change much
|
||||
+ */
|
||||
+ #include <SupportDefs.h>
|
||||
#else
|
||||
typedef uint32_t uint32;
|
||||
typedef int32_t int32;
|
||||
--
|
||||
2.48.1
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ INSTALL()
|
||||
make install
|
||||
mv $appsDir/scummvm $appsDir/ScummVM
|
||||
|
||||
#we are not linux
|
||||
# cleanup
|
||||
rm -r $dataDir/{applications,icons,pixmaps}
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
|
||||
Reference in New Issue
Block a user