diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2011-12-23 10:03:42 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2011-12-23 10:03:42 +0000 |
commit | f79d5901a5493a88633a9531ef311f921f5a6e24 (patch) | |
tree | 8c4a44c89230896d0b9f67fb73ebf5b713de4927 /emulators | |
parent | 8aa03a4f0bc48336de2720ac748a95e312c96649 (diff) | |
download | ports-f79d5901a5493a88633a9531ef311f921f5a6e24.tar.gz ports-f79d5901a5493a88633a9531ef311f921f5a6e24.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/virtualbox-ose-additions/files/patch-include-iprt-types.h | 19 | ||||
-rw-r--r-- | emulators/virtualbox-ose-kmod/files/patch-include-iprt-types.h | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-additions/files/patch-include-iprt-types.h b/emulators/virtualbox-ose-additions/files/patch-include-iprt-types.h new file mode 100644 index 000000000000..afa28bbb1461 --- /dev/null +++ b/emulators/virtualbox-ose-additions/files/patch-include-iprt-types.h @@ -0,0 +1,19 @@ +- Fix build failure on FreeBSD 10-CURRENT after r228444 + +include/iprt/types.h:174: error: redefinition of typedef 'bool' +@/sys/types.h:271: error: previous declaration of 'bool' was here + +Submitted by: Daichi GOTO <daichi@freebsd.org> +--- include/iprt/types.h.orig 2011-10-28 16:29:51.000000000 +0200 ++++ include/iprt/types.h 2011-12-22 10:17:16.000000000 +0100 +@@ -167,6 +167,10 @@ + # if defined(__GNUC__) + # if defined(RT_OS_LINUX) && __GNUC__ < 3 + typedef uint8_t bool; ++# elif defined(RT_OS_FREEBSD) ++# ifndef __bool_true_false_are_defined ++typedef _Bool bool; ++# endif + # else + # if defined(RT_OS_DARWIN) && defined(_STDBOOL_H) + # undef bool diff --git a/emulators/virtualbox-ose-kmod/files/patch-include-iprt-types.h b/emulators/virtualbox-ose-kmod/files/patch-include-iprt-types.h new file mode 100644 index 000000000000..afa28bbb1461 --- /dev/null +++ b/emulators/virtualbox-ose-kmod/files/patch-include-iprt-types.h @@ -0,0 +1,19 @@ +- Fix build failure on FreeBSD 10-CURRENT after r228444 + +include/iprt/types.h:174: error: redefinition of typedef 'bool' +@/sys/types.h:271: error: previous declaration of 'bool' was here + +Submitted by: Daichi GOTO <daichi@freebsd.org> +--- include/iprt/types.h.orig 2011-10-28 16:29:51.000000000 +0200 ++++ include/iprt/types.h 2011-12-22 10:17:16.000000000 +0100 +@@ -167,6 +167,10 @@ + # if defined(__GNUC__) + # if defined(RT_OS_LINUX) && __GNUC__ < 3 + typedef uint8_t bool; ++# elif defined(RT_OS_FREEBSD) ++# ifndef __bool_true_false_are_defined ++typedef _Bool bool; ++# endif + # else + # if defined(RT_OS_DARWIN) && defined(_STDBOOL_H) + # undef bool |