diff options
| author | Jackie Huang <jackie.huang@windriver.com> | 2017-07-28 10:00:56 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2017-08-13 08:26:14 -0700 |
| commit | 1c3afde094d6cb7951957a67f4127dc06abecaa5 (patch) | |
| tree | d4d66bc01b4abb7531b8d7ad1625f28ebb0f0746 /recipes-security/libgssglue/files/libgssglue-g-initialize.patch | |
| parent | 2f30963b822b508bf53795950ea6e8198f464807 (diff) | |
| download | meta-security-1c3afde094d6cb7951957a67f4127dc06abecaa5.tar.gz | |
libgssglue: add new recipe
libgssglue exports a gssapi interface which calls
other gssapi libraries.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/libgssglue/files/libgssglue-g-initialize.patch')
| -rw-r--r-- | recipes-security/libgssglue/files/libgssglue-g-initialize.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-security/libgssglue/files/libgssglue-g-initialize.patch b/recipes-security/libgssglue/files/libgssglue-g-initialize.patch new file mode 100644 index 0000000..4a9ba33 --- /dev/null +++ b/recipes-security/libgssglue/files/libgssglue-g-initialize.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | Fix the warning for getuid, geteuid | ||
| 2 | g_initialize.c: In function 'linux_initialize': | ||
| 3 | g_initialize.c:275:5: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] | ||
| 4 | g_initialize.c:275:5: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration] | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Yao Zhao <yao.zhao@windriver.com> | ||
| 8 | |||
| 9 | diff --git a/src/g_initialize.c b/src1/g_initialize.c | ||
| 10 | index 82fcce1..200f173 100644 | ||
| 11 | --- a/src/g_initialize.c | ||
| 12 | +++ b/src/g_initialize.c | ||
| 13 | @@ -29,6 +29,8 @@ | ||
| 14 | #include "mglueP.h" | ||
| 15 | #include <stdlib.h> | ||
| 16 | |||
| 17 | +#include <unistd.h> /*getuid, geteuid */ | ||
| 18 | +#include <sys/types.h> | ||
| 19 | #include <stdio.h> | ||
| 20 | #include <string.h> | ||
| 21 | #include <ctype.h> | ||
