libgphoto2: fix build with updated libjpeg(-turbo)

... via a patch from Debian.
This commit is contained in:
Vladimír Čunát 2016-07-09 19:18:05 +02:00
parent 6f07fdf469
commit 310bdf6ecf

View File

@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "1wjf79ipqwb5phfjjwf15rwgigakylnfqaj4crs5qnds6ba6i1ld";
};
patches = [(fetchurl {
url = "https://anonscm.debian.org/cgit/pkg-phototools/libgphoto2.git/plain"
+ "/debian/patches/libjpeg_turbo_1.5.0_fix.patch?id=8ce79a2a02d";
sha256 = "114iyhk6idxz2jhnzpf1glqm6d0x0y8cqfpqxz9i96q9j7x3wwin";
})];
nativeBuildInputs = [ pkgconfig gettext ];
buildInputs = [ libtool libjpeg libusb1 ];