Fix for bug #106157.
authorPeter Johanson <latexer@gentoo.org>
Sat, 17 Sep 2005 07:16:19 +0000 (07:16 +0000)
committerPeter Johanson <latexer@gentoo.org>
Sat, 17 Sep 2005 07:16:19 +0000 (07:16 +0000)
Package-Manager: portage-2.0.51.22-r2

dev-dotnet/libgdiplus/ChangeLog
dev-dotnet/libgdiplus/Manifest
dev-dotnet/libgdiplus/libgdiplus-1.1.9.ebuild

index fd6e58bb58a07b35a133fd41bb44d565b2a3b441..451b2f12a4027f24a429b21d034b4382850d76f4 100644 (file)
@@ -1,6 +1,9 @@
 # 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)
 
index 0d516049df661ad3ed8a56eab0f39a481f47dad0..f8a4f5e80d0f2c5fb68de33a85fdfa97d59f4eb8 100644 (file)
@@ -1,8 +1,8 @@
 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
index 9f60806b5b68b751757c75087ce39eb023316ee8..a8bf4ec08bcfc30fa8d2e7e6978729bb33780dca 100644 (file)
@@ -1,8 +1,8 @@
 # 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"
 
@@ -37,6 +37,13 @@ src_unpack() {
 }
 
 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}"