2014-09-08 22:14:38 +00:00
|
|
|
|
|
|
|
Don't drop -Wall in the swig Perl bindings, otherwise building with
|
|
|
|
e.g. -Wformat-security might break.
|
|
|
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1037341
|
|
|
|
|
2022-04-14 08:30:54 +00:00
|
|
|
Index: subversion-1.14.2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
|
|
|
===================================================================
|
|
|
|
--- subversion-1.14.2.orig/subversion/bindings/swig/perl/native/Makefile.PL.in
|
|
|
|
+++ subversion-1.14.2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
|
|
|
@@ -61,7 +61,6 @@ chomp($cflags);
|
2014-09-08 22:14:38 +00:00
|
|
|
# SWIG is using C++ style comments in an extern "C" code.
|
|
|
|
$cflags =~ s/-ansi\s+//g;
|
|
|
|
$cflags =~ s/-std=c89\s+//g;
|
|
|
|
-$cflags =~ s/-Wall//g;
|
|
|
|
$cflags =~ s/-Wunused//g;
|
|
|
|
$cflags =~ s/-Wshadow//g;
|
|
|
|
$cflags =~ s/-Wstrict-prototypes//g;
|