summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-05 07:49:48 +0000
committerFabian Groffen <grobian@gentoo.org>2010-09-05 07:49:48 +0000
commit9e67c1b7391513501d1a053d1a9e8b37cd845571 (patch)
tree2d01346c60ffb332c3fb4aa85796965eac58208c /x11-libs
parentUse ecj-4.5.jar for >=4.5 (bug #336045). (diff)
downloadgentoo-2-9e67c1b7391513501d1a053d1a9e8b37cd845571.tar.gz
gentoo-2-9e67c1b7391513501d1a053d1a9e8b37cd845571.tar.bz2
gentoo-2-9e67c1b7391513501d1a053d1a9e8b37cd845571.zip
Add patch for bug #335619, fixes compilation/linking problem due to visibility of xgeExtRegister
(Portage version: 2.2.01.15553-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libXext/ChangeLog9
-rw-r--r--x11-libs/libXext/files/libXext-1.1.2-xhidden.patch14
-rw-r--r--x11-libs/libXext/libXext-1.1.2-r1.ebuild21
3 files changed, 43 insertions, 1 deletions
diff --git a/x11-libs/libXext/ChangeLog b/x11-libs/libXext/ChangeLog
index 85f6bd815717..bfc7f643349a 100644
--- a/x11-libs/libXext/ChangeLog
+++ b/x11-libs/libXext/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/libXext
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXext/ChangeLog,v 1.83 2010/08/02 18:23:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXext/ChangeLog,v 1.84 2010/09/05 07:49:48 grobian Exp $
+
+*libXext-1.1.2-r1 (05 Sep 2010)
+
+ 05 Sep 2010; Fabian Groffen <grobian@gentoo.org> +libXext-1.1.2-r1.ebuild,
+ +files/libXext-1.1.2-xhidden.patch:
+ Add patch for bug #335619, fixes compilation/linking problem due to
+ visibility of xgeExtRegister
02 Aug 2010; Raúl Porcel <armin76@gentoo.org> libXext-1.1.1.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #308521
diff --git a/x11-libs/libXext/files/libXext-1.1.2-xhidden.patch b/x11-libs/libXext/files/libXext-1.1.2-xhidden.patch
new file mode 100644
index 000000000000..f4ebd643ee0c
--- /dev/null
+++ b/x11-libs/libXext/files/libXext-1.1.2-xhidden.patch
@@ -0,0 +1,14 @@
+https://bugs.freedesktop.org/attachment.cgi?id=38376
+http://bugs.gentoo.org/show_bug.cgi?id=335619
+
+--- libXext-1.1.2/src/Xge.c
++++ libXext-1.1.2/src/Xge.c
+@@ -294,7 +294,7 @@
+ /*
+ * Extensions need to register callbacks for their events.
+ */
+-Bool
++_X_HIDDEN Bool
+ xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
+ {
+ XGEExtNode* newExt;
diff --git a/x11-libs/libXext/libXext-1.1.2-r1.ebuild b/x11-libs/libXext/libXext-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..d58cb64e5d85
--- /dev/null
+++ b/x11-libs/libXext/libXext-1.1.2-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXext/libXext-1.1.2-r1.ebuild,v 1.1 2010/09/05 07:49:48 grobian Exp $
+
+EAPI=3
+inherit xorg-2
+
+DESCRIPTION="X.Org Xext library"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE=""
+
+RDEPEND=">=x11-libs/libX11-1.1.99.1"
+DEPEND="${RDEPEND}
+ >=x11-proto/xextproto-7.0.99.2
+ >=x11-proto/xproto-7.0.13"
+
+src_prepare() {
+ xorg-2_src_prepare
+ epatch "${FILESDIR}/${P}-xhidden.patch"
+}