# ChangeLog for dev-dotnet/libgdiplus
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.37 2005/09/16 05:10:57 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.38 2005/09/17 07:16:19 latexer Exp $
+
+ 17 Sep 2005; Peter Johanson <latexer@gentoo.org> libgdiplus-1.1.9.ebuild:
+ Fix for bug #106157.
*libgdiplus-1.1.9 (16 Sep 2005)
MD5 2322133047da1a10e68b035cb629776f libgdiplus-1.1.8.ebuild 1574
-MD5 924ec641ce7a2d622b12f65064b98a2d ChangeLog 6750
+MD5 64aa9db4ad9ca573ecc90086acb43826 ChangeLog 6850
MD5 a6614575798e40bc922ce2c1ed2a05c7 libgdiplus-1.0.5-r3.ebuild 1503
MD5 5f5de8057dfa705eb9320fe00909f00a libgdiplus-1.0.6-r2.ebuild 1505
-MD5 253e90e980c79987e5d9f70160b4a660 libgdiplus-1.1.9.ebuild 1485
+MD5 a6f3423b1f9c46d9620730f1cfdbbfbd libgdiplus-1.1.9.ebuild 1676
MD5 a60fdfbce7c7cfc52187ff86a7f8bbf8 metadata.xml 222
MD5 606acb6e7c0ef822f28f9fb67b50a28f libgdiplus-1.0.6.ebuild 1356
MD5 dae1774d528034395a3aee9af1daa3bc libgdiplus-1.1.7.ebuild 1582
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-1.1.9.ebuild,v 1.1 2005/09/16 05:10:57 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-1.1.9.ebuild,v 1.2 2005/09/17 07:16:19 latexer Exp $
-inherit libtool eutils
+inherit libtool eutils flag-o-matic toolchain-funcs
DESCRIPTION="Library for using System.Drawing with Mono"
}
src_compile() {
+ if [ "$(gcc-major-version)" -gt "3" ] || \
+ ( [ "$(gcc-major-version)" == "3" ] && \
+ [ "$(gcc-minor-version)" -gt "3" ] )
+ then
+ replace-flags -O3 -O2
+ fi
+
local myconf="--with-cairo=included --disable-glitz"
use tiff || myconf="--without-libtiff ${myconf}"
use gif || myconf="--without-libgif ${myconf}"