Author: oget
Update of /cvs/free/rpms/terminatorX/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18975
Modified Files:
terminatorX.spec
Added Files:
terminatorX-endian_h.patch
Log Message:
build fix. take 2
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/devel/terminatorX.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- terminatorX.spec 4 Apr 2009 18:19:10 -0000 1.2
+++ terminatorX.spec 4 Apr 2009 19:07:26 -0000 1.3
@@ -1,12 +1,13 @@
Summary: Realtime Audio Synthesizer
Name: terminatorX
Version: 3.82
-Release: 2%{?dist}.1
+Release: 2%{?dist}.2
Group: Applications/Multimedia
License: GPLv2+ and GFDL
URL:
http://terminatorx.org/
Source0:
http://terminatorx.org/dist/%{name}-%{version}.tar.gz
Patch0: %{name}-gcc44.patch
+Patch1: %{name}-endian_h.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
@@ -44,6 +45,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