diff options
Diffstat (limited to 'hal-0.5.11-patches/0029-fix-building-on-Linux-2.6.28.patch')
-rw-r--r-- | hal-0.5.11-patches/0029-fix-building-on-Linux-2.6.28.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/hal-0.5.11-patches/0029-fix-building-on-Linux-2.6.28.patch b/hal-0.5.11-patches/0029-fix-building-on-Linux-2.6.28.patch new file mode 100644 index 00000000..915ac212 --- /dev/null +++ b/hal-0.5.11-patches/0029-fix-building-on-Linux-2.6.28.patch @@ -0,0 +1,27 @@ +From 53dd479745a257b85c1f8cafe8420d784dbc1fcb Mon Sep 17 00:00:00 2001 +From: Martin Pitt <martin.pitt@ubuntu.com> +Date: Thu, 27 Nov 2008 19:32:35 +0100 +Subject: [PATCH 29/48] fix building on Linux 2.6.28 + +2.6.28 changed linux/serial.h to use __32, which is provided by +linux/types.h. While arguably a kernel bug, working around it by +including it explicitly doesn't hurt. +--- + hald/linux/probing/probe-serial.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/hald/linux/probing/probe-serial.c b/hald/linux/probing/probe-serial.c +index df5a749..048275f 100644 +--- a/hald/linux/probing/probe-serial.c ++++ b/hald/linux/probing/probe-serial.c +@@ -29,6 +29,7 @@ + #endif + + #include <fcntl.h> ++#include <linux/types.h> + #include <linux/serial.h> + #include <stdint.h> + #include <stdio.h> +-- +1.6.1.2 + |