diff options
author | Hanno Böck <hanno@gentoo.org> | 2006-01-12 11:44:09 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2006-01-12 11:44:09 +0000 |
commit | 34af71c40271ebbef019ef9b6c096a5cb06be49b (patch) | |
tree | 95dc6ac4c9d7788bc42bb246b88efb6fee2de6bc /x11-wm | |
parent | Version bump. (diff) | |
download | gentoo-2-34af71c40271ebbef019ef9b6c096a5cb06be49b.tar.gz gentoo-2-34af71c40271ebbef019ef9b6c096a5cb06be49b.tar.bz2 gentoo-2-34af71c40271ebbef019ef9b6c096a5cb06be49b.zip |
icewm gcc41 fix
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/icewm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/icewm/files/icewm-1.2.23-gcc41.patch | 36 | ||||
-rw-r--r-- | x11-wm/icewm/icewm-1.2.23.ebuild | 6 |
3 files changed, 46 insertions, 4 deletions
diff --git a/x11-wm/icewm/ChangeLog b/x11-wm/icewm/ChangeLog index 81f4331160f3..0514f60e3e25 100644 --- a/x11-wm/icewm/ChangeLog +++ b/x11-wm/icewm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-wm/icewm -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.106 2005/10/24 17:29:02 gustavoz Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.107 2006/01/12 11:44:09 hanno Exp $ + + 12 Jan 2006; Hanno Boeck <hanno@gentoo.org> + +files/icewm-1.2.23-gcc41.patch, icewm-1.2.23.ebuild: + Fix for gcc 4.1. 24 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> icewm-1.2.23.ebuild: Stable on sparc diff --git a/x11-wm/icewm/files/icewm-1.2.23-gcc41.patch b/x11-wm/icewm/files/icewm-1.2.23-gcc41.patch new file mode 100644 index 000000000000..06ac26b88fcd --- /dev/null +++ b/x11-wm/icewm/files/icewm-1.2.23-gcc41.patch @@ -0,0 +1,36 @@ +diff -Naur icewm-1.2.23/src/wmframe.h icewm-1.2.23-gcc41/src/wmframe.h +--- icewm-1.2.23/src/wmframe.h 2005-08-14 20:33:08.000000000 +0200 ++++ icewm-1.2.23-gcc41/src/wmframe.h 2006-01-11 19:50:05.028527250 +0100 +@@ -106,7 +106,7 @@ + YClientContainer *container() const { return fClientContainer; } + + #ifdef WMSPEC_HINTS +- void YFrameWindow::startMoveSize(int x, int y, ++ void startMoveSize(int x, int y, + int direction); + #endif + +diff -Naur icewm-1.2.23/src/ypixbuf.h icewm-1.2.23-gcc41/src/ypixbuf.h +--- icewm-1.2.23/src/ypixbuf.h 2005-08-14 20:33:08.000000000 +0200 ++++ icewm-1.2.23-gcc41/src/ypixbuf.h 2006-01-11 19:49:37.310795000 +0100 +@@ -51,7 +51,7 @@ + #if defined(CONFIG_ANTIALIASING) || defined(CONFIG_IMLIB) + static ref<YPixbuf> scale(ref<YPixbuf> source, int const width, int const height); + private: +- YPixbuf::YPixbuf(const ref<YPixbuf> &source, ++ YPixbuf(const ref<YPixbuf> &source, + int const width, int const height); + public: + #endif +diff -Naur icewm-1.2.23/src/ywindow.h icewm-1.2.23-gcc41/src/ywindow.h +--- icewm-1.2.23/src/ywindow.h 2005-08-14 20:33:08.000000000 +0200 ++++ icewm-1.2.23-gcc41/src/ywindow.h 2006-01-11 19:49:51.663692000 +0100 +@@ -118,7 +118,7 @@ + + ref<YPixmap> beginPaint(YRect &r); + void endPaint(Graphics &g, ref<YPixmap> pixmap, YRect &r); +- void YWindow::paintExpose(int ex, int ey, int ew, int eh); ++ void paintExpose(int ex, int ey, int ew, int eh); + + Graphics & getGraphics(); + diff --git a/x11-wm/icewm/icewm-1.2.23.ebuild b/x11-wm/icewm/icewm-1.2.23.ebuild index 3e5a4d5a7f5a..c4b0f277df77 100644 --- a/x11-wm/icewm/icewm-1.2.23.ebuild +++ b/x11-wm/icewm/icewm-1.2.23.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.23.ebuild,v 1.4 2005/10/24 17:29:02 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.23.ebuild,v 1.5 2006/01/12 11:44:09 hanno Exp $ inherit eutils @@ -35,6 +35,8 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} + epatch ${FILESDIR}/${P}-gcc41.patch + cd ${S}/src if use silverxp ; then epatch ${FILESDIR}/${P/_}.ybutton.cc.patch |