grive: fix build with new binutils headers
This commit is contained in:
parent
f0f34067e7
commit
e218c79b85
@ -1,7 +1,8 @@
|
||||
{ stdenv, fetchgit, cmake, libgcrypt, json_c, curl, expat, boost, binutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grive-0.3.0";
|
||||
version = "0.3.0";
|
||||
name = "grive-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Grive/grive.git";
|
||||
@ -11,6 +12,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [cmake libgcrypt json_c curl expat stdenv binutils boost];
|
||||
|
||||
# work around new binutils headers, see
|
||||
# http://stackoverflow.com/questions/11748035/binutils-bfd-h-wants-config-h-now
|
||||
prePatch = ''
|
||||
sed -i '1i#define PACKAGE "grive"\n#define PACKAGE_VERSION "${version}"' \
|
||||
libgrive/src/bfd/SymbolInfo.cc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "an open source (experimental) Linux client for Google Drive";
|
||||
homepage = https://github.com/Grive/grive;
|
||||
|
Loading…
Reference in New Issue
Block a user