[oe] [meta-oe][PATCH 4/5] gpm: Remove duplicate definition of _GNU_SOURCE

Robert Joslyn robert.joslyn at redrectangle.org
Sun Apr 14 16:17:24 UTC 2019


The Makefile already sets -D_GNU_SOURCE in CPPFLAGS, no need to patch it
in again.

Signed-off-by: Robert Joslyn <robert.joslyn at redrectangle.org>
---
 meta-oe/recipes-support/gpm/gpm/processcreds.patch | 12 ------------
 meta-oe/recipes-support/gpm/gpm_git.bb             |  1 -
 2 files changed, 13 deletions(-)
 delete mode 100644 meta-oe/recipes-support/gpm/gpm/processcreds.patch

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 @@
-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/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"
 
 SRC_URI = "git://github.com/telmich/gpm;protocol=git \
            file://init \
-           file://processcreds.patch \
            file://gpm.service.in \
            file://0001-Use-sigemptyset-API-instead-of-__sigemptyset.patch \
            "
-- 
2.21.0



More information about the Openembedded-devel mailing list