Add some upstream patches to fix warnings a crashes

epel8
Jeremy Newton 10 years ago
parent d9af07c5c8
commit 39885d3889

@ -11,7 +11,7 @@
Name: %{wxgtkname} Name: %{wxgtkname}
Version: 3.0.2 Version: 3.0.2
Release: 7%{?dist} Release: 8%{?dist}
Summary: GTK port of the wxWidgets GUI library Summary: GTK port of the wxWidgets GUI library
License: wxWidgets License: wxWidgets
Group: System Environment/Libraries Group: System Environment/Libraries
@ -23,6 +23,10 @@ Source10: wx-config
# remove abort when ABI check fails # remove abort when ABI check fails
# Backport from wxGTK # Backport from wxGTK
Patch0: wxGTK3-3.0.2-abicheck.patch Patch0: wxGTK3-3.0.2-abicheck.patch
# This is a collection of fixes from upstream
# to fix warnings and crashes. See bug for details:
# https://bugzilla.redhat.com/show_bug.cgi?id=1234211
Patch1: wxGTK3-3.0.2-upstreamfixes.patch
BuildRequires: gtk%{gtkver}-devel BuildRequires: gtk%{gtkver}-devel
#Note webkitgtk (GTK2) does not appear to be supported #Note webkitgtk (GTK2) does not appear to be supported
%if %{gtkver} == 3 %if %{gtkver} == 3
@ -125,6 +129,7 @@ This package provides documentation for the %{srcname} library.
%prep %prep
%setup -q -n %{srcname}-%{version} -a 1 %setup -q -n %{srcname}-%{version} -a 1
%patch0 -p1 -b .abicheck %patch0 -p1 -b .abicheck
%patch1 -p1 -b .upstreamfixes
# patch some installed files to avoid conflicts with 2.8.* # patch some installed files to avoid conflicts with 2.8.*
sed -i -e 's|aclocal)|aclocal/wxwin3.m4)|' Makefile.in sed -i -e 's|aclocal)|aclocal/wxwin3.m4)|' Makefile.in
@ -247,6 +252,9 @@ popd
%doc html %doc html
%changelog %changelog
* Mon Jun 22 2015 Jeremy Newton <alexjnewt@hotmail.com> - 3.0.2-8
- Include some upstream patches to fix crashes and warnings
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-7 * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save