[jhbuild] core-deps-3.[4,6]: fix musicbrainz build



commit d6017fab14efd6cc9f6e386e015db4de127b1881
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Thu Apr 12 19:50:10 2012 +0200

    core-deps-3.[4,6]: fix musicbrainz build
    
    Backported a patch from libmusicbrainz SVN.
    
    [  6%] Building CXX object src/CMakeFiles/musicbrainz4.dir/Query.cc.o
    /run/media/elmarco/320g/src/gnome/libmusicbrainz-4.0.0/src/Query.cc: In member function 'void MusicBrainz4::CQuery::WaitRequest() const':
    /run/media/elmarco/320g/src/gnome/libmusicbrainz-4.0.0/src/Query.cc:295:19: error: 'usleep' was not declared in this scope
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674007

 modulesets/gnome-suites-core-deps-base-3.4.modules |    1 +
 modulesets/gnome-suites-core-deps-base-3.6.modules |    1 +
 patches/libmusicbrainz-r13451.patch                |   12 ++++++++++++
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-base-3.4.modules b/modulesets/gnome-suites-core-deps-base-3.4.modules
index 63061a6..70117a9 100644
--- a/modulesets/gnome-suites-core-deps-base-3.4.modules
+++ b/modulesets/gnome-suites-core-deps-base-3.4.modules
@@ -323,6 +323,7 @@
             version="4.0.0"
             hash="sha256:30b139f51ee8c5bbe8803bdd6b24747276825f3cff7648ac72fba3c9d8f2e94a"
             size="126597">
+      <patch file="libmusicbrainz-r13451.patch" strip="0"/>
     </branch>
     <dependencies>
     </dependencies>
diff --git a/modulesets/gnome-suites-core-deps-base-3.6.modules b/modulesets/gnome-suites-core-deps-base-3.6.modules
index db5b3ce..4c9c18f 100644
--- a/modulesets/gnome-suites-core-deps-base-3.6.modules
+++ b/modulesets/gnome-suites-core-deps-base-3.6.modules
@@ -307,6 +307,7 @@
             version="4.0.0"
             hash="sha256:30b139f51ee8c5bbe8803bdd6b24747276825f3cff7648ac72fba3c9d8f2e94a"
             size="126597">
+      <patch file="libmusicbrainz-r13451.patch" strip="0"/>
     </branch>
     <dependencies>
     </dependencies>
diff --git a/patches/libmusicbrainz-r13451.patch b/patches/libmusicbrainz-r13451.patch
new file mode 100644
index 0000000..86fdeb7
--- /dev/null
+++ b/patches/libmusicbrainz-r13451.patch
@@ -0,0 +1,12 @@
+Index: src/Query.cc
+===================================================================
+--- src/Query.cc	(revision 13450)
++++ src/Query.cc	(working copy)
+@@ -32,6 +32,7 @@
+ #include <iostream>
+ 
+ #include <string.h>
++#include <unistd.h>
+ #include <sys/time.h>
+ 
+ #include <ne_uri.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]