don't drop -Wall when building swig Perl bindings (#1037341)
Resolves: rhbz#1037341
This commit is contained in:
parent
8fecbab208
commit
260cfa25de
0
subversion-1.8.5-subversion-1.8.5.patch
Normal file
0
subversion-1.8.5-subversion-1.8.5.patch
Normal file
16
subversion-1.8.5-swigplWall.patch
Normal file
16
subversion-1.8.5-swigplWall.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
--- subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in.swigplWall
|
||||||
|
+++ subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
|
@@ -54,7 +54,6 @@ my $includes = ' -I/usr/include/apr-1
|
||||||
|
# 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;
|
@ -26,7 +26,7 @@
|
|||||||
Summary: A Modern Concurrent Version Control System
|
Summary: A Modern Concurrent Version Control System
|
||||||
Name: subversion
|
Name: subversion
|
||||||
Version: 1.8.5
|
Version: 1.8.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://subversion.apache.org/
|
URL: http://subversion.apache.org/
|
||||||
@ -45,6 +45,7 @@ Patch4: subversion-1.8.0-rubybind.patch
|
|||||||
Patch5: subversion-1.8.0-aarch64.patch
|
Patch5: subversion-1.8.0-aarch64.patch
|
||||||
Patch6: subversion-1.8.4-r1543145.patch
|
Patch6: subversion-1.8.4-r1543145.patch
|
||||||
Patch7: subversion-1.8.5-r1542774+.patch
|
Patch7: subversion-1.8.5-r1542774+.patch
|
||||||
|
Patch8: subversion-1.8.5-swigplWall.patch
|
||||||
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
|
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
|
||||||
BuildRequires: %{dbdevel} >= 4.1.25, swig >= 1.3.24, gettext
|
BuildRequires: %{dbdevel} >= 4.1.25, swig >= 1.3.24, gettext
|
||||||
BuildRequires: apr-devel >= 1.3.0, apr-util-devel >= 1.3.0
|
BuildRequires: apr-devel >= 1.3.0, apr-util-devel >= 1.3.0
|
||||||
@ -185,6 +186,7 @@ This package includes supplementary tools for use with Subversion.
|
|||||||
%patch5 -p1 -b .aarch64
|
%patch5 -p1 -b .aarch64
|
||||||
%patch6 -p1 -b .r1543145
|
%patch6 -p1 -b .r1543145
|
||||||
%patch7 -p1 -b .r1542774+
|
%patch7 -p1 -b .r1542774+
|
||||||
|
%patch8 -p1 -b .swigplWall
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Regenerate the buildsystem, so that:
|
# Regenerate the buildsystem, so that:
|
||||||
@ -478,6 +480,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 10 2013 Joe Orton <jorton@redhat.com> - 1.8.5-2
|
||||||
|
- don't drop -Wall when building swig Perl bindings (#1037341)
|
||||||
|
|
||||||
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1.8.5-1
|
* Tue Nov 26 2013 Joe Orton <jorton@redhat.com> - 1.8.5-1
|
||||||
- update to 1.8.5 (#1034130)
|
- update to 1.8.5 (#1034130)
|
||||||
- add fix for wc-queries-test breakage (h/t Andreas Stieger, r1542774)
|
- add fix for wc-queries-test breakage (h/t Andreas Stieger, r1542774)
|
||||||
|
Loading…
Reference in New Issue
Block a user