Author: goetz
Date: Mon Dec 11 12:27:30 2006
New Revision: 94779
Added:
packages/cooker/pyid3lib/current/SOURCES/pyid3lib-0.5.1-64bit.patch
Modified:
packages/cooker/pyid3lib/current/SPECS/pyid3lib.spec
Log:
fix build on 64 bit
Added: packages/cooker/pyid3lib/current/SOURCES/pyid3lib-0.5.1-64bit.patch
==============================================================================
--- (empty file)
+++ packages/cooker/pyid3lib/current/SOURCES/pyid3lib-0.5.1-64bit.patch Mon Dec
11 12:27:30 2006
@@ -0,0 +1,30 @@
+--- pyid3lib-0.5.1/pyid3lib.cc~ 2003-02-17 00:50:20.000000000 +0100
++++ pyid3lib-0.5.1/pyid3lib.cc 2006-12-11 12:20:15.000000000 +0100
+@@ -80,13 +80,13 @@
+
+
+ static PySequenceMethods tag_as_sequence = {
+- (inquiry)id3_length,
++ (lenfunc)id3_length,
+ NULL,
+ NULL,
+- (intargfunc)id3_item,
+- (intintargfunc)id3_slice,
+- (intobjargproc)id3_ass_item,
+- (intintobjargproc)id3_ass_slice,
++ (ssizeargfunc)id3_item,
++ (ssizessizeargfunc)id3_slice,
++ (ssizeobjargproc)id3_ass_item,
++ (ssizessizeobjargproc)id3_ass_slice,
+ (objobjproc)id3_contains,
+ NULL,
+ NULL,
+@@ -824,7 +824,7 @@
+ static ID3_Frame* frame_from_dict( ID3_FrameID fid, PyObject* dict )
+ {
+ char* data;
+- int size;
++ ssize_t size;
+
+ ID3_Field* field;
+ ID3_FieldID flid;
Modified: packages/cooker/pyid3lib/current/SPECS/pyid3lib.spec
==============================================================================
--- packages/cooker/pyid3lib/current/SPECS/pyid3lib.spec (original)
+++ packages/cooker/pyid3lib/current/SPECS/pyid3lib.spec Mon Dec 11
12:27:30 2006
@@ -9,6 +9,7 @@
Group: Sound
URL: http://pyid3lib.sourceforge.net/
Source:
http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Patch: pyid3lib-0.5.1-64bit.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libid3-devel
BuildRequires: zlib-devel
@@ -19,6 +20,7 @@
%prep
%setup -q
+%patch -p1
chmod -R go+rX .
%build