devel/libvisual libvisual-0.2.0-ifdef.patch, NONE, 1.1 libvisual.spec, 1.3, 1.4

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Mon Feb 14 00:12:18 UTC 2005


Author: dwmw2

Update of /cvs/extras/devel/libvisual
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18076

Modified Files:
	libvisual.spec 
Added Files:
	libvisual-0.2.0-ifdef.patch 
Log Message:
Build fix


libvisual-0.2.0-ifdef.patch:

--- NEW FILE libvisual-0.2.0-ifdef.patch ---
--- 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 */
 


Index: libvisual.spec
===================================================================
RCS file: /cvs/extras/devel/libvisual/libvisual.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libvisual.spec	10 Feb 2005 18:27:17 -0000	1.3
+++ libvisual.spec	14 Feb 2005 00:12:16 -0000	1.4
@@ -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 @@
 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 @@
 
 %prep
 %setup -q
-
+%patch0 -p1
 
 %build
 %configure
@@ -75,6 +76,9 @@
 
 
 %changelog
+* Mon Feb 14 2005 David Woodhouse <dwmw2 at 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




More information about the fedora-extras-commits mailing list