Build fix
This commit is contained in:
parent
7da5fdc7fd
commit
0ca38af402
11
libvisual-0.2.0-ifdef.patch
Normal file
11
libvisual-0.2.0-ifdef.patch
Normal file
@ -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 */
|
||||
|
||||
@ -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 <dwmw2@infradead.org> 0.2.0-2
|
||||
- Fix bogus #if where #ifdef was meant
|
||||
|
||||
* Thu Feb 10 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-1
|
||||
- version 0.2.0
|
||||
- drop patch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user