Package: glib2.0 / 2.42.1-1

10_kfreebsd_issetugid_prototype.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2320,6 +2320,12 @@
 
 #endif
 
+#ifdef HAVE_ISSETUGID
+/* Debian GNU/kFreeBSD doesn't have a prototype for issetugid(),
+ * see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635205 */
+int issetugid(void);
+#endif
+
 /* Private API:
  *
  * Returns %TRUE if the current process was executed as setuid (or an