summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/which/which-2.20/remove-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/which/which-2.20/remove-declaration.patch')
-rw-r--r--meta/recipes-extended/which/which-2.20/remove-declaration.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-extended/which/which-2.20/remove-declaration.patch b/meta/recipes-extended/which/which-2.20/remove-declaration.patch
new file mode 100644
index 0000000000..09b81439b6
--- /dev/null
+++ b/meta/recipes-extended/which/which-2.20/remove-declaration.patch
@@ -0,0 +1,16 @@
1Remove the declaration of group_member since it has already been
2declared in unistd.h
3
4Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
5
6diff -ruN which-2.20-orig/bash.c which-2.20/bash.c
7--- which-2.20-orig/bash.c 2010-08-03 12:59:08.897088878 +0800
8+++ which-2.20/bash.c 2010-08-03 13:17:23.406097212 +0800
9@@ -46,7 +46,6 @@
10 * - changed all occurences of 'gid_t' into 'GID_T'.
11 * - exported functions needed in which.c
12 */
13-static int group_member (GID_T gid);
14 static char* extract_colon_unit (char const* string, int* p_index);
15
16 /*===========================================================================