* [gentoo-commits] gentoo-x86 commit in media-gfx/autopano-sift-C/files: autopano-sift-C-2.5.1-lm.patch
@ 2013-08-28 16:51 99% Samuli Suominen (ssuominen)
0 siblings, 0 replies; 1+ results
From: Samuli Suominen (ssuominen) @ 2013-08-28 16:51 UTC (permalink / raw
To: gentoo-commits
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)
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-08-28 16:51 99% [gentoo-commits] gentoo-x86 commit in media-gfx/autopano-sift-C/files: autopano-sift-C-2.5.1-lm.patch Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox