From 0ca38af40269fe9aa7fe3653c49e4f23d1520a57 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 14 Feb 2005 00:12:16 +0000 Subject: [PATCH] Build fix --- libvisual-0.2.0-ifdef.patch | 11 +++++++++++ libvisual.spec | 8 ++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 libvisual-0.2.0-ifdef.patch diff --git a/libvisual-0.2.0-ifdef.patch b/libvisual-0.2.0-ifdef.patch new file mode 100644 index 0000000..269b7fa --- /dev/null +++ b/libvisual-0.2.0-ifdef.patch @@ -0,0 +1,11 @@ +--- libvisual-0.2.0/libvisual/lv_cpu.c.orig 2005-02-14 00:00:13.242204989 +0000 ++++ libvisual-0.2.0/libvisual/lv_cpu.c 2005-02-14 00:00:36.535144982 +0000 +@@ -423,7 +423,7 @@ void visual_cpu_initialize () + #endif + #endif /* VISUAL_ARCH_X86 */ + +-#if VISUAL_ARCH_POWERPC ++#if defined(VISUAL_ARCH_POWERPC) + check_os_altivec_support (); + #endif /* VISUAL_ARCH_POWERPC */ + diff --git a/libvisual.spec b/libvisual.spec index 6c4c433..8af4974 100644 --- a/libvisual.spec +++ b/libvisual.spec @@ -1,6 +1,6 @@ Name: libvisual Version: 0.2.0 -Release: 1 +Release: 2 Epoch: 0 Summary: An abstraction library for audio visualisation plugins @@ -8,6 +8,7 @@ Group: Applications/Multimedia License: LGPL URL: http://libvisual.sf.net Source0: http://dl.sf.net/libvisual/libvisual-0.2.0.tar.gz +Patch0: libvisual-0.2.0-ifdef.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xorg-x11-devel @@ -38,7 +39,7 @@ This package contains the files needed to build an application with libvisual. %prep %setup -q - +%patch0 -p1 %build %configure @@ -75,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 14 2005 David Woodhouse 0.2.0-2 +- Fix bogus #if where #ifdef was meant + * Thu Feb 10 2005 Aurelien Bompard 0.2.0-1 - version 0.2.0 - drop patch