From: Dmitry Eremin-Solenikov Date: Wed, 29 Sep 2010 13:53:51 +0000 (+0400) Subject: gpm: fix compilation due to missing struct ucred X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=015e393510da2c49ec332b788425e0d3f7d853a0;p=openembedded.git gpm: fix compilation due to missing struct ucred Signed-off-by: Dmitry Eremin-Solenikov --- 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 /* accept */ + #include /* malloc */ + #include /* 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