aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/autopanosiftc
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2019-01-04 19:33:50 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2019-01-04 21:04:52 +0000
commit8fe36d7285824606573d286849acc90a3ea874d0 (patch)
tree5a7891ae84b8959b313fd241166e242213699f46 /pkgs/applications/graphics/autopanosiftc
parent9e551aee94426498dfecbc0e5f26504009667778 (diff)
autopanosiftc: fix libm underlinking
Diffstat (limited to 'pkgs/applications/graphics/autopanosiftc')
-rw-r--r--pkgs/applications/graphics/autopanosiftc/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/autopanosiftc/default.nix b/pkgs/applications/graphics/autopanosiftc/default.nix
index 5fd1810bc284..c64604975ab0 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";