From 79c8e88118b9b8731ec17fb6805ca6eba2b1f9df Mon Sep 17 00:00:00 2001 From: Robert Joslyn Date: Sun, 14 Apr 2019 09:17:24 -0700 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- 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 d647eca0ad..0000000000 --- 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 /* accept */ - #include /* malloc */ - #include /* close */ diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb index 012dceb237..b64f05c570 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 \ "