]> git.ipfire.org Git - ipfire-3.x.git/blob - subversion/patches/0003-subversion-1.8.5-swigplWall.patch
git: Update to 2.23.0
[ipfire-3.x.git] / subversion / patches / 0003-subversion-1.8.5-swigplWall.patch
1
2 Don't drop -Wall in the swig Perl bindings, otherwise building with
3 e.g. -Wformat-security might break.
4
5 https://bugzilla.redhat.com/show_bug.cgi?id=1037341
6
7 --- subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in.swigplWall
8 +++ subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in
9 @@ -54,7 +54,6 @@ my $includes = ' -I/usr/include/apr-1
10 # SWIG is using C++ style comments in an extern "C" code.
11 $cflags =~ s/-ansi\s+//g;
12 $cflags =~ s/-std=c89\s+//g;
13 -$cflags =~ s/-Wall//g;
14 $cflags =~ s/-Wunused//g;
15 $cflags =~ s/-Wshadow//g;
16 $cflags =~ s/-Wstrict-prototypes//g;