summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gpm
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-01-10 12:44:08 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-13 11:39:45 +0100
commit469cd4ff12b1f94f42d68e049f384873aa0954eb (patch)
tree525a51b8ea68eaecc05ab7d8dde307d7ca124f7a /meta-oe/recipes-support/gpm
parent9ec0d24a5f1b6d769f706f1b7a585eee9c119041 (diff)
downloadmeta-openembedded-469cd4ff12b1f94f42d68e049f384873aa0954eb.tar.gz
gpm: fix build with eglibc-2.17
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gpm')
-rw-r--r--meta-oe/recipes-support/gpm/gpm-1.99.7/eglibc-2.17.patch12
-rw-r--r--meta-oe/recipes-support/gpm/gpm_1.99.7.bb3
2 files changed, 14 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm-1.99.7/eglibc-2.17.patch b/meta-oe/recipes-support/gpm/gpm-1.99.7/eglibc-2.17.patch
new file mode 100644
index 000000000..e43bdcb22
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm-1.99.7/eglibc-2.17.patch
@@ -0,0 +1,12 @@
1Upstream-Status: pending
2
3--- gpm-1.99.7.orig/src/daemon/open_console.c 2008-07-24 12:33:05.000000000 +0200
4+++ gpm-1.99.7/src/daemon/open_console.c 2013-01-10 12:39:47.975461947 +0100
5@@ -23,6 +23,7 @@
6 #include <fcntl.h> /* open and co. */
7 #include <sys/stat.h> /* stat() */
8 #include <sys/ioctl.h> /* ioctl() */
9+#include <sys/types.h> /* major() */
10
11 /* Linux specific (to be outsourced in gpm2 */
12 #include <linux/serial.h> /* for serial console check */
diff --git a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
index a8af6ab9b..e35e50ee3 100644
--- a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
+++ b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
@@ -5,13 +5,14 @@ SECTION = "console/utils"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://gpm2/core/main.c;endline=19;md5=66d3c205c4e7ee5704b2ee351dfed72f" 6LIC_FILES_CHKSUM = "file://gpm2/core/main.c;endline=19;md5=66d3c205c4e7ee5704b2ee351dfed72f"
7 7
8PR = "r1" 8PR = "r2"
9 9
10DEPENDS = "ncurses" 10DEPENDS = "ncurses"
11 11
12SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \ 12SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \
13 file://no-docs.patch \ 13 file://no-docs.patch \
14 file://processcreds.patch \ 14 file://processcreds.patch \
15 file://eglibc-2.17.patch \
15 file://init" 16 file://init"
16 17
17inherit autotools update-rc.d 18inherit autotools update-rc.d