summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Joslyn <robert.joslyn@redrectangle.org>2019-04-14 09:17:24 -0700
committerKhem Raj <raj.khem@gmail.com>2019-04-14 23:26:42 -0700
commit79c8e88118b9b8731ec17fb6805ca6eba2b1f9df (patch)
tree21f26f931ef48e8b7b371506789f6f0ac5601f22
parente4226eaf1c6da19dbcdb3cf157cb1a52037e051a (diff)
downloadmeta-openembedded-79c8e88118b9b8731ec17fb6805ca6eba2b1f9df.tar.gz
gpm: Remove duplicate definition of _GNU_SOURCE
The Makefile already sets -D_GNU_SOURCE in CPPFLAGS, no need to patch it in again. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/gpm/gpm/processcreds.patch12
-rw-r--r--meta-oe/recipes-support/gpm/gpm_git.bb1
2 files changed, 0 insertions, 13 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm/processcreds.patch b/meta-oe/recipes-support/gpm/gpm/processcreds.patch
deleted file mode 100644
index d647eca0a..000000000
--- a/meta-oe/recipes-support/gpm/gpm/processcreds.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1Index: gpm-1.99.7/src/daemon/processconn.c
2===================================================================
3--- gpm-1.99.7.orig/src/daemon/processconn.c 2010-09-29 17:36:18.571782951 +0400
4+++ gpm-1.99.7/src/daemon/processconn.c 2010-09-29 17:42:44.659991758 +0400
5@@ -20,6 +20,7 @@
6 *
7 ********/
8
9+#define _GNU_SOURCE
10 #include <sys/socket.h> /* accept */
11 #include <stdlib.h> /* malloc */
12 #include <unistd.h> /* close */
diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb
index 012dceb23..b64f05c57 100644
--- a/meta-oe/recipes-support/gpm/gpm_git.bb
+++ b/meta-oe/recipes-support/gpm/gpm_git.bb
@@ -13,7 +13,6 @@ DEPENDS = "ncurses bison-native"
13 13
14SRC_URI = "git://github.com/telmich/gpm;protocol=git \ 14SRC_URI = "git://github.com/telmich/gpm;protocol=git \
15 file://init \ 15 file://init \
16 file://processcreds.patch \
17 file://gpm.service.in \ 16 file://gpm.service.in \
18 file://0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch \ 17 file://0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch \
19 " 18 "