diff options
author | Brad Laue <brad@gentoo.org> | 2005-02-27 19:00:55 +0000 |
---|---|---|
committer | Brad Laue <brad@gentoo.org> | 2005-02-27 19:00:55 +0000 |
commit | 038d04b0e52b5a87508fa72dede26f2f908ef2ba (patch) | |
tree | 7a0efb213be2332e4e6479988049c4372a3de4fb /net-libs/gecko-sdk | |
parent | Stable on x86. (diff) | |
download | gentoo-2-038d04b0e52b5a87508fa72dede26f2f908ef2ba.tar.gz gentoo-2-038d04b0e52b5a87508fa72dede26f2f908ef2ba.tar.bz2 gentoo-2-038d04b0e52b5a87508fa72dede26f2f908ef2ba.zip |
Build fix for new cairo
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-libs/gecko-sdk')
-rw-r--r-- | net-libs/gecko-sdk/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/gecko-sdk/files/svg-cairo-0.3.0-fix.patch | 22 | ||||
-rw-r--r-- | net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild | 7 |
3 files changed, 33 insertions, 2 deletions
diff --git a/net-libs/gecko-sdk/ChangeLog b/net-libs/gecko-sdk/ChangeLog index 9c7970d47128..8ffd312ae35d 100644 --- a/net-libs/gecko-sdk/ChangeLog +++ b/net-libs/gecko-sdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/gecko-sdk # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gecko-sdk/ChangeLog,v 1.6 2005/02/19 07:52:38 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/gecko-sdk/ChangeLog,v 1.7 2005/02/27 19:00:55 brad Exp $ + + 27 Feb 2005; Brad Laue <brad@gentoo.org> +files/svg-cairo-0.3.0-fix.patch, + gecko-sdk-1.7.5.ebuild: + Build fix for Cairo >=0.3.0. *gecko-sdk-1.7.5 (19 Feb 2005) diff --git a/net-libs/gecko-sdk/files/svg-cairo-0.3.0-fix.patch b/net-libs/gecko-sdk/files/svg-cairo-0.3.0-fix.patch new file mode 100644 index 000000000000..9d1f0d830559 --- /dev/null +++ b/net-libs/gecko-sdk/files/svg-cairo-0.3.0-fix.patch @@ -0,0 +1,22 @@ +diff -aur mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp mozilla/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp +--- mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp 2004-02-10 15:18:09.000000000 -0500 ++++ mozilla/layout/svg/renderer/src/cairo/nsSVGCairoCanvas.cpp 2005-02-23 20:25:32.240459288 -0500 +@@ -50,6 +50,7 @@ + #include "nsRenderingContextGTK.h" + #include <gdk/gdkx.h> + #include <cairo.h> ++#include <cairo-xlib.h> + + /** + * \addtogroup cairo_renderer Cairo Rendering Engine +diff -aur mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp mozilla/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp +--- mozilla-orig/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp 2004-03-16 16:40:07.000000000 -0500 ++++ mozilla/layout/svg/renderer/src/cairo/nsSVGCairoGlyphMetrics.cpp 2005-02-23 20:25:09.538910448 -0500 +@@ -51,6 +51,7 @@ + #include "nsSVGTypeCIDs.h" + #include "nsIComponentManager.h" + #include <cairo.h> ++#include <stdlib.h> + + /** + * \addtogroup gdiplus_renderer Cairo Rendering Engine diff --git a/net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild b/net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild index 404c2461e461..a10161779093 100644 --- a/net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild +++ b/net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild,v 1.1 2005/02/19 07:52:38 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/gecko-sdk/gecko-sdk-1.7.5.ebuild,v 1.2 2005/02/27 19:00:55 brad Exp $ unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 inherit flag-o-matic gcc eutils nsplugins mozilla-launcher mozconfig makeedit @@ -65,6 +65,11 @@ src_unpack() { # https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65 epatch ${PORTDIR}/net-www/mozilla/files/mozilla-1.7.3-4ft2.patch + # Patch for newer versions of cairo ( bug #80301) + if has_version '>=x11-libs/cairo-0.3.0'; then + epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch + fi + WANT_AUTOCONF=2.1 autoconf || die "WANT_AUTOCONF failed" } |