Commit d6017fab authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Javier Jardón

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
parent 360d688c
......@@ -323,6 +323,7 @@
version="4.0.0"
hash="sha256:30b139f51ee8c5bbe8803bdd6b24747276825f3cff7648ac72fba3c9d8f2e94a"
size="126597">
<patch file="libmusicbrainz-r13451.patch" strip="0"/>
</branch>
<dependencies>
</dependencies>
......
......@@ -307,6 +307,7 @@
version="4.0.0"
hash="sha256:30b139f51ee8c5bbe8803bdd6b24747276825f3cff7648ac72fba3c9d8f2e94a"
size="126597">
<patch file="libmusicbrainz-r13451.patch" strip="0"/>
</branch>
<dependencies>
</dependencies>
......
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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment