Accepting request 421047 from Base:System

libtasn1 4.9 (forwarded request 418353 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/421047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtasn1?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2016-08-25 07:51:41 +00:00 committed by Git OBS Bridge
parent 3488039315
commit 84ff478892
7 changed files with 67 additions and 16 deletions

View File

@ -0,0 +1,32 @@
From dd091c8af163213e12aa92f61bc4916e0f102633 Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@redhat.com>
Date: Tue, 26 Jul 2016 08:45:33 +0200
Subject: [PATCH] configure: don't add -Werror to build flags
References: http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commit;h=dd091c8af163213e12aa92f61bc4916e0f102633
Fixing:
[ 81s] Test_overflow.c: In function 'main':
[ 81s] Test_overflow.c:63:45: error: left shift of negative value [-Werror=shift-negative-value]
[ 81s] unsigned long num = ((long) UINT_MAX) << 2;
[ 81s] ^~
---
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.6.6

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513
size 1859924

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCAAGBQJXC0aEAAoJEJ1eqvaQE7hCOukIAKm7Sg+a8pY/KaF7JKZRT74J
htcwNe8lwLqvpFf54vNjgD31qWv0MBq2tNaDuiQNWxBTJHxiYMwBlEG56B79Upx3
7aXkZeQMJTzO1vJo5svRi5YkFIBq1ByvFgupLGcmUUrn06CZGtvzdK4qK1D3YsI1
Q4PzmEf9TM/pHZjHRbIm3Ca/DOGX0OuSWAc4AwmiKS8XO47TmowB6/Lmqqxzy74s
+ClrP07s+EtVeIjY0WUt047MtP1/28Is/IIB1jze2CUeAJS2BDOMhMj+ori39Lht
gNl2u1of7n80Qlp71Zj73xFj8SpRLiox2MVX/+VhYNNsXCVhgvD43mpC808kWCI=
=pLk0
-----END PGP SIGNATURE-----

3
libtasn1-4.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920
size 1864709

11
libtasn1-4.9.tar.gz.sig Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCAAGBQJXlnbOAAoJEJ1eqvaQE7hCPTEH/j8DerBEemjLY/UwlDfFC/q7
eCj4NeeHJadoIiW2LFOQHKOsTpGE6REQ/4iPlAef50yyEzGlBXLQk2iZiRjWF1Hw
acoVx8G4Xuw21We+QRjSGmQv9XQzAipMGOefvuA7qS2/2XgG6+1JmhYZdxAw91G4
tlHe2jPYb0z+xDQueQPrLPhQcVBUzDIaonVzH/d4Z4Y7qE53P8UD115cYf0sdnOq
0E2lX6ztYIzIjITEeIboDwVZysXFrQ3XIoNvdqXXGm3qOc4Th6rhzl56wxzJxwmL
1el6sLw5XrAD0jNjduMLrvOS9duxqFRXL9lZaQcWcoKHmIZQi2mb4VXHYANwJxM=
=AGhi
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 10 18:57:51 UTC 2016 - astieger@suse.com
- update to 4.9:
* Fix OID encoding of OIDs which have elements which exceed 2^32
- Do not treat i586 warning as error, adding upstream
0001-configure-don-t-add-Werror-to-build-flags.patch
-------------------------------------------------------------------
Mon Apr 11 14:56:31 UTC 2016 - mpluskal@suse.com

View File

@ -18,7 +18,7 @@
%define somajor 6
Name: libtasn1
Version: 4.8
Version: 4.9
Release: 0
Summary: ASN.1 parsing library
License: LGPL-2.1+ and GPL-3.0
@ -29,8 +29,15 @@ Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
# http://josefsson.org/key.txt
Source2: %{name}.keyring
Source99: baselibs.conf
Patch0: 0001-configure-don-t-add-Werror-to-build-flags.patch
# for patch0 0001-configure-don-t-add-Werror-to-build-flags.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: help2man
BuildRequires: libtool
#
BuildRequires: info
BuildRequires: pkg-config
BuildRequires: pkgconfig
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -62,8 +69,12 @@ http://www.gnutls.org
%prep
%setup -q
%patch0 -p1
%build
# for patch0 0001-configure-don-t-add-Werror-to-build-flags.patch
autoreconf -fiv
#
%configure --disable-static
make %{?_smp_mflags} V=1