public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Samuli Suominen (ssuominen)" <ssuominen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/autopano-sift-C/files: autopano-sift-C-2.5.1-lm.patch
Date: Wed, 28 Aug 2013 16:51:57 +0000 (UTC)	[thread overview]
Message-ID: <20130828165157.77CDF2004C@flycatcher.gentoo.org> (raw)

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)





                 reply	other threads:[~2013-08-28 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130828165157.77CDF2004C@flycatcher.gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox