[oe-commits] [openembedded-core] 09/09: gettext: Drop overloadable attibute for getcwd declaration

git at git.openembedded.org git at git.openembedded.org
Sun Jan 26 17:56:05 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 8f3646fb4da2e22a93ea9430754327ed7a3c5df2
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Jan 25 07:42:07 2020 -0800

    gettext: Drop overloadable attibute for getcwd declaration
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../gettext/gettext-0.20.1/overloadable.patch      | 22 ----------------------
 meta/recipes-core/gettext/gettext_0.20.1.bb        |  2 --
 2 files changed, 24 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 1b41cb4..0000000
--- a/meta/recipes-core/gettext/gettext-0.20.1/overloadable.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Use overloadable attribute to aid clang
-
-Fixes
-dcigettext.c:147:7: error: redeclaration of 'getcwd' must have the 'overloadable' attribute
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem at gmail.com>
---- a/gettext-runtime/intl/dcigettext.c
-+++ b/gettext-runtime/intl/dcigettext.c
-@@ -144,7 +144,11 @@ char *getwd ();
- #  if VMS
- #   define getcwd(buf, max) (getcwd) (buf, max, 0)
- #  else
--char *getcwd ();
-+char 
-+#ifdef __clang__
-+__attribute__((overloadable))
-+#endif
-+*getcwd ();
- #  endif
- # endif
- # ifndef HAVE_STPCPY
diff --git a/meta/recipes-core/gettext/gettext_0.20.1.bb b/meta/recipes-core/gettext/gettext_0.20.1.bb
index 3b576f4..214803f 100644
--- a/meta/recipes-core/gettext/gettext_0.20.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.20.1.bb
@@ -25,9 +25,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
            file://serial-tests-config.patch \
            file://0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch \
            file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
-           file://overloadable.patch \
            "
-
 SRC_URI[md5sum] = "bb5b0c0caa028105f3ca1905ddc306e2"
 SRC_URI[sha256sum] = "66415634c6e8c3fa8b71362879ec7575e27da43da562c798a8a2f223e6e47f5c"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list