diff options
Diffstat (limited to 'meta/recipes-extended/zypper/zypper/rpmatch.patch')
-rw-r--r-- | meta/recipes-extended/zypper/zypper/rpmatch.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-extended/zypper/zypper/rpmatch.patch b/meta/recipes-extended/zypper/zypper/rpmatch.patch deleted file mode 100644 index a750a3bd39..0000000000 --- a/meta/recipes-extended/zypper/zypper/rpmatch.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | rpmatch() is missing in uclibc so we provide a local definition | ||
2 | in form of a macro | ||
3 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Index: git/src/utils/prompt.h | ||
8 | =================================================================== | ||
9 | --- git.orig/src/utils/prompt.h 2012-06-06 15:51:00.899112775 -0700 | ||
10 | +++ git/src/utils/prompt.h 2012-06-06 15:52:17.003116762 -0700 | ||
11 | @@ -172,4 +172,12 @@ | ||
12 | return errstr; | ||
13 | } | ||
14 | |||
15 | +#ifdef __UCLIBC__ | ||
16 | +#define rpmatch(line) \ | ||
17 | + ( (line == NULL)? -1 : \ | ||
18 | + (*line == 'y' || *line == 'Y')? 1 : \ | ||
19 | + (*line == 'n' || *line == 'N')? 0 : \ | ||
20 | + -1 ) | ||
21 | +#endif /* __UCLIBC__ */ | ||
22 | + | ||
23 | #endif /*ZYPPERPROMPT_H_*/ | ||