Author: alexlan
Update of /cvs/free/rpms/picard-freeworld/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15739
Modified Files:
picard-freeworld.spec
Added Files:
picard-freeworld-sse2-align.patch
Log Message:
* Tue Jun 23 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11-6
- Patch to fix segfaults using SSE2 (#678)
picard-freeworld-sse2-align.patch:
--- NEW FILE picard-freeworld-sse2-align.patch ---
--- picard-0.11/picard/musicdns/avcodec.c.orig 2009-06-22 09:37:20.772856810 -0700
+++ picard-0.11/picard/musicdns/avcodec.c 2009-06-22 09:38:23.389856706 -0700
@@ -271,7 +271,7 @@
sample_rate = codec_context->sample_rate;
buffer_size = 135 * channels * sample_rate * 2;
- buffer = (uint8_t *)malloc(buffer_size + AVCODEC_MAX_AUDIO_FRAME_SIZE);
+ buffer = (uint8_t *)memalign(16, buffer_size + AVCODEC_MAX_AUDIO_FRAME_SIZE);
buffer_ptr = buffer;
memset(buffer, 0, buffer_size);
Index: picard-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/picard-freeworld/devel/picard-freeworld.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- picard-freeworld.spec 29 Mar 2009 13:58:28 -0000 1.2
+++ picard-freeworld.spec 23 Jun 2009 08:18:16 -0000 1.3
@@ -3,12 +3,13 @@
Name: picard-freeworld
Version: 0.11
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Acoustic fingerprinting for Picard tagger
Group: Applications/Multimedia
Source0:
http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-%{version}.tar.gz
Patch0: %{name}-0.11-avsetup.patch
+Patch1: %{name}-sse2-align.patch
License: GPLv2+
Url:
http://musicbrainz.org/doc/PicardTagger
@@ -31,6 +32,7 @@
%prep
%setup -q -n picard-%{version}
%patch0 -p0
+%patch1 -p1
%build
env %{__python} setup.py config
@@ -54,6 +56,9 @@
%{python_sitearch}/picard/musicdns/avcodec.so
%changelog
+* Tue Jun 23 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11-6
+- Patch to fix segfaults using SSE2 (#678)
+
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.11-5
- rebuild for new F11 features