rpms/terminatorX/F-9 terminatorX-endian_h.patch, NONE, 1.1 terminatorX.spec, 1.1, 1.2

Orcan Ogetbil oget at rpmfusion.org
Sat Apr 4 21:27:11 CEST 2009


Author: oget

Update of /cvs/free/rpms/terminatorX/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20405

Modified Files:
	terminatorX.spec 
Added Files:
	terminatorX-endian_h.patch 
Log Message:
* Sat Apr 04 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 3.82-3
- Fix ppc/ppc64 build failure


terminatorX-endian_h.patch:

--- NEW FILE terminatorX-endian_h.patch ---
diff -urNad /home/furrm/debian/packages/terminatorX/new/terminatorx-3.81/src/tX_endian.h terminatorx-3.81/src/tX_endian.h
--- /home/furrm/debian/packages/terminatorX/new/terminatorx-3.81/src/tX_endian.h	2003-03-18 19:00:09.000000000 -0500
+++ terminatorx-3.81/src/tX_endian.h	2004-08-11 10:49:04.000000000 -0400
@@ -44,9 +44,9 @@
 
 #	include "tX_types.h"
 
-#define __USE_XOPEN // we need this for swab()
+//#define __USE_XOPEN // we need this for swab()
 #	include <unistd.h>
-#undef __USE_XOPEN
+//#undef __USE_XOPEN
 
 #define swapbuffer(b, s) swab((void *) b, (void *) b, (ssize_t) s<<1)
 



Index: terminatorX.spec
===================================================================
RCS file: /cvs/free/rpms/terminatorX/F-9/terminatorX.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- terminatorX.spec	4 Apr 2009 17:31:21 -0000	1.1
+++ terminatorX.spec	4 Apr 2009 19:27:11 -0000	1.2
@@ -1,12 +1,14 @@
 Summary:       Realtime Audio Synthesizer
 Name:          terminatorX
 Version:       3.82
-Release:       2%{?dist}
+Release:       3%{?dist}
 Group:         Applications/Multimedia
 License:       GPLv2+ and GFDL
 URL:           http://terminatorx.org/
 Source0:       http://terminatorx.org/dist/%{name}-%{version}.tar.gz
 Patch0:        %{name}-gcc44.patch
+# To make the package buildable on ppc/ppc64:
+Patch1:        %{name}-endian_h.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: alsa-lib-devel
@@ -44,6 +46,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .gcc44
+%patch1 -p1 -b .endian
 
 # To match the freedesktop standards
 sed -i 's|\.png||' gnome-support/%{name}.desktop
@@ -119,6 +122,9 @@
 
 
 %changelog
+* Sat Apr 04 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 3.82-3
+- Fix ppc/ppc64 build failure
+
 * Wed Apr 01 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 3.82-2
 - Prepared package for RPMFusion submission (originates from planetccrma)
 



More information about the rpmfusion-commits mailing list