[SCM] beast/master: Start working on GCC 4.7 build failure (bug#672030)

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue May 8 23:29:20 UTC 2012


The following commit has been merged in the master branch:
commit 98e9dbb2cbbf50fb8f3cbeeee0a4bbec455f21ba
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue May 8 16:28:21 2012 -0700

    Start working on GCC 4.7 build failure (bug#672030)
    
    Please note this is WIP.
    
    Git-Dch: Ignore

diff --git a/debian/patches/500-gcc47.patch b/debian/patches/500-gcc47.patch
new file mode 100644
index 0000000..c2609db
--- /dev/null
+++ b/debian/patches/500-gcc47.patch
@@ -0,0 +1,29 @@
+Description: Fix #includes to avoid FTBFS with GCC 4.7.
+Author: Alessio Treglia <alessio at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672030
+Forwarded: no
+---
+ birnet/birnetutils.cc   |    1 +
+ birnet/tests/threads.cc |    1 +
+ 2 files changed, 2 insertions(+)
+
+--- beast.orig/birnet/birnetutils.cc
++++ beast/birnet/birnetutils.cc
+@@ -21,6 +21,7 @@
+ #include "birnetmsg.hh"
+ #include "birnetcpu.hh"
+ #include <errno.h>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+--- beast.orig/birnet/tests/threads.cc
++++ beast/birnet/tests/threads.cc
+@@ -17,6 +17,7 @@
+ //#define TEST_VERBOSE
+ #include <birnet/birnettests.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ 
+ namespace {
+ using namespace Birnet;
diff --git a/debian/patches/series b/debian/patches/series
index 66d6663..550c99e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 210_volatile.diff
 300-desktop_file.patch
 400-format-security.patch
+500-gcc47.patch

-- 
beast packaging



More information about the pkg-multimedia-commits mailing list