Steal patch idea from Debian to build with fresher backend
svn path=/nixpkgs/trunk/; revision=19455
This commit is contained in:
parent
c0bca28b2f
commit
2ce16710bc
@ -8,6 +8,10 @@ stdenv.mkDerivation {
|
||||
md5 = "c63bf7b0bb5f530cf3c08715db721cd3";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/gtkglue.c
|
||||
'';
|
||||
|
||||
buildInputs = [saneBackends libX11 gtk pkgconfig] ++
|
||||
(if (libusb != null) then [libusb] else []);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user