diff options
author | Julien ROZO | 2009-02-06 10:43:52 +0100 |
---|---|---|
committer | Arwed von Merkatz | 2009-02-10 17:50:35 +0100 |
commit | ed87b87a83d0a29f7dd6504a73b6a6b3ae6ccaee (patch) | |
tree | 8e2d37690acd465293f14ed6a8cbe83be41ee1e8 | |
parent | 9c912a813668e7db5dd468544a3c269aebe04eed (diff) |
hal: added a patch to fix compilation issue with latest kernel headers
(cherry picked from commit c2865b1d83f506f9eb9ff13e435131d1c2205781)
-rw-r--r-- | utils/hal/HISTORY | 4 | ||||
-rwxr-xr-x | utils/hal/PRE_BUILD | 3 | ||||
-rw-r--r-- | utils/hal/probe-serial.patch | 11 |
3 files changed, 18 insertions, 0 deletions
diff --git a/utils/hal/HISTORY b/utils/hal/HISTORY index 15fa6a12a4..998cd8fdb5 100644 --- a/utils/hal/HISTORY +++ b/utils/hal/HISTORY @@ -1,3 +1,7 @@ +2009-02-06 Julien "_kaze_" ROZO <julien@rozo.org> + * PRE_BUILD, probe-serial.patch: added, fix compilation issue with latest + kernel headers + 2008-11-28 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 0.5.12rc1 diff --git a/utils/hal/PRE_BUILD b/utils/hal/PRE_BUILD new file mode 100755 index 0000000000..e23f4fb720 --- /dev/null +++ b/utils/hal/PRE_BUILD @@ -0,0 +1,3 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && +patch -p1 < $SPELL_DIRECTORY/probe-serial.patch diff --git a/utils/hal/probe-serial.patch b/utils/hal/probe-serial.patch new file mode 100644 index 0000000000..020290e51d --- /dev/null +++ b/utils/hal/probe-serial.patch @@ -0,0 +1,11 @@ +diff -Naru hal-0.5.12rc1.old/hald/linux/probing/probe-serial.c hal-0.5.12rc1/hald/linux/probing/probe-serial.c +--- hal-0.5.12rc1.old/hald/linux/probing/probe-serial.c 2009-02-06 10:34:01.000000000 +0000 ++++ hal-0.5.12rc1/hald/linux/probing/probe-serial.c 2009-02-06 10:27:47.000000000 +0000 +@@ -29,6 +29,7 @@ + #endif + + #include <fcntl.h> ++#include <linux/types.h> + #include <linux/serial.h> + #include <stdint.h> + #include <stdio.h> |