[bristol] fix build on secondary arches

Dan Horák sharkcz at fedoraproject.org
Fri Jan 20 15:24:55 UTC 2012


commit a30dda456337ffeef29692073689feaf7060de69
Author: Dan Horák <dan at danny.cz>
Date:   Fri Jan 20 16:24:51 2012 +0100

    fix build on secondary arches

 bristol.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/bristol.spec b/bristol.spec
index 517af1b..300845e 100644
--- a/bristol.spec
+++ b/bristol.spec
@@ -1,6 +1,6 @@
 Name:		bristol
 Version:	0.60.9
-Release:	1%{dist}
+Release:	2%{dist}
 Summary:	Synthesizer emulator
 
 Group:		Applications/Multimedia
@@ -9,6 +9,8 @@ URL:		http://bristol.sourceforge.net
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1:	%{name}.desktop
 Patch0:		bristol-0.60.9-CVE-2010-3351.patch
+# fix build on non-x86 arches (remove compiler options from linker flags)
+Patch1:		bristol-0.60.9-secondary.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	libX11-devel alsa-lib-devel jack-audio-connection-kit-devel desktop-file-utils
@@ -31,6 +33,7 @@ This package contains the development libraries for Bristol.
 %setup -q
 
 %patch0 -p0 -b .libpath
+%patch1 -p1 -b .secondary
 
 find ./bitmaps/ -name '*.gz' | xargs chmod -x 
 chmod -x ./memory/profiles/*
@@ -83,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.so
 
 %changelog
+* Fri Jan 20 2012 Dan Horák <dan[at]danny.cz> - 0.60.9-2
+- fix build on secondary arches
+
 * Wed Jan 11 2012 Jon Ciesla <limburgher at gmail.com> - 0.60.9-1
 - New upstream.
 


More information about the scm-commits mailing list