mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
ResidualVM: fix build for secondaryArch
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 9a30d0226c12ad22878211eb2b727443e4d11609 Mon Sep 17 00:00:00 2001
|
||||
From b74acc13daf1c8591cce1ddb06d0e60b48d48166 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 27 Oct 2018 18:51:08 +1000
|
||||
Subject: Use find_directory
|
||||
@@ -115,3 +115,35 @@ index 84be67b..0d8fd58 100644
|
||||
--
|
||||
2.19.1
|
||||
|
||||
|
||||
From d8b6419feb7fb54603d72981bced53c8ddceede5 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 27 Oct 2018 20:55:34 +1000
|
||||
Subject: Fix build for x86_gcc2
|
||||
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 7e0c930..be18bc2 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -5343,6 +5343,9 @@ $_config_h_data
|
||||
|
||||
/* Data types */
|
||||
typedef unsigned $type_1_byte byte;
|
||||
+#ifdef __HAIKU__
|
||||
+#include <SupportDefs.h>
|
||||
+#else
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned $type_1_byte uint8;
|
||||
typedef unsigned $type_2_byte uint16;
|
||||
@@ -5350,6 +5353,7 @@ typedef unsigned $type_4_byte uint32;
|
||||
typedef signed $type_1_byte int8;
|
||||
typedef signed $type_2_byte int16;
|
||||
typedef signed $type_4_byte int32;
|
||||
+#endif
|
||||
EOF
|
||||
|
||||
if test -n "$_def_64bit_type_unsigned" ; then
|
||||
--
|
||||
2.19.1
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ systems for which they were never designed!"
|
||||
HOMEPAGE="http://www.residualvm.org/"
|
||||
COPYRIGHT="2003-2018 ResidualVM Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.residualvm.org/downloads/release/$portVersion/residualvm-$portVersion-sources.tar.gz"
|
||||
CHECKSUM_SHA256="515b02129dd374bc9c0b732ddeaaaa3a342cc25ea0ea3c4ccf19141b5d362e1d"
|
||||
PATCHES="residualvm-$portVersion.patchset"
|
||||
|
||||
Reference in New Issue
Block a user