summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2007-04-05 06:56:04 +0000
committerDenis Dupeyron <calchan@gentoo.org>2007-04-05 06:56:04 +0000
commitacd793e506b1a3daad4a7960ca724b429c9f4d9b (patch)
treeea58f9867c52098fc00160359725a5f4c99a5b8a /sci-libs/libgeda
parent(#172752) Security bump. CVE 2007-1667: libX11 XInitImage input validation. (diff)
downloadgentoo-2-acd793e506b1a3daad4a7960ca724b429c9f4d9b.tar.gz
gentoo-2-acd793e506b1a3daad4a7960ca724b429c9f4d9b.tar.bz2
gentoo-2-acd793e506b1a3daad4a7960ca724b429c9f4d9b.zip
Fixed bug #173398, thanks to Stefan Salewski.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-libs/libgeda')
-rw-r--r--sci-libs/libgeda/ChangeLog5
-rw-r--r--sci-libs/libgeda/libgeda-20070216.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/sci-libs/libgeda/ChangeLog b/sci-libs/libgeda/ChangeLog
index 62773bba01c5..df2baca0a034 100644
--- a/sci-libs/libgeda/ChangeLog
+++ b/sci-libs/libgeda/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/libgeda
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/ChangeLog,v 1.33 2007/03/10 14:11:44 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/ChangeLog,v 1.34 2007/04/05 06:56:04 calchan Exp $
+
+ 05 Apr 2007; Denis Dupeyron <calchan@gentoo.org> libgeda-20070216.ebuild:
+ Fixed bug #173398, thanks to Stefan Salewski.
*libgeda-20070216 (10 Mar 2007)
diff --git a/sci-libs/libgeda/libgeda-20070216.ebuild b/sci-libs/libgeda/libgeda-20070216.ebuild
index d0292d15ba1e..d027eef8719a 100644
--- a/sci-libs/libgeda/libgeda-20070216.ebuild
+++ b/sci-libs/libgeda/libgeda-20070216.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/libgeda-20070216.ebuild,v 1.1 2007/03/10 14:11:44 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/libgeda-20070216.ebuild,v 1.2 2007/04/05 06:56:04 calchan Exp $
inherit eutils
@@ -8,20 +8,22 @@ HOMEPAGE="http://www.geda.seul.org"
DESCRIPTION="libgeda - this library provides functions needed for the gEDA core suite"
SRC_URI="http://www.geda.seul.org/devel/${PV}/libgeda-${PV}.tar.gz"
-IUSE=""
+IUSE="gd"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
SLOT="0"
DEPEND=">=x11-libs/gtk+-2.4
>=dev-scheme/guile-1.6.3
- >=dev-libs/libstroke-0.5.1"
+ >=dev-libs/libstroke-0.5.1
+ gd? ( >=media-libs/gd-2 )"
pkg_setup() {
if has_version ">=dev-scheme/guile-1.8" ; then
built_with_use "dev-scheme/guile" deprecated \
|| die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
fi
+ use gd && built_with_use media-libs/gd png || die "media-libs/gd must be compiled with USE=png"
}
src_unpack() {
@@ -34,6 +36,11 @@ src_unpack() {
|| die "Patch failed"
}
+src_compile() {
+ econf --disable-dependency-tracking $(use_enable gd) || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
src_install() {
emake DESTDIR=${D} install || die "Installation failed"