aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra/acpica/files/fix_ftbfs_debian-kfreebsd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro/recipes-extra/acpica/files/fix_ftbfs_debian-kfreebsd.patch')
-rw-r--r--meta-linaro/recipes-extra/acpica/files/fix_ftbfs_debian-kfreebsd.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/acpica/files/fix_ftbfs_debian-kfreebsd.patch b/meta-linaro/recipes-extra/acpica/files/fix_ftbfs_debian-kfreebsd.patch
new file mode 100644
index 00000000..461bf4d5
--- /dev/null
+++ b/meta-linaro/recipes-extra/acpica/files/fix_ftbfs_debian-kfreebsd.patch
@@ -0,0 +1,38 @@
+Package: acpica-unix
+Severity: important
+Version: 20060912-2
+Tags: patch
+
+
+Hi,
+
+the current version fails to build on GNU/kFreeBSD.
+
+It needs small tweak to define uintptr_t, see bellow.
+
+It would also be nice if you can ask upstream
+to include this change.
+
+Thanks in advance
+
+ Petr
+
+
+---
+ source/include/platform/acenv.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+Index: acpica-unix/source/include/platform/acenv.h
+===================================================================
+--- acpica-unix.orig/source/include/platform/acenv.h 2013-01-31 15:29:53.000000000 -0700
++++ acpica-unix/source/include/platform/acenv.h 2013-01-31 15:29:53.000000000 -0700
+@@ -136,6 +136,9 @@
+
+
+ /*! [Begin] no source code translation */
++#if defined(__GLIBC__)
++#include <stdint.h>
++#endif
+
+ /******************************************************************************
+ *