do not compile with -Werror
This commit is contained in:
parent
bc9197d3c8
commit
8d970acc7c
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
|
@ -10,7 +10,8 @@ URL: http://www.gnu.org/software/libtasn1/
|
|||||||
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
|
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
|
||||||
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
|
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
|
||||||
Patch1: libtasn1-3.4-rpath.patch
|
Patch1: libtasn1-3.4-rpath.patch
|
||||||
BuildRequires: bison, pkgconfig
|
Patch2: libtasn1-4.9-no-werror.patch
|
||||||
|
BuildRequires: bison, pkgconfig, help2man
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
%ifarch %ix86 x86_64 ppc ppc64
|
%ifarch %ix86 x86_64 ppc ppc64
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
@ -53,6 +54,7 @@ data.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch1 -p1 -b .rpath
|
%patch1 -p1 -b .rpath
|
||||||
|
%patch2 -p1 -b .no-werror
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v -f --install
|
autoreconf -v -f --install
|
||||||
|
Loading…
Reference in New Issue
Block a user