diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch b/meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch deleted file mode 100644 index 1b41cb464e..0000000000 --- a/meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | Use overloadable attribute to aid clang | ||
2 | |||
3 | Fixes | ||
4 | dcigettext.c:147:7: error: redeclaration of 'getcwd' must have the 'overloadable' attribute | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- a/gettext-runtime/intl/dcigettext.c | ||
9 | +++ b/gettext-runtime/intl/dcigettext.c | ||
10 | @@ -144,7 +144,11 @@ char *getwd (); | ||
11 | # if VMS | ||
12 | # define getcwd(buf, max) (getcwd) (buf, max, 0) | ||
13 | # else | ||
14 | -char *getcwd (); | ||
15 | +char | ||
16 | +#ifdef __clang__ | ||
17 | +__attribute__((overloadable)) | ||
18 | +#endif | ||
19 | +*getcwd (); | ||
20 | # endif | ||
21 | # endif | ||
22 | # ifndef HAVE_STPCPY | ||