Loading pkgs/development/libraries/libmusicbrainz/default.nix +5 −1 Original line number Diff line number Diff line Loading @@ -12,8 +12,12 @@ stdenv.mkDerivation rec { sha256 = "1i9qly13bwwmgj68vma766hgvsd1m75236haqsp9zgh5znlmkm3z"; }; patches = [ # Fix spacing around string literal for modern clang ./v3-darwin.patch ]; meta = with lib; { broken = stdenv.isDarwin; homepage = "http://musicbrainz.org/doc/libmusicbrainz"; description = "MusicBrainz Client Library (3.x version)"; longDescription = '' Loading pkgs/development/libraries/libmusicbrainz/v3-darwin.patch 0 → 100644 +22 −0 Original line number Diff line number Diff line diff --git a/src/webservice.cpp b/src/webservice.cpp index 3a36167..df14812 100644 --- a/src/webservice.cpp +++ b/src/webservice.cpp @@ -184,7 +184,7 @@ WebService::get(const std::string &entity, if (!sess) throw WebServiceError("ne_session_create() failed."); ne_set_server_auth(sess, httpAuth, this); - ne_set_useragent(sess, PACKAGE"/"VERSION); + ne_set_useragent(sess, PACKAGE "/" VERSION); // Use proxy server if (!d->proxyHost.empty()) { @@ -269,7 +269,7 @@ WebService::post(const std::string &entity, if (!sess) throw WebServiceError("ne_session_create() failed."); ne_set_server_auth(sess, httpAuth, this); - ne_set_useragent(sess, PACKAGE"/"VERSION); + ne_set_useragent(sess, PACKAGE "/" VERSION); // Use proxy server if (!d->proxyHost.empty()) { Loading
pkgs/development/libraries/libmusicbrainz/default.nix +5 −1 Original line number Diff line number Diff line Loading @@ -12,8 +12,12 @@ stdenv.mkDerivation rec { sha256 = "1i9qly13bwwmgj68vma766hgvsd1m75236haqsp9zgh5znlmkm3z"; }; patches = [ # Fix spacing around string literal for modern clang ./v3-darwin.patch ]; meta = with lib; { broken = stdenv.isDarwin; homepage = "http://musicbrainz.org/doc/libmusicbrainz"; description = "MusicBrainz Client Library (3.x version)"; longDescription = '' Loading
pkgs/development/libraries/libmusicbrainz/v3-darwin.patch 0 → 100644 +22 −0 Original line number Diff line number Diff line diff --git a/src/webservice.cpp b/src/webservice.cpp index 3a36167..df14812 100644 --- a/src/webservice.cpp +++ b/src/webservice.cpp @@ -184,7 +184,7 @@ WebService::get(const std::string &entity, if (!sess) throw WebServiceError("ne_session_create() failed."); ne_set_server_auth(sess, httpAuth, this); - ne_set_useragent(sess, PACKAGE"/"VERSION); + ne_set_useragent(sess, PACKAGE "/" VERSION); // Use proxy server if (!d->proxyHost.empty()) { @@ -269,7 +269,7 @@ WebService::post(const std::string &entity, if (!sess) throw WebServiceError("ne_session_create() failed."); ne_set_server_auth(sess, httpAuth, this); - ne_set_useragent(sess, PACKAGE"/"VERSION); + ne_set_useragent(sess, PACKAGE "/" VERSION); // Use proxy server if (!d->proxyHost.empty()) {