do not compile with -Werror
This commit is contained in:
parent
93183ad3f8
commit
447b5eaed8
13
libtasn1-4.9-no-werror.patch
Normal file
13
libtasn1-4.9-no-werror.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
@ -11,7 +11,8 @@ Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
|
||||
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
|
||||
Source2: gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
||||
Patch1: libtasn1-3.4-rpath.patch
|
||||
BuildRequires: bison, pkgconfig
|
||||
Patch2: libtasn1-4.9-no-werror.patch
|
||||
BuildRequires: bison, pkgconfig, help2man
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
%ifarch %ix86 x86_64 ppc ppc64
|
||||
BuildRequires: valgrind
|
||||
@ -55,6 +56,7 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1 -b .rpath
|
||||
%patch2 -p1 -b .no-werror
|
||||
|
||||
%build
|
||||
autoreconf -v -f --install
|
||||
|
Loading…
Reference in New Issue
Block a user