mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Aquaria: fix build for secondary arch
This commit is contained in:
@@ -17,7 +17,7 @@ and reveal the secret of Aquaria.
|
||||
HOMEPAGE="https://github.com/AquariaOSE/Aquaria/"
|
||||
COPYRIGHT="Bit Blot, LLC"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
srcGitRev="c37f6ea6d81a85005ef718e2958872bda3ee0c30"
|
||||
SOURCE_URI="https://github.com/AquariaOSE/Aquaria/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="65b0c3ca8beb1a780f0a54fc0b3731efd6552a34e56013a27a53f0f78ad81768"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 05c14612165d1df231c71e470422b32766111458 Mon Sep 17 00:00:00 2001
|
||||
From 8d0e4b67374a50088de986234361f3f76a45b357 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Wed, 17 Feb 2021 19:01:47 +1000
|
||||
Subject: Fix for Haiku
|
||||
@@ -149,3 +149,32 @@ index 941fc25..5a7ae55 100644
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
From f4c8f378437f172a04be100278995e71fd5bcb32 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Wed, 17 Feb 2021 22:19:35 +1000
|
||||
Subject: Use SupportDefs.h
|
||||
|
||||
|
||||
diff --git a/BBGE/Flags.h b/BBGE/Flags.h
|
||||
index 5eb304b..e8ff9ad 100644
|
||||
--- a/BBGE/Flags.h
|
||||
+++ b/BBGE/Flags.h
|
||||
@@ -24,10 +24,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#ifdef BBGE_BUILD_WINDOWS
|
||||
typedef unsigned __int32 uint32;
|
||||
#endif
|
||||
-#ifdef BBGE_BUILD_UNIX
|
||||
+#if defined(BBGE_BUILD_UNIX) && !defined(__HAIKU__)
|
||||
#include <stdint.h>
|
||||
typedef uint32_t uint32;
|
||||
#endif
|
||||
+#ifdef __HAIKU__
|
||||
+ #include <SupportDefs.h>
|
||||
+#endif
|
||||
#ifdef BBGE_BUILD_X360
|
||||
typedef unsigned int uint32;
|
||||
#endif
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user