summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-10-12 23:08:16 +0200
committerThomas Deutschmann <whissi@gentoo.org>2017-10-12 23:18:50 +0200
commit54550720b42f8a4bb3adaf6727ce8a47c5ed7892 (patch)
tree8f373eeeb53a3716ac9748ba01defb4b8c57b7e1 /media-libs/libfpx
parentnet-irc/konversation: Fix crash on extended joins (diff)
downloadgentoo-54550720b42f8a4bb3adaf6727ce8a47c5ed7892.tar.gz
gentoo-54550720b42f8a4bb3adaf6727ce8a47c5ed7892.tar.bz2
gentoo-54550720b42f8a4bb3adaf6727ce8a47c5ed7892.zip
media-libs/libfpx: Bump to v1.3.1_p10 (CVE-2017-{12920,12921,12925})
Bug: https://bugs.gentoo.org/628190 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'media-libs/libfpx')
-rw-r--r--media-libs/libfpx/Manifest1
-rw-r--r--media-libs/libfpx/libfpx-1.3.1_p10.ebuild45
-rw-r--r--media-libs/libfpx/metadata.xml3
3 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libfpx/Manifest b/media-libs/libfpx/Manifest
index e22d43d97790..bda9b1c3c861 100644
--- a/media-libs/libfpx/Manifest
+++ b/media-libs/libfpx/Manifest
@@ -1 +1,2 @@
+DIST libfpx-1.3.1-10.tar.bz2 2358246 SHA256 21e968ba90e7f091fa59e5baf72ff3d2150adba07fb4e37e9f495775185b4bba SHA512 afa96b240ead4d3c56e8e6c66db188d1f4441e7b4d08e12e0e96359cfa2cea9eae5625105d87df65ceacd97d84a386876c62dee5bc1916c420755d9bcc4655d4 WHIRLPOOL 705074b5aaec62274b18a4aee8d710b52708bfc45aa7ebdd6fe27da628b0248e3db1f6cb99f129dbf6cc955854ff67517353d489e1831acd6850842c237ec9bf
DIST libfpx-1.3.1-6.tar.bz2 2358328 SHA256 84e663bb23619e19195777a7c5d348046756f28cffda3d0ea2160ed0b55a698a SHA512 d33bc59f091100f4e0f7db396ba2f3a93951b348f8b175070fa23186f7ce488e71b7be43a45ebd9a3af21affe5342f63955df8549ff15582f8b29e67601531fb WHIRLPOOL d107a1ee69d018699567761603ce21ba6f6b80e25d5e3e53f6a76ef262602d0d344127c6a0c7f372c2da60a3b293882184513d4a77e674c32b384d5c8798a4bf
diff --git a/media-libs/libfpx/libfpx-1.3.1_p10.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
new file mode 100644
index 000000000000..1393c3382531
--- /dev/null
+++ b/media-libs/libfpx/libfpx-1.3.1_p10.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic libtool
+
+DESCRIPTION="A library for manipulating FlashPIX images"
+HOMEPAGE="http://www.i3a.org/"
+SRC_URI="mirror://imagemagick/delegates/${P/_p/-}.tar.bz2"
+
+LICENSE="Flashpix"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="static-libs"
+
+S=${WORKDIR}/${P/_p/-}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.0.13-export-symbols.patch
+)
+
+src_prepare() {
+ default
+
+ # we're not windows, even though we don't define __unix by default
+ [[ ${CHOST} == *-darwin* ]] && append-flags -D__unix
+
+ elibtoolize
+}
+
+src_configure() {
+ append-ldflags -Wl,--no-undefined
+ econf \
+ $(use_enable static-libs static) \
+ LIBS="-lstdc++ -lm"
+}
+
+src_install() {
+ default
+
+ dodoc AUTHORS ChangeLog doc/*.txt
+
+ insinto /usr/share/doc/${PF}/pdf
+ doins doc/*.pdf
+}
diff --git a/media-libs/libfpx/metadata.xml b/media-libs/libfpx/metadata.xml
index 6ade85e1c642..d845d64c112b 100644
--- a/media-libs/libfpx/metadata.xml
+++ b/media-libs/libfpx/metadata.xml
@@ -5,4 +5,7 @@
<email>graphics@gentoo.org</email>
<name>Gentoo Graphics Project</name>
</maintainer>
+ <slots>
+ <subslots>Reflect major ABI of libfpx.so.</subslots>
+ </slots>
</pkgmetadata>