summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-08-23 10:23:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-08-23 10:23:46 +0000
commit6831d2b511009906d46cee1dc2d810a96b2c71f8 (patch)
tree633ff63af1b6c0423ccf6c2145b99fd9f6a7a17e /net-libs/libgssglue/files
parentInitial commit. Ebuild based on the one by Oliver Jaksch in bug #341957, with... (diff)
downloadhistorical-6831d2b511009906d46cee1dc2d810a96b2c71f8.tar.gz
historical-6831d2b511009906d46cee1dc2d810a96b2c71f8.tar.bz2
historical-6831d2b511009906d46cee1dc2d810a96b2c71f8.zip
Version bump wrt security #385321
Package-Manager: portage-2.2.0_alpha122/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libgssglue/files')
-rw-r--r--net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
new file mode 100644
index 000000000000..336e9e3e589f
--- /dev/null
+++ b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
@@ -0,0 +1,17 @@
+semirelated to gcc-4.7 changes
+
+* g_initialize.c:275:5: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration]
+* g_initialize.c:275:5: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration]
+
+--- src/g_initialize.c
++++ src/g_initialize.c
+@@ -29,6 +29,9 @@
+ #include "mglueP.h"
+ #include <stdlib.h>
+
++#include <unistd.h> /* getuid, geteuid */
++#include <sys/types.h> /* ditto */
++
+ #include <stdio.h>
+ #include <string.h>
+ #include <ctype.h>