From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 911FF1381F3 for ; Wed, 28 Aug 2013 16:52:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 162A7E0B63; Wed, 28 Aug 2013 16:52:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6276AE0B68 for ; Wed, 28 Aug 2013 16:52:00 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7902E33ECAF for ; Wed, 28 Aug 2013 16:51:59 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2166) id 77CDF2004C; Wed, 28 Aug 2013 16:51:57 +0000 (UTC) From: "Samuli Suominen (ssuominen)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, ssuominen@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/autopano-sift-C/files: autopano-sift-C-2.5.1-lm.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: autopano-sift-C-2.5.1-lm.patch X-VCS-Directories: media-gfx/autopano-sift-C/files X-VCS-Committer: ssuominen X-VCS-Committer-Name: Samuli Suominen Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130828165157.77CDF2004C@flycatcher.gentoo.org> Date: Wed, 28 Aug 2013 16:51:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 535be620-95b4-4f00-8fe3-9c0fd66c3baf X-Archives-Hash: dca7804f03984ac4d32508dc492c2c66 ssuominen 13/08/28 16:51:57 Added: autopano-sift-C-2.5.1-lm.patch Log: Link against -lm because the ScaleSpace.c (part of internal libsift.a library) is using the exp() function wrt #472150 by Jason Mours (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) Revision Changes Path 1.1 media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-lm.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-lm.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-lm.patch?rev=1.1&content-type=text/plain Index: autopano-sift-C-2.5.1-lm.patch =================================================================== Link against -lm (mathlib) because ScaleSpace.c (which is part of the internal libsift.a) is using the exp() function, see http://bugs.gentoo.org/472150 --- CMakeLists.txt +++ CMakeLists.txt @@ -121,7 +121,7 @@ ADD_LIBRARY(libsift STATIC ${LIBSIFT_SOURCES}) -set(all_libs libsift ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} +set(all_libs libsift m ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${PANO13_LIBRARIES} ${LIBXML2_LIBRARIES}) add_executable(generatekeys GenerateKeys.c)