rpms/alsa-plugins-freeworld/devel alsa-plugins-1.0.25-gcc47.patch, NONE, 1.1 alsa-plugins-freeworld.spec, 1.9, 1.10 alsa-plugins-1.0.24-backport.patch, 1.1, NONE

Nicolas Chauvet kwizart at rpmfusion.org
Tue Jul 10 23:43:38 CEST 2012


Author: kwizart

Update of /cvs/free/rpms/alsa-plugins-freeworld/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7948/devel

Modified Files:
	alsa-plugins-freeworld.spec 
Added Files:
	alsa-plugins-1.0.25-gcc47.patch 
Removed Files:
	alsa-plugins-1.0.24-backport.patch 
Log Message:
Fix build with recent gcc47


alsa-plugins-1.0.25-gcc47.patch:
 pcm_usb_stream.c |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE alsa-plugins-1.0.25-gcc47.patch ---
diff -up alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c.gcc47 alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c
--- alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c.gcc47	2012-01-25 08:57:07.000000000 +0100
+++ alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c	2012-07-10 23:36:46.803877412 +0200
@@ -20,6 +20,8 @@
 
 #include <byteswap.h>
 #define _GNU_SOURCE
+#define __USE_GNU
+#include <unistd.h>
 #include <sys/mman.h>
 #include <sys/shm.h>
 #include <sys/ioctl.h>


Index: alsa-plugins-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/alsa-plugins-freeworld/devel/alsa-plugins-freeworld.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- alsa-plugins-freeworld.spec	26 Jun 2012 07:45:17 -0000	1.9
+++ alsa-plugins-freeworld.spec	10 Jul 2012 21:43:38 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           alsa-plugins-freeworld
 Version:        1.0.25
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        The ALSA Plugins - freeworld version
 # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
 License:        LGPLv2+
@@ -9,6 +9,7 @@
 Source0:        ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-%{version}.tar.bz2
 Source1:        a52.conf
 Source2:        lavcrate.conf
+Patch0:         alsa-plugins-1.0.25-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  alsa-lib-devel >= 1.0.24
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q -n alsa-plugins-%{version}%{?prever}
+%patch0 -p1 -b .gcc47
 
 %build
 export CPPFLAGS="$(pkg-config --cflags libavcodec)"
@@ -105,6 +107,9 @@
 
 
 %changelog
+* Tue Jul 10 2012 Nicolas Chauvet <kwizart at gmail.com> - 1.0.25-3
+- Fix build with gcc47
+
 * Tue Jun 26 2012 Nicolas Chauvet <kwizart at gmail.com> - 1.0.25-2
 - Rebuilt for FFmpeg
 


--- alsa-plugins-1.0.24-backport.patch DELETED ---


More information about the rpmfusion-commits mailing list