[oe-commits] Martin Jansa : gpm: fix build with eglibc-2.17

git at git.openembedded.org git at git.openembedded.org
Sun Jan 13 10:42:17 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 469cd4ff12b1f94f42d68e049f384873aa0954eb
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=469cd4ff12b1f94f42d68e049f384873aa0954eb

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Thu Jan 10 12:44:08 2013 +0100

gpm: fix build with eglibc-2.17

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../gpm/gpm-1.99.7/eglibc-2.17.patch               |   12 ++++++++++++
 meta-oe/recipes-support/gpm/gpm_1.99.7.bb          |    3 ++-
 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 0000000..e43bdcb
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm-1.99.7/eglibc-2.17.patch
@@ -0,0 +1,12 @@
+Upstream-Status: pending
+
+--- gpm-1.99.7.orig/src/daemon/open_console.c	2008-07-24 12:33:05.000000000 +0200
++++ gpm-1.99.7/src/daemon/open_console.c	2013-01-10 12:39:47.975461947 +0100
+@@ -23,6 +23,7 @@
+ #include <fcntl.h>              /* open and co.  */
+ #include <sys/stat.h>           /* stat() */
+ #include <sys/ioctl.h>          /* ioctl() */
++#include <sys/types.h>          /* major() */
+ 
+ /* Linux specific (to be outsourced in gpm2 */
+ #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 a8af6ab..e35e50e 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"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://gpm2/core/main.c;endline=19;md5=66d3c205c4e7ee5704b2ee351dfed72f"
 
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "ncurses"
 
 SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \
            file://no-docs.patch \
            file://processcreds.patch \
+           file://eglibc-2.17.patch \
            file://init"
 
 inherit autotools update-rc.d





More information about the Openembedded-commits mailing list