screen: Upgrade 4.4.0 -> 4.5.0
PATCH 1/4 screen: Upgrade 4.4.0 -> 4.5.0
Removed the following Backported patches:
1. 0001-fix-for-multijob-build.patch
2. 0002-comm.h-now-depends-on-term.h.patch
---
.../screen/0001-fix-for-multijob-build.patch | 58 ----------------------
.../screen/0002-comm.h-now-depends-on-term.h.patch | 33 ------------
.../screen/{screen_4.4.0.bb => screen_4.5.0.bb} | 6 +--
3 files changed, 2 insertions(+), 95 deletions(-)
delete mode 100644 meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch
delete mode 100644 meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch
rename meta/recipes-extended/screen/{screen_4.4.0.bb => screen_4.5.0.bb} (88%)meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch deleted +0 -58
@@ -1,58 +0,0 @@ -From 79ad2885e26631077dd6b8aebe17ae95b38133a6 Mon Sep 17 00:00:00 2001 -From: Jackie Huang <[email protected]> -Date: Tue, 26 Jul 2016 14:23:59 +0800 -Subject: [PATCH] fix for multijob build - -make sure that comm.sh script generates comm.h header before doing -anything else - -Signed-off-by: Amadeusz Sawiski <[email protected]> - -Upstream-Status: Backport - -Backport patch to fix parallel build failure and update context to make patch -coulde be applied. - -http://git.savannah.gnu.org/cgit/screen.git/commit?id=c0de6dd - -Signed-off-by: Kai Kang <[email protected]> -Signed-off-by: Jackie Huang <[email protected]> ---- - Makefile.in | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index aca7da3..3607711 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -298,7 +298,7 @@ search.o: layout.h viewport.h canvas.h search.c config.h screen.h os.h osdef.h a - comm.h layer.h term.h image.h display.h window.h mark.h extern.h - tty.o: layout.h viewport.h canvas.h tty.c config.h screen.h os.h osdef.h ansi.h acls.h comm.h \ - layer.h term.h image.h display.h window.h extern.h --term.o: layout.h viewport.h canvas.h term.c term.h -+term.o: layout.h viewport.h canvas.h term.c term.h comm.h - window.o: layout.h viewport.h canvas.h window.c config.h screen.h os.h osdef.h ansi.h acls.h \ - comm.h layer.h term.h image.h display.h window.h extern.h logfile.h - utmp.o: layout.h viewport.h canvas.h utmp.c config.h screen.h os.h osdef.h ansi.h acls.h \ -@@ -324,7 +324,7 @@ canvas.o: layout.h viewport.h canvas.h canvas.c config.h screen.h os.h osdef.h a - comm.h layer.h term.h image.h display.h window.h extern.h \ - braille.h - comm.o: layout.h viewport.h canvas.h comm.c config.h acls.h comm.h --kmapdef.o: layout.h viewport.h canvas.h kmapdef.c config.h -+kmapdef.o: layout.h viewport.h canvas.h kmapdef.c config.h comm.h - acls.o: layout.h viewport.h canvas.h acls.c config.h screen.h os.h osdef.h ansi.h acls.h comm.h \ - layer.h term.h image.h display.h window.h extern.h - braille.o: layout.h viewport.h canvas.h braille.c config.h screen.h os.h osdef.h ansi.h acls.h \ -@@ -350,7 +350,7 @@ layout.o: layout.h viewport.h canvas.h layout.c config.h screen.h os.h osdef.h a - viewport.o: layout.h viewport.h canvas.h viewport.c config.h screen.h os.h osdef.h ansi.h acls.h \ - comm.h layer.h term.h image.h display.h window.h extern.h \ - braille.h --list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h --list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h -+list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h comm.h -+list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h comm.h - list_window.o: list_generic.h list_window.c window.h layer.h screen.h osdef.h comm.h - --- -1.9.1 -
meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch deleted +0 -33
@@ -1,33 +0,0 @@ -Upstream-Status: Backport - -Backport from: - -http://git.savannah.gnu.org/cgit/screen.git/commit/?id=39c5f1c - -Signed-off-by: Kai Kang <[email protected]> ---- -From 39c5f1c76f1fcef4b5958bf828a63f53426b6984 Mon Sep 17 00:00:00 2001 -From: Mike Gerwitz <[email protected]> -Date: Tue, 24 Dec 2013 22:16:31 -0500 -Subject: [PATCH] comm.h now depends on term.h - ---- - src/Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Makefile.in b/src/Makefile.in -index e791e79..d4f7c0b 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -113,7 +113,7 @@ term.h: term.c term.sh - - kmapdef.c: term.h - --comm.h: comm.c comm.sh config.h -+comm.h: comm.c comm.sh config.h term.h - AWK=$(AWK) CC="$(CC) $(CFLAGS)" srcdir=${srcdir} sh $(srcdir)/comm.sh - - docs: --- -2.4.1 -
meta/recipes-extended/screen/screen_4.5.0.bb renamed from meta/recipes-extended/screen/screen_4.4.0.bb +2 -4
@@ -22,12 +22,10 @@ SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \ file://Provide-cross-compile-alternatives-for-AC_TRY_RUN.patch \ file://Skip-host-file-system-checks-when-cross-compiling.patch \ file://Avoid-mis-identifying-systems-as-SVR4.patch \ - file://0002-comm.h-now-depends-on-term.h.patch \ - file://0001-fix-for-multijob-build.patch \ " -SRC_URI[md5sum] = "d26e11a3648c2b11aaefa215a55dfd39" -SRC_URI[sha256sum] = "ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b" +SRC_URI[md5sum] = "a32105a91359afab1a4349209a028e31" +SRC_URI[sha256sum] = "01c3a7c362185f35d6a95dff52d64337076496acd034d717de3c263500cfefb0" inherit autotools texinfo
Signature · 1 line
2.4.0
PATCH 2/4 libtasn1: Upgrade 4.9 -> 4.10
Removed the following Backported patches:
1. 0001-configure-don-t-add-Werror-to-build-flags.patch
2. 0002-ASN.y-corrected-compiler-warning.patch
3. 0003-parser_aux-corrected-potential-null-pointer-derefere.patch
4. 0004-tools-eliminated-compiler-warnings.patch
---
...configure-don-t-add-Werror-to-build-flags.patch | 28 ---------
.../0002-ASN.y-corrected-compiler-warning.patch | 28 ---------
...corrected-potential-null-pointer-derefere.patch | 73 ----------------------
.../0004-tools-eliminated-compiler-warnings.patch | 56 -----------------
.../gnutls/{libtasn1_4.9.bb => libtasn1_4.10.bb} | 8 +--
5 files changed, 2 insertions(+), 191 deletions(-)
delete mode 100644 meta/recipes-support/gnutls/libtasn1/0001-configure-don-t-add-Werror-to-build-flags.patch
delete mode 100644 meta/recipes-support/gnutls/libtasn1/0002-ASN.y-corrected-compiler-warning.patch
delete mode 100644 meta/recipes-support/gnutls/libtasn1/0003-parser_aux-corrected-potential-null-pointer-derefere.patch
delete mode 100644 meta/recipes-support/gnutls/libtasn1/0004-tools-eliminated-compiler-warnings.patch
rename meta/recipes-support/gnutls/{libtasn1_4.9.bb => libtasn1_4.10.bb} (59%)meta/recipes-support/gnutls/libtasn1/0001-configure-don-t-add-Werror-to-build-flags.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 908e9fa4c1172f09e0e45420a403dc25ed0a466c Mon Sep 17 00:00:00 2001 -From: Nikos Mavrogiannopoulos <[email protected]> -Date: Tue, 26 Jul 2016 08:45:33 +0200 -Subject: [PATCH 1/4] configure: don't add -Werror to build flags - ---- -Upstream-Status: Backport -Signed-off-by: Khem Raj <[email protected]> - - configure.ac | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 7a14e04..066f5fe 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -70,8 +70,6 @@ AC_ARG_ENABLE([gcc-warnings], - ) - - if test "$gl_gcc_warnings" = yes; then -- gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) -- - nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings - nw="$nw -Wc++-compat" # We don't care strongly about C++ compilers - nw="$nw -Wtraditional" # Warns on #elif which we use often --- -1.9.1 -
meta/recipes-support/gnutls/libtasn1/0002-ASN.y-corrected-compiler-warning.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 3542c01618fcde83b29640ea2c60bfd2629ae0b7 Mon Sep 17 00:00:00 2001 -From: Nikos Mavrogiannopoulos <[email protected]> -Date: Tue, 26 Jul 2016 08:47:49 +0200 -Subject: [PATCH 2/4] ASN.y: corrected compiler warning - ---- -Upstream-Status: Backport -Signed-off-by: Khem Raj <[email protected]> - - lib/ASN1.y | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/ASN1.y b/lib/ASN1.y -index 731415d..6db638f 100644 ---- a/lib/ASN1.y -+++ b/lib/ASN1.y -@@ -621,7 +621,7 @@ _asn1_create_errorDescription (int error, char *error_desc) - case ASN1_NAME_TOO_LONG: - snprintf (error_desc, ASN1_MAX_ERROR_DESCRIPTION_SIZE, - "%s:%u: name too long (more than %u characters)", file_name, -- line_number, ASN1_MAX_NAME_SIZE); -+ line_number, (unsigned)ASN1_MAX_NAME_SIZE); - break; - case ASN1_IDENTIFIER_NOT_FOUND: - snprintf (error_desc, ASN1_MAX_ERROR_DESCRIPTION_SIZE, --- -1.9.1 -
meta/recipes-support/gnutls/libtasn1/0003-parser_aux-corrected-potential-null-pointer-derefere.patch deleted +0 -73
73 lines not on this page · raw message
meta/recipes-support/gnutls/libtasn1/0004-tools-eliminated-compiler-warnings.patch deleted +0 -56
56 lines not on this page · raw message
meta/recipes-support/gnutls/libtasn1_4.10.bb renamed from meta/recipes-support/gnutls/libtasn1_4.9.bb +2 -6
@@ -10,14 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \ file://dont-depend-on-help2man.patch \ - file://0001-configure-don-t-add-Werror-to-build-flags.patch \ - file://0002-ASN.y-corrected-compiler-warning.patch \ - file://0003-parser_aux-corrected-potential-null-pointer-derefere.patch \ - file://0004-tools-eliminated-compiler-warnings.patch \ " -SRC_URI[md5sum] = "3018d0f466a32b66dde41bb122e6cab6" -SRC_URI[sha256sum] = "4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920" +SRC_URI[md5sum] = "f4faffdf63969d0e4e6df43b9679e8e5" +SRC_URI[sha256sum] = "681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02" inherit autotools texinfo binconfig lib_package gtk-doc
Signature · 1 line
2.4.0
PATCH 3/4 libpng: Upgrade 1.6.26 -> 1.6.28
In reply to Maxin B. JohnThis upgrade fixes the vulnerability: CVE-2016-10087
License file changes are due to updates in Package Version and Copyright date. ie:
'libpng version 1.6.28, January 5, 2017'
---
.../libpng/{libpng_1.6.26.bb => libpng_1.6.28.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-multimedia/libpng/{libpng_1.6.26.bb => libpng_1.6.28.bb} (67%)meta/recipes-multimedia/libpng/libpng_1.6.28.bb renamed from meta/recipes-multimedia/libpng/libpng_1.6.26.bb +4 -4
@@ -2,14 +2,14 @@ SUMMARY = "PNG image format decoding library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ce8d0bd8303802e5492f064ddddef0e7 \ - file://png.h;endline=149;md5=8cca27e71fd88e1fe1adad7d9e841b5f" +LIC_FILES_CHKSUM = "file://LICENSE;md5=67d8837410863f9821bbd606536f0329 \ + file://png.h;endline=144;md5=abfa0497feb393b5842d3d82c1009520" DEPENDS = "zlib" SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz \ " -SRC_URI[md5sum] = "faed9bb495d2e12dd0c9ec561ca60cd8" -SRC_URI[sha256sum] = "266743a326986c3dbcee9d89b640595f6b16a293fd02b37d8c91348d317b73f9" +SRC_URI[md5sum] = "425354f86c392318d31aedca71019372" +SRC_URI[sha256sum] = "d8d3ec9de6b5db740fefac702c37ffcf96ae46cb17c18c1544635a3852f78f7a" BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
Signature · 1 line
2.4.0
PATCH 4/4 libpng12: Upgrade 1.2.56 -> 1.2.57
In reply to Maxin B. JohnThis upgrade fixes the vulnerability: CVE-2016-10087
License file changes are due to updates in Version and Copyright date. ie:
'libpng versions 1.0.7, July 1, 2000, through 1.2.57, December 29, 2016, are
Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson'
---
.../libpng/{libpng12_1.2.56.bb => libpng12_1.2.57.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-lsb4/libpng/{libpng12_1.2.56.bb => libpng12_1.2.57.bb} (73%)meta/recipes-lsb4/libpng/libpng12_1.2.57.bb renamed from meta/recipes-lsb4/libpng/libpng12_1.2.56.bb +4 -4
@@ -2,8 +2,8 @@ SUMMARY = "PNG image format decoding library" HOMEPAGE = "http://www.libpng.org/" SECTION = "libs" LICENSE = "Libpng" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e7f289af309d98b46321d0f9892def16 \ - file://png.h;beginline=19;endline=109;md5=10c940148fe379a535b310c1c54e609c" +LIC_FILES_CHKSUM = "file://LICENSE;md5=597b8a91994a3e27ae6aa79bf02677d9 \ + file://png.h;beginline=19;endline=109;md5=166406397718925b660f0033f7558ef7" DEPENDS = "zlib" PN = "libpng12"
@@ -11,8 +11,8 @@ S = "${WORKDIR}/libpng-${PV}" SRC_URI = "${GENTOO_MIRROR}/libpng-${PV}.tar.xz" -SRC_URI[md5sum] = "868562bd1c58b76ed8703f135a2e439a" -SRC_URI[sha256sum] = "24ce54581468b937734a6ecc86f7e121bc46a90d76a0d948dca08f32ee000dbe" +SRC_URI[md5sum] = "307052e5e8af97b82b17b64fb1b3677a" +SRC_URI[sha256sum] = "0f4620e11fa283fedafb474427c8e96bf149511a1804bdc47350963ae5cf54d8" UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libpng/files/libpng12/" UPSTREAM_CHECK_REGEX = "/libpng12/(?P<pver>(\d+[\.\-_]*)+)/"
Signature · 1 line
2.4.0
Quoted 3 lines · Maxin B. John
Removed the following Backported patches:
1. 0001-fix-for-multijob-build.patch
2. 0002-comm.h-now-depends-on-term.h.patch
Maybe it's worth waiting a bit with this upgrade until this is resolved:
https://bugs.gentoo.org/show_bug.cgi?id=607116
Quoted 143 lines
Signed-off-by Maxin B. John <[email protected]>--- .../screen/0001-fix-for-multijob-build.patch | 58 ---------------------- .../screen/0002-comm.h-now-depends-on-term.h.patch | 33 ------------ .../screen/{screen_4.4.0.bb => screen_4.5.0.bb} | 6 +-- 3 files changed, 2 insertions(+), 95 deletions(-) delete mode 100644 meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch delete mode 100644 meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch rename meta/recipes-extended/screen/{screen_4.4.0.bb => screen_4.5.0.bb} (88%)meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch deleted +0
-58@@ -1,58 +0,0 @@ -From 79ad2885e26631077dd6b8aebe17ae95b38133a6 Mon Sep 17 00:00:00 2001 -From: Jackie Huang <[email protected]> -Date: Tue, 26 Jul 2016 14:23:59 +0800 -Subject: [PATCH] fix for multijob build - -make sure that comm.sh script generates comm.h header before doing -anything else - -Signed-off-by: Amadeusz Sawiski <[email protected]> - -Upstream-Status: Backport - -Backport patch to fix parallel build failure and update context to make patch -coulde be applied. - -http://git.savannah.gnu.org/cgit/screen.git/commit?id=c0de6dd - -Signed-off-by: Kai Kang <[email protected]> -Signed-off-by: Jackie Huang <[email protected]> ---- - Makefile.in | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index aca7da3..3607711 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -298,7 +298,7 @@ search.o: layout.h viewport.h canvas.h search.c config.h screen.h os.h osdef.h a - comm.h layer.h term.h image.h display.h window.h mark.h extern.h - tty.o: layout.h viewport.h canvas.h tty.c config.h screen.h os.h osdef.h ansi.h acls.h comm.h \ - layer.h term.h image.h display.h window.h extern.h --term.o: layout.h viewport.h canvas.h term.c term.h -+term.o: layout.h viewport.h canvas.h term.c term.h comm.h - window.o: layout.h viewport.h canvas.h window.c config.h screen.h os.h osdef.h ansi.h acls.h \ - comm.h layer.h term.h image.h display.h window.h extern.h logfile.h - utmp.o: layout.h viewport.h canvas.h utmp.c config.h screen.h os.h osdef.h ansi.h acls.h \ -@@ -324,7 +324,7 @@ canvas.o: layout.h viewport.h canvas.h canvas.c config.h screen.h os.h osdef.h a - comm.h layer.h term.h image.h display.h window.h extern.h \ - braille.h - comm.o: layout.h viewport.h canvas.h comm.c config.h acls.h comm.h --kmapdef.o: layout.h viewport.h canvas.h kmapdef.c config.h -+kmapdef.o: layout.h viewport.h canvas.h kmapdef.c config.h comm.h - acls.o: layout.h viewport.h canvas.h acls.c config.h screen.h os.h osdef.h ansi.h acls.h comm.h \ - layer.h term.h image.h display.h window.h extern.h - braille.o: layout.h viewport.h canvas.h braille.c config.h screen.h os.h osdef.h ansi.h acls.h \ -@@ -350,7 +350,7 @@ layout.o: layout.h viewport.h canvas.h layout.c config.h screen.h os.h osdef.h a - viewport.o: layout.h viewport.h canvas.h viewport.c config.h screen.h os.h osdef.h ansi.h acls.h \ - comm.h layer.h term.h image.h display.h window.h extern.h \ - braille.h --list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h --list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h -+list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h comm.h -+list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h comm.h - list_window.o: list_generic.h list_window.c window.h layer.h screen.h osdef.h comm.h - --- -1.9.1 -meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch deleted +0
-33@@ -1,33 +0,0 @@ -Upstream-Status: Backport - -Backport from: - -http://git.savannah.gnu.org/cgit/screen.git/commit/?id=39c5f1c - -Signed-off-by: Kai Kang <[email protected]> ---- -From 39c5f1c76f1fcef4b5958bf828a63f53426b6984 Mon Sep 17 00:00:00 2001 -From: Mike Gerwitz <[email protected]> -Date: Tue, 24 Dec 2013 22:16:31 -0500 -Subject: [PATCH] comm.h now depends on term.h - ---- - src/Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Makefile.in b/src/Makefile.in -index e791e79..d4f7c0b 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -113,7 +113,7 @@ term.h: term.c term.sh - - kmapdef.c: term.h - --comm.h: comm.c comm.sh config.h -+comm.h: comm.c comm.sh config.h term.h - AWK=$(AWK) CC="$(CC) $(CFLAGS)" srcdir=${srcdir} sh $(srcdir)/comm.sh - - docs: --- -2.4.1 -meta/recipes-extended/screen/screen_4.5.0.bb renamed from meta/recipes-extended/screen/screen_4.4.0.bb +2
-4@@ -22,12 +22,10 @@ SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \ file://Provide-cross-compile-alternatives-for-AC_TRY_RUN.patch \ file://Skip-host-file-system-checks-when-cross-compiling.patch \ file://Avoid-mis-identifying-systems-as-SVR4.patch \ - file://0002-comm.h-now-depends-on-term.h.patch \ - file://0001-fix-for-multijob-build.patch \ " -SRC_URI[md5sum] = "d26e11a3648c2b11aaefa215a55dfd39" -SRC_URI[sha256sum] = "ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b" +SRC_URI[md5sum] = "a32105a91359afab1a4349209a028e31" +SRC_URI[sha256sum] = "01c3a7c362185f35d6a95dff52d64337076496acd034d717de3c263500cfefb0" inherit autotools texinfoSignature · 7 lines
2.4.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 2/4] libtasn1: Upgrade 4.9 -> 4.10
In reply to Maxin B. JohnQuoted 8 lines · Maxin B. John
Removed the following Backported patches:
1. 0001-configure-don-t-add-Werror-to-build-flags.patch
2. 0002-ASN.y-corrected-compiler-warning.patch
3. 0003-parser_aux-corrected-potential-null-pointer-derefere.patch
4. 0004-tools-eliminated-compiler-warnings.patchSigned-off-by Maxin B. John <[email protected]>
This breaks on musl in the most amusing way:
| from ../../libtasn1-4.10/gl/getopt.c:28: | ./stdint.h:89:5: error: #if with no expression | #if | ^
When it says stdint.h it doesn't mean the system stdint.h because that would be too sensible. libtasn1 uses gnulib which writes its own system headers, so this is in fact build/gl/stdint.h which does indeed just do '#if '. The source for this file is gl/stdint.in.h in this block:
/* Override WINT_MIN and WINT_MAX if gnulib's <wchar.h> or <wctype.h> overrides
wint_t. */
#if @GNULIB_OVERRIDES_WINT_T@
# undef WINT_MIN # undef WINT_MAX # define WINT_MIN 0x0U # define WINT_MAX 0xffffffffU #endif
For some reason when this executes @GNULIB_OVERRIDES_WINT_T@ isn't defined.
Cheers,
Ross
Re: [PATCH 2/4] libtasn1: Upgrade 4.9 -> 4.10
Hi Ross,
Quoted 6 lines · Ross
Quoted 4 lines · Maxin B. John
Removed the following Backported patches:
1. 0001-configure-don-t-add-Werror-to-build-flags.patch
Quoted 7 lines
This breaks on musl in the most amusing way:
| from ../../libtasn1-4.10/gl/getopt.c:28: | ./stdint.h:89:5: error: #if with no expression | #if | ^
For some strange reasons, this build error hasn't occured in my musl test build before sending the patch.
Quoted 8 lines
When it says
stdint.hit doesn't mean the systemstdint.hbecause that would be too sensible. libtasn1 uses gnulib which writes its own system headers, so this is in factbuild/gl/stdint.hwhich does indeed just do '#if '. The source for this file isgl/stdint.in.hin this block:/* Override
WINT_MINandWINT_MAXif gnulib's <wchar.h> or <wctype.h> overrideswint_t. */
#if @GNULIB_OVERRIDES_WINT_T@
Quoted 7 lines
# undef WINT_MIN # undef WINT_MAX # define WINT_MIN 0x0U # define WINT_MAX 0xffffffffU #endifFor some reason when this executes @GNULIB_OVERRIDES_WINT_T@ isn't defined.
The build error is due to this change:
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5a400b3f5a1f5483dbfd75d38bdb7080218a063b
* m4/stdint.m4 (gl_STDINT_H): Don't define GNULIB_OVERRIDES_WINT_T.
will send a v2 to fix this.
Quoted 2 lines
Cheers,
Ross
Thanks and Regards,
Maxin
Re: [PATCH 2/4] libtasn1: Upgrade 4.9 -> 4.10
Quoted 3 lines · Maxin B. John
For some strange reasons, this build error hasn't occured in my musl test build before sending the patch.
I suspect it's a libtasn 4.10 + new musl thing, we had an upgrade of both at the same time and reverting libtasn to 4.9 works. Thanks Maxin!
Ross