mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-01 16:07:57 +02:00
* glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
there to get strsignal prototype, addresses the rest of Freedesktop 10652.
This commit is contained in:
parent
163d95c5b9
commit
ce499699bc
2 changed files with 15 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
|||
2007-06-18 Tollef Fog Heen <tfheen@err.no>
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <string.h>
|
||||
#include <locale.h>
|
||||
#include <ctype.h> /* For tolower() */
|
||||
#if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL)
|
||||
#define _GNU_SOURCE
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#include "glib.h"
|
||||
/* do not include <unistd.h> in this place since it
|
||||
* inteferes with g_strsignal() on some OSes
|
||||
@@ -671,7 +671,6 @@
|
||||
char *msg;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue