rpms/picard-freeworld/F-10 picard-freeworld-sse2-align.patch, NONE, 1.1 picard-freeworld.spec, 1.1, 1.2

Alex Lancaster alexlan at rpmfusion.org
Wed Jun 24 08:08:00 CEST 2009


Author: alexlan

Update of /cvs/free/rpms/picard-freeworld/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5835

Modified Files:
	picard-freeworld.spec 
Added Files:
	picard-freeworld-sse2-align.patch 
Log Message:
- 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/F-10/picard-freeworld.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- picard-freeworld.spec	16 Jan 2009 03:00:53 -0000	1.1
+++ picard-freeworld.spec	24 Jun 2009 06:07:59 -0000	1.2
@@ -3,12 +3,13 @@
 
 Name:             picard-freeworld
 Version:          0.11
-Release:          4%{?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,12 @@
 %{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
+
 * Wed Jan 14 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11-4
 - Remove check target, only useful in the base picard package.
 



More information about the rpmfusion-commits mailing list