From ce499699bca7fe9ba33bfa3e73d7f64c26673893 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 18 Jun 2007 22:53:52 +0200 Subject: [PATCH] * glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE there to get strsignal prototype, addresses the rest of Freedesktop 10652. --- ChangeLog | 4 ++++ glib-patches/remove-strsignal-prototype.diff | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index f1888dc..7da5f34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-06-18 Tollef Fog Heen + * glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE + there to get strsignal prototype, addresses the rest of + Freedesktop 10652. + * popt.c: Remove code calling setresuid and setreuid, pkg-config should not ever be suid. Partially addresses Freedesktop #10652 diff --git a/glib-patches/remove-strsignal-prototype.diff b/glib-patches/remove-strsignal-prototype.diff index ce88481..c7b0934 100644 --- a/glib-patches/remove-strsignal-prototype.diff +++ b/glib-patches/remove-strsignal-prototype.diff @@ -1,5 +1,16 @@ --- glib-1.2.8/gstrfuncs.c 2000-04-17 17:05:16.000000000 +0200 +++ glib-1.2.8/gstrfuncs.c.new 2005-04-02 16:39:10.627002672 +0200 +@@ -38,10 +38,10 @@ + #include + #include + #include /* For tolower() */ + #if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL) + #define _GNU_SOURCE + #include + #endif + #include "glib.h" + /* do not include in this place since it + * inteferes with g_strsignal() on some OSes @@ -671,7 +671,6 @@ char *msg; -- 2.39.5