Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Michael Palimaka (kensington)" <kensington@g.o>
Subject: gentoo-x86 commit in media-video/bangarang/files: bangarang-2.1-gcc-4.7.patch
Date: Sat, 23 Jun 2012 13:54:30 +0000 (UTC)
kensington    12/06/23 13:54:30

  Added:                bangarang-2.1-gcc-4.7.patch
  Log:
  Add patch from upstream to fix build with GCC 4.7, wrt bug #423063.
  
  (Portage version: 2.1.10.65/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch?rev=1.1&content-type=text/plain

Index: bangarang-2.1-gcc-4.7.patch
===================================================================
commit b893fcdb7ddfc8c59fd29a29b7265a713c3dbab1
Author: Alex Fiestas <afiestas@...>
Date:   Thu Mar 29 10:09:22 2012 +0200

    Build fix: Add unistd.h include since sleep is defined there

diff --git a/src/platform/infofetchers/lastfminfofetcher.cpp b/src/platform/infofetchers/lastfminfofetcher.cpp
index 0c49d69..fcc4cd3 100644
--- a/src/platform/infofetchers/lastfminfofetcher.cpp
+++ b/src/platform/infofetchers/lastfminfofetcher.cpp
@@ -32,6 +32,8 @@
 #include <QFile>
 #include <QTextEdit>
 
+#include <unistd.h>
+
 LastfmInfoFetcher::LastfmInfoFetcher(QObject *parent) :
         InfoFetcher(parent)
 {
diff --git a/src/platform/infofetchers/tmdbinfofetcher.cpp b/src/platform/infofetchers/tmdbinfofetcher.cpp
index 7801644..3c01960 100644
--- a/src/platform/infofetchers/tmdbinfofetcher.cpp
+++ b/src/platform/infofetchers/tmdbinfofetcher.cpp
@@ -30,6 +30,8 @@
 #include <QDomDocument>
 #include <QFile>
 
+#include <unistd.h>
+
 TMDBInfoFetcher::TMDBInfoFetcher(QObject *parent) :
         InfoFetcher(parent)
 {
diff --git a/src/platform/infofetchers/tvdbinfofetcher.cpp b/src/platform/infofetchers/tvdbinfofetcher.cpp
index ff351b0..670ed18 100644
--- a/src/platform/infofetchers/tvdbinfofetcher.cpp
+++ b/src/platform/infofetchers/tvdbinfofetcher.cpp
@@ -30,6 +30,8 @@
 #include <QDomDocument>
 #include <QFile>
 
+#include <unistd.h>
+
 TVDBInfoFetcher::TVDBInfoFetcher(QObject *parent) :
         InfoFetcher(parent)
 {





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in media-video/bangarang: bangarang-2.1.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in dev-php/Text_Template/files: - New directory
Previous by date:
gentoo-x86 commit in media-video/bangarang: bangarang-2.1.ebuild ChangeLog
Next by date:
gentoo-x86 commit in dev-php/Text_Template/files: - New directory


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.