[arpage] Add patch to fix compilation with gcc 4.6

verdurin verdurin at fedoraproject.org
Fri Jun 24 20:57:31 UTC 2011


commit 21e66a635ae0e7336bcaa194e49a3f0def02afcd
Author: Adam Huffman <bloch at verdurin.com>
Date:   Fri Jun 24 21:56:40 2011 +0100

    Add patch to fix compilation with gcc 4.6

 arpage.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/arpage.spec b/arpage.spec
index f33cff2..16483e3 100644
--- a/arpage.spec
+++ b/arpage.spec
@@ -1,6 +1,6 @@
 Name:		arpage
 Version:	0.3.3
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	A JACK MIDI arpeggiator
 
 Group:		Applications/Multimedia
@@ -8,6 +8,7 @@ License:	GPLv3
 URL:		http://arpage.sourceforge.net
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1:	%{name}.desktop
+Patch0:		%{name}-gcc46.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	jack-audio-connection-kit-devel
@@ -23,6 +24,9 @@ data, synchronized to JACK.
 %prep
 %setup -q
 
+#fix compilation with gcc 4.6
+%patch0 -p1 -b .%{name}-gcc46.patch
+
 # fix bad permissions in debuginfo
 chmod 644 %{_builddir}/%{name}-%{version}/src/main.cc
 
@@ -71,6 +75,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
 
 %changelog
+* Fri Jun 24 2011 Adam Huffman <bloch at verdurin.com> - 0.3.3-6
+- add patch to fix compilation with GCC 4.6
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.3-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list