Hello community,

here is the log from the commit of package ffado for openSUSE:Factory checked 
in at 2012-03-26 11:01:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffado (Old)
 and      /work/SRC/openSUSE:Factory/.ffado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffado", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffado/ffado.changes      2012-03-23 
12:05:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ffado.new/ffado.changes 2012-03-26 
11:01:06.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Mar 24 14:35:27 UTC 2012 - [email protected]
+
+- Add ffado-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  ffado-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ffado-mixer.spec ++++++
--- /var/tmp/diff_new_pack.APOejl/_old  2012-03-26 11:01:08.000000000 +0200
+++ /var/tmp/diff_new_pack.APOejl/_new  2012-03-26 11:01:08.000000000 +0200
@@ -24,12 +24,13 @@
 Name:           ffado-mixer
 %define tname libffado
 Version:        2.0.1.2040
-Release:        2
-License:        GPL-2.0+
+Release:        0
 Summary:        FireWire 1394 support for audio devices, svn snapshot
-Url:            http://www.ffado.org/
+License:        GPL-2.0+
 Group:          Productivity/Multimedia/Other
+Url:            http://www.ffado.org/
 Source0:        %{tname}-%{version}.tar.bz2
+Patch1:         ffado-gcc47.patch
 BuildRequires:  alsa-devel
 BuildRequires:  dbus-1-python-devel
 BuildRequires:  doxygen
@@ -75,7 +76,6 @@
 This is a snapshot of svn revision 2040
 
 %package -n ffado-doc
-License:        GPL-2.0+
 Summary:        API documentation for ffado
 Group:          Documentation/HTML
 %if 0%{?suse_version} >= 1120
@@ -87,6 +87,7 @@
 
 %prep
 %setup -n %{tname}-%{version} -q
+%patch1 -p1
 
 %build
 scons %{?jobs:--jobs=%jobs} \

++++++ ffado.spec ++++++
--- /var/tmp/diff_new_pack.APOejl/_old  2012-03-26 11:01:08.000000000 +0200
+++ /var/tmp/diff_new_pack.APOejl/_new  2012-03-26 11:01:08.000000000 +0200
@@ -24,16 +24,17 @@
 Name:           ffado
 %define tname libffado
 Version:        2.0.1.2040
-Release:        3
-License:        GPL-2.0+
+Release:        0
 Summary:        FireWire 1394 support for audio devices, svn snapshot
-Url:            http://www.ffado.org/
+License:        GPL-2.0+
 Group:          Productivity/Multimedia/Other
+Url:            http://www.ffado.org/
 Source0:        %{tname}-%{version}.tar.bz2
 Source1:        baselibs.conf
 Source2:        ChangeLog
 # No current date and time allowed.
 Patch0:         libffado-date_time.patch
+Patch1:         ffado-gcc47.patch
 BuildRequires:  alsa-devel
 BuildRequires:  dbus-1-python-devel
 BuildRequires:  fdupes
@@ -69,7 +70,6 @@
 This is a snapshot of svn revision 1855
 
 %package -n libffado-devel
-License:        GPL-2.0+
 Summary:        Development files for ffado
 Group:          Development/Libraries/C and C++
 Requires:       glibc-devel
@@ -82,7 +82,6 @@
 applications that use the FFADO libraries and api.
 
 %package -n libffado2
-License:        GPL-2.0+
 Summary:        FireWire 1394 support for audio devices
 Group:          System/Libraries
 
@@ -103,6 +102,7 @@
 %prep
 %setup -n %{tname}-%{version} -q
 %patch0
+%patch1 -p1
 cp %{SOURCE2} .
 
 %build

++++++ ffado-gcc47.patch ++++++
Index: libffado-2.0.1.2040/src/rme/fireface_flash.cpp
===================================================================
--- libffado-2.0.1.2040.orig/src/rme/fireface_flash.cpp
+++ libffado-2.0.1.2040/src/rme/fireface_flash.cpp
@@ -23,6 +23,8 @@
 
 /* This file implements the flash memory methods of the Device object */
 
+#include <unistd.h>
+
 #include "rme/rme_avdevice.h"
 #include "rme/fireface_def.h"
 
Index: libffado-2.0.1.2040/src/rme/rme_avdevice.cpp
===================================================================
--- libffado-2.0.1.2040.orig/src/rme/rme_avdevice.cpp
+++ libffado-2.0.1.2040/src/rme/rme_avdevice.cpp
@@ -43,6 +43,7 @@
 #include <string>
 #include <stdint.h>
 #include <assert.h>
+#include <unistd.h>
 #include "libutil/ByteSwap.h"
 
 #include <iostream>
Index: libffado-2.0.1.2040/tests/test-dice-eap.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-dice-eap.cpp
+++ libffado-2.0.1.2040/tests/test-dice-eap.cpp
@@ -45,6 +45,7 @@ using namespace Dice;
 #include <iostream>
 #include <cstdlib>
 #include <cstring>
+#include <unistd.h>
 
 #include <signal.h>
 int run;
Index: libffado-2.0.1.2040/tests/test-fw410.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-fw410.cpp
+++ libffado-2.0.1.2040/tests/test-fw410.cpp
@@ -27,6 +27,7 @@
 #include <argp.h>
 #include <stdlib.h>
 #include <iostream>
+#include <unistd.h>
 
 using namespace std;
 
Index: libffado-2.0.1.2040/tests/test-ieee1394service.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-ieee1394service.cpp
+++ libffado-2.0.1.2040/tests/test-ieee1394service.cpp
@@ -25,6 +25,7 @@
 #include <config.h>
 #endif
 
+#include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
Index: libffado-2.0.1.2040/tests/test-ipcringbuffer.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-ipcringbuffer.cpp
+++ libffado-2.0.1.2040/tests/test-ipcringbuffer.cpp
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <iostream>
 #include <signal.h>
+#include <unistd.h>
 
 using namespace Util;
 
Index: libffado-2.0.1.2040/tests/test-messagequeue.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-messagequeue.cpp
+++ libffado-2.0.1.2040/tests/test-messagequeue.cpp
@@ -26,6 +26,7 @@
 #include "libutil/PosixMessageQueue.h"
 #include "libutil/Functors.h"
 
+#include <unistd.h>
 #include <argp.h>
 #include <stdlib.h>
 #include <iostream>
Index: libffado-2.0.1.2040/tests/test-scs.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-scs.cpp
+++ libffado-2.0.1.2040/tests/test-scs.cpp
@@ -477,8 +477,8 @@ main(int argc, char **argv)
         }
         #endif
 
-        BridgeMapIterator it = seqport2bridgemap.find(portNumber);
-        if(it == seqport2bridgemap.end()) {
+        BridgeMapIterator it2 = seqport2bridgemap.find(portNumber);
+        if(it2 == seqport2bridgemap.end()) {
             seqport2bridgemap[portNumber] = bridge;
         } else {
             debugError("BUG: port already present in bridge map, duplicate 
port.\n");
Index: libffado-2.0.1.2040/tests/test-shm.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-shm.cpp
+++ libffado-2.0.1.2040/tests/test-shm.cpp
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <iostream>
 #include <signal.h>
+#include <unistd.h>
 
 using namespace Util;
 
Index: libffado-2.0.1.2040/tests/test-streamdump.cpp
===================================================================
--- libffado-2.0.1.2040.orig/tests/test-streamdump.cpp
+++ libffado-2.0.1.2040/tests/test-streamdump.cpp
@@ -28,6 +28,7 @@
 #include <argp.h>
 #include <stdlib.h>
 #include <iostream>
+#include <unistd.h>
 
 using namespace std;
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to