Skip to contentSkip to conversation

libtasn1: bump to version 4.9

PATCH New Gustavo Zacarias 2 participants 3 messages Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtasn1: bump to version 4.9

Add upstream patch to fix build failure with gcc warnings on.

---
 ...configure-don-t-add-Werror-to-build-flags.patch | 28 ++++++++++++++++++++++
 package/libtasn1/libtasn1.hash                     |  2 +-
 package/libtasn1/libtasn1.mk                       |  4 +++-
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 package/libtasn1/0001-configure-don-t-add-Werror-to-build-flags.patch
package/libtasn1/0001-configure-don-t-add-Werror-to-build-flags.patch new file +28 -0
new file mode 100644
index 0000000..387ba7a
@@ -0,0 +1,28 @@
+From dd091c8af163213e12aa92f61bc4916e0f102633 Mon Sep 17 00:00:00 2001
+From: Nikos Mavrogiannopoulos <[email protected]>
+Date: Tue, 26 Jul 2016 08:45:33 +0200
+Subject: [PATCH] configure: don't add -Werror to build flags
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+---
+Patch status: upstream
+
+ 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
+-- 
+2.7.3
+
package/libtasn1/libtasn1.hash +1 -1
index dc65210..5b2100e 100644
@@ -1,2 +1,2 @@
 # Locally calculated after checking pgp signature
-sha256	fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513	libtasn1-4.8.tar.gz
+sha256	4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920	libtasn1-4.9.tar.gz
package/libtasn1/libtasn1.mk +3 -1
index c51d8c0..6b7e6b3 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBTASN1_VERSION = 4.8
+LIBTASN1_VERSION = 4.9
 LIBTASN1_SITE = http://ftp.gnu.org/gnu/libtasn1
 LIBTASN1_DEPENDENCIES = host-bison
 LIBTASN1_LICENSE = GPLv3+, LGPLv2.1+
@@ -12,5 +12,7 @@ LIBTASN1_LICENSE_FILES = COPYING COPYING.LIB
 LIBTASN1_INSTALL_STAGING = YES
 # 'missing' fallback logic botched so disable it completely
 LIBTASN1_CONF_ENV = MAKEINFO="true"
+# For 0001-configure-don-t-add-Werror-to-build-flags.patch
+LIBTASN1_AUTORECONF = YES
 
 $(eval $(autotools-package))
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 libtasn1: bump to version 4.9

Hello,

Quoted 3 lines · Gustavo Zacarias

Add upstream patch to fix build failure with gcc warnings on.

I think you told me yesterday this 4.9 bump was adding a security fix. Is this the case? It's quite important, as it will decide if this patch gets committed to master or next.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 libtasn1: bump to version 4.9

In reply to Gustavo Zacarias

Hello,

Quoted 9 lines · Gustavo Zacarias

Add upstream patch to fix build failure with gcc warnings on.

---
 ...configure-don-t-add-Werror-to-build-flags.patch | 28 ++++++++++++++++++++++
 package/libtasn1/libtasn1.hash                     |  2 +-
 package/libtasn1/libtasn1.mk                       |  4 +++-
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 package/libtasn1/0001-configure-don-t-add-Werror-to-build-flags.patch

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com