Skip to contentSkip to conversation

gcc8: drop stray uClibc specific patch

PATCH In review Andre McCurdy 2 participants 2 messages Jun 13, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc8: drop stray uClibc specific patch

The patch was previously removed for gcc7 but came back with gcc8.

http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87

---
 meta/recipes-devtools/gcc/gcc-8.1.inc              |  1 -
 .../gcc/gcc-8.1/0002-c99-snprintf.patch            | 28 ----------------------
 2 files changed, 29 deletions(-)
 delete mode 100644 meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch
meta/recipes-devtools/gcc/gcc-8.1.inc +0 -1
index cb0fbd9..d83ba65 100644
@@ -32,7 +32,6 @@ BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
-           file://0002-c99-snprintf.patch \
            file://0003-gcc-poison-system-directories.patch \
            file://0004-gcc-poison-dir-extend.patch \
            file://0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch deleted +0 -28
deleted file mode 100644
index aa123b4..0000000
@@ -1,28 +0,0 @@
-From 5fbfcf247ed6dd01263639daf0c9c3a291e2fd3a Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 29 Mar 2013 08:49:03 +0400
-Subject: [PATCH 02/39] c99-snprintf
-
-Signed-off-by: Khem Raj <[email protected]>
-
-Upstream-Status: Pending
----
- libstdc++-v3/include/c_std/cstdio | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libstdc++-v3/include/c_std/cstdio b/libstdc++-v3/include/c_std/cstdio
-index 1b9571eaa8d..ad816be4fd1 100644
---- a/libstdc++-v3/include/c_std/cstdio
-+++ b/libstdc++-v3/include/c_std/cstdio
-@@ -144,7 +144,7 @@ namespace std
-   using ::vsprintf;
- } // namespace std
- 
--#if _GLIBCXX_USE_C99_STDIO
-+#if _GLIBCXX_USE_C99_STDIO || defined(__UCLIBC__)
- 
- #undef snprintf
- #undef vfscanf
--- 
-2.17.0
-
Signature · 1 line
1.9.1
#1 lore raw
Quoted 4 lines · Andre McCurdy

The patch was previously removed for gcc7 but came back with gcc8.

http://git.openembedded.org/openembedded-core/commit/?id=f71bc69e5b7581c53071055b694bb0dbfe4b4a87

This is ok to apply, thanks for noticing it. I am planning to look into the patches wholesale and see what we can remove. We have been carrying several patches for long time.

Quoted 54 lines
---
 meta/recipes-devtools/gcc/gcc-8.1.inc              |  1 -
 .../gcc/gcc-8.1/0002-c99-snprintf.patch            | 28 ----------------------
 2 files changed, 29 deletions(-)
 delete mode 100644 meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch
meta/recipes-devtools/gcc/gcc-8.1.inc +0 -1
index cb0fbd9..d83ba65 100644
@@ -32,7 +32,6 @@ BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
 SRC_URI = "\
            ${BASEURI} \
            file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
-           file://0002-c99-snprintf.patch \
            file://0003-gcc-poison-system-directories.patch \
            file://0004-gcc-poison-dir-extend.patch \
            file://0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
meta/recipes-devtools/gcc/gcc-8.1/0002-c99-snprintf.patch deleted +0 -28
deleted file mode 100644
index aa123b4..0000000
@@ -1,28 +0,0 @@
-From 5fbfcf247ed6dd01263639daf0c9c3a291e2fd3a Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 29 Mar 2013 08:49:03 +0400
-Subject: [PATCH 02/39] c99-snprintf
-
-Signed-off-by: Khem Raj <[email protected]>
-
-Upstream-Status: Pending
----
- libstdc++-v3/include/c_std/cstdio | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libstdc++-v3/include/c_std/cstdio b/libstdc++-v3/include/c_std/cstdio
-index 1b9571eaa8d..ad816be4fd1 100644
---- a/libstdc++-v3/include/c_std/cstdio
-+++ b/libstdc++-v3/include/c_std/cstdio
-@@ -144,7 +144,7 @@ namespace std
-   using ::vsprintf;
- } // namespace std
- 
--#if _GLIBCXX_USE_C99_STDIO
-+#if _GLIBCXX_USE_C99_STDIO || defined(__UCLIBC__)
- 
- #undef snprintf
- #undef vfscanf
--- 
-2.17.0
-