summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/gpm/gpm-1.99.7/processcreds.patch12
-rw-r--r--recipes/gpm/gpm_1.99.7.bb1
2 files changed, 13 insertions, 0 deletions
diff --git a/recipes/gpm/gpm-1.99.7/processcreds.patch b/recipes/gpm/gpm-1.99.7/processcreds.patch
new file mode 100644
index 0000000000..d647eca0ad
--- /dev/null
+++ b/recipes/gpm/gpm-1.99.7/processcreds.patch
@@ -0,0 +1,12 @@
+Index: gpm-1.99.7/src/daemon/processconn.c
+===================================================================
+--- gpm-1.99.7.orig/src/daemon/processconn.c 2010-09-29 17:36:18.571782951 +0400
++++ gpm-1.99.7/src/daemon/processconn.c 2010-09-29 17:42:44.659991758 +0400
+@@ -20,6 +20,7 @@
+ *
+ ********/
+
++#define _GNU_SOURCE
+ #include <sys/socket.h> /* accept */
+ #include <stdlib.h> /* malloc */
+ #include <unistd.h> /* close */
diff --git a/recipes/gpm/gpm_1.99.7.bb b/recipes/gpm/gpm_1.99.7.bb
index 4f5ef023b4..02f048b41f 100644
--- a/recipes/gpm/gpm_1.99.7.bb
+++ b/recipes/gpm/gpm_1.99.7.bb
@@ -9,6 +9,7 @@ PR = "r1"
SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \
file://no-docs.patch \
+ file://processcreds.patch \
file://init"
inherit autotools update-rc.d