From 8fe36d7285824606573d286849acc90a3ea874d0 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 4 Jan 2019 19:33:50 +0000 Subject: autopanosiftc: fix libm underlinking --- pkgs/applications/graphics/autopanosiftc/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/applications/graphics/autopanosiftc') diff --git a/pkgs/applications/graphics/autopanosiftc/default.nix b/pkgs/applications/graphics/autopanosiftc/default.nix index 5fd1810bc28..c64604975ab 100644 --- a/pkgs/applications/graphics/autopanosiftc/default.nix +++ b/pkgs/applications/graphics/autopanosiftc/default.nix @@ -10,6 +10,13 @@ stdenv.mkDerivation { buildInputs = [ cmake libpng libtiff libjpeg panotools libxml2 ]; + patches = [ + (fetchurl { + url = https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-lm.patch; + sha256 = "1bfcr5sps0ip9gl4jprji5jgf9wkczz6d2clsjjlbsy8r3ixi3lv"; + }) + ]; + meta = { homepage = http://hugin.sourceforge.net/; description = "Implementation in C of the autopano-sift algorithm for automatically stitching panoramas"; -- cgit 1.4.1