ssuominen 14/03/12 13:19:50
Added: clementine-1.2.2-fix-build2.patch
clementine-1.2.2-fix-build.patch
Log:
Version bump wrt #503822 by Nikoli
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key
4868F14D)
Revision Changes Path
1.1
media-sound/clementine/files/clementine-1.2.2-fix-build2.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/clementine/files/clementine-1.2.2-fix-build2.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/clementine/files/clementine-1.2.2-fix-build2.patch?rev=1.1&content-type=text/plain
Index: clementine-1.2.2-fix-build2.patch
===================================================================
>From 7671108aa8d02658cd35cacf4337507cc80ea03a Mon Sep 17 00:00:00 2001
From: John Maguire <[email protected]>
Date: Thu, 6 Feb 2014 19:46:08 +0100
Subject: [PATCH] Add missing include for symlink()
---
src/internet/spotifyblobdownloader.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/internet/spotifyblobdownloader.cpp
b/src/internet/spotifyblobdownloader.cpp
index 9827d65..5bd12a0 100644
--- a/src/internet/spotifyblobdownloader.cpp
+++ b/src/internet/spotifyblobdownloader.cpp
@@ -15,8 +15,9 @@
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
#include "spotifyblobdownloader.h"
+
+#include "config.h"
#include "spotifyservice.h"
#include "core/logging.h"
#include "core/network.h"
@@ -32,6 +33,10 @@
#include <QtCrypto>
#endif // HAVE_QCA
+#ifdef Q_OS_UNIX
+ #include <unistd.h>
+#endif
+
const char* SpotifyBlobDownloader::kSignatureSuffix = ".sha1";
--
1.8.5.5
1.1
media-sound/clementine/files/clementine-1.2.2-fix-build.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/clementine/files/clementine-1.2.2-fix-build.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/clementine/files/clementine-1.2.2-fix-build.patch?rev=1.1&content-type=text/plain
Index: clementine-1.2.2-fix-build.patch
===================================================================
>From 3df3a5b645737603af6bda844db04c431b9c8064 Mon Sep 17 00:00:00 2001
From: John Maguire <[email protected]>
Date: Thu, 6 Feb 2014 19:03:10 +0100
Subject: [PATCH] Add missing header for syscall().
This is cunningly not defined in syscall.h
---
src/core/utilities.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/utilities.cpp b/src/core/utilities.cpp
index 6fce753..cb9a94d 100644
--- a/src/core/utilities.cpp
+++ b/src/core/utilities.cpp
@@ -52,6 +52,7 @@
#endif
#ifdef Q_OS_LINUX
+# include <unistd.h>
# include <sys/syscall.h>
#endif
#ifdef Q_OS_DARWIN
--
1.8.5.5