summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2004-06-03 22:09:02 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2004-06-03 22:09:02 +0000
commitc69b7f272849d8cd7075fa779aa1796cfdd4fa2e (patch)
tree305a1871bc7a59f83a4781d024511947298741d1 /x11-wm/waimea
parentgrr info pages (Manifest recommit) (diff)
downloadgentoo-2-c69b7f272849d8cd7075fa779aa1796cfdd4fa2e.tar.gz
gentoo-2-c69b7f272849d8cd7075fa779aa1796cfdd4fa2e.tar.bz2
gentoo-2-c69b7f272849d8cd7075fa779aa1796cfdd4fa2e.zip
Added 64bit cleaning patch.
Diffstat (limited to 'x11-wm/waimea')
-rw-r--r--x11-wm/waimea/ChangeLog6
-rw-r--r--x11-wm/waimea/files/waimea-0.5.0-64bit-clean.patch14
-rw-r--r--x11-wm/waimea/waimea-0.5.0_pre040506.ebuild10
3 files changed, 27 insertions, 3 deletions
diff --git a/x11-wm/waimea/ChangeLog b/x11-wm/waimea/ChangeLog
index 94a76557dd72..b213334efe24 100644
--- a/x11-wm/waimea/ChangeLog
+++ b/x11-wm/waimea/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-wm/waimea
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/waimea/ChangeLog,v 1.17 2004/06/03 09:53:35 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/waimea/ChangeLog,v 1.18 2004/06/03 22:09:01 kugelfang Exp $
+
+ 04 Jun 2004; Danny van Dyk <kugelfang@gentoo.org>
+ +files/waimea-0.5.0-64bit-clean.patch, waimea-0.5.0_pre040506.ebuild:
+ Added 64bit cleaning patch.
*waimea-0.5.0_pre040506 (03 Jun 2004)
diff --git a/x11-wm/waimea/files/waimea-0.5.0-64bit-clean.patch b/x11-wm/waimea/files/waimea-0.5.0-64bit-clean.patch
new file mode 100644
index 000000000000..7e91afb48e6a
--- /dev/null
+++ b/x11-wm/waimea/files/waimea-0.5.0-64bit-clean.patch
@@ -0,0 +1,14 @@
+--- src/Net.cc.orig 2004-05-05 16:17:21.000000000 +0200
++++ src/Net.cc 2004-06-03 21:00:29.142984648 +0200
+@@ -1590,7 +1590,11 @@
+ #define MAX_ICON_MATCH_DIFF 5000
+
+ void NetHandler::getWmIconImage(WaWindow *ww) {
++#ifdef LONG64 //necessary on 64bit archs
++ CARD64 *data;
++#elif
+ CARD32 *data;
++#endif
+ int status = Success - 1;
+
+ status = XGetWindowProperty(ww->display, ww->id, net_wm_icon_image, 0L,
diff --git a/x11-wm/waimea/waimea-0.5.0_pre040506.ebuild b/x11-wm/waimea/waimea-0.5.0_pre040506.ebuild
index ea1c6bc73a76..6cac1b4234bf 100644
--- a/x11-wm/waimea/waimea-0.5.0_pre040506.ebuild
+++ b/x11-wm/waimea/waimea-0.5.0_pre040506.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/waimea/waimea-0.5.0_pre040506.ebuild,v 1.1 2004/06/03 09:53:35 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/waimea/waimea-0.5.0_pre040506.ebuild,v 1.2 2004/06/03 22:09:01 kugelfang Exp $
-inherit eutils
+inherit eutils 64-bit
S="${WORKDIR}/${PN}-0.5.0"
DESCRIPTION="Window manager based on BlackBox"
@@ -21,6 +21,12 @@ DEPEND="virtual/x11
PROVIDE="virtual/blackbox"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ 64-bit && epatch ${FILESDIR}/${PN}-0.5.0-64bit-clean.patch
+}
+
src_compile() {
econf \
`use_enable xinerama` \