aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-04-23 17:33:29 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-04-23 17:33:29 +0000
commit1039465e557c7c12805479d7312e55aff6985eb5 (patch)
treef6bce8cd9ba4d6a51d0ce371a244b932fa53484f /emulators
parent6902ac935961b25813e2ff33bed7fe1e57eb1ffe (diff)
downloadports-1039465e557c7c12805479d7312e55aff6985eb5.tar.gz
ports-1039465e557c7c12805479d7312e55aff6985eb5.zip
Fix build on 4.x
PR: ports/95887 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=160235
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu-devel/files/patch-target-mips-cpu.h15
-rw-r--r--emulators/qemu/files/patch-target-mips-cpu.h15
2 files changed, 30 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-target-mips-cpu.h b/emulators/qemu-devel/files/patch-target-mips-cpu.h
new file mode 100644
index 000000000000..52d83af15fb2
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-target-mips-cpu.h
@@ -0,0 +1,15 @@
+Index: qemu/target-mips/cpu.h
+@@ -8,6 +8,13 @@
+ #include "config.h"
+ #include "softfloat.h"
+
++#ifdef __FreeBSD__
++#if __FreeBSD__ <= 4
++typedef uint32_t uint_fast8_t;
++typedef uint32_t uint_fast16_t;
++#endif
++#endif
++
+ typedef union fpr_t fpr_t;
+ union fpr_t {
+ double d;
diff --git a/emulators/qemu/files/patch-target-mips-cpu.h b/emulators/qemu/files/patch-target-mips-cpu.h
new file mode 100644
index 000000000000..52d83af15fb2
--- /dev/null
+++ b/emulators/qemu/files/patch-target-mips-cpu.h
@@ -0,0 +1,15 @@
+Index: qemu/target-mips/cpu.h
+@@ -8,6 +8,13 @@
+ #include "config.h"
+ #include "softfloat.h"
+
++#ifdef __FreeBSD__
++#if __FreeBSD__ <= 4
++typedef uint32_t uint_fast8_t;
++typedef uint32_t uint_fast16_t;
++#endif
++#endif
++
+ typedef union fpr_t fpr_t;
+ union fpr_t {
+ double d;