summaryrefslogtreecommitdiff
path: root/net-libs/libgssglue/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libgssglue/files
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libgssglue/files')
-rw-r--r--net-libs/libgssglue/files/libgssglue-0.3-protos.patch15
-rw-r--r--net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch15
2 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/libgssglue/files/libgssglue-0.3-protos.patch b/net-libs/libgssglue/files/libgssglue-0.3-protos.patch
new file mode 100644
index 000000000000..5aaf6d03aaac
--- /dev/null
+++ b/net-libs/libgssglue/files/libgssglue-0.3-protos.patch
@@ -0,0 +1,15 @@
+add missing prototype to header
+
+--- a/src/mglueP.h
++++ b/src/mglueP.h
+@@ -477,6 +477,10 @@ OM_uint32 generic_gss_str_to_oid
+ gss_OID * /* oid */
+ );
+
++OM_uint32
++generic_gss_copy_oid_set(OM_uint32 *minor_status,
++ const gss_OID_set_desc * const oidset,
++ gss_OID_set *new_oidset);
+
+ gss_OID gss_find_mechanism_from_name_type (gss_OID); /* name_type */
+
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..6a98569128d0
--- /dev/null
+++ b/net-libs/libgssglue/files/libgssglue-0.4-implicit-declarations.patch
@@ -0,0 +1,15 @@
+* 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>