summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2009-03-11 16:27:24 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2009-03-11 16:27:24 +0000
commitcc6f4ddfb70f303cafb5706917e66903ec7d40f4 (patch)
treeaa5e44b46caabd9c3c7c5bad5be80cfa1e00a9f7 /app-misc/worker
parentEbuild for rt73usb firmware, by Davide Pesavento in bug 204314 (diff)
downloadgentoo-2-cc6f4ddfb70f303cafb5706917e66903ec7d40f4.tar.gz
gentoo-2-cc6f4ddfb70f303cafb5706917e66903ec7d40f4.tar.bz2
gentoo-2-cc6f4ddfb70f303cafb5706917e66903ec7d40f4.zip
Fix build error w/ gcc-4.3 as per #262047
(Portage version: 2.2_rc24/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/worker')
-rw-r--r--app-misc/worker/ChangeLog6
-rw-r--r--app-misc/worker/files/worker-2.17.2-gcc43.patch10
-rw-r--r--app-misc/worker/worker-2.17.2.ebuild13
3 files changed, 26 insertions, 3 deletions
diff --git a/app-misc/worker/ChangeLog b/app-misc/worker/ChangeLog
index c155a9c2f8f8..a6671f864bde 100644
--- a/app-misc/worker/ChangeLog
+++ b/app-misc/worker/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/worker
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/worker/ChangeLog,v 1.71 2009/03/06 14:47:55 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/worker/ChangeLog,v 1.72 2009/03/11 16:27:14 dertobi123 Exp $
+
+ 11 Mar 2009; Tobias Scherbaum <dertobi123@gentoo.org>
+ +files/worker-2.17.2-gcc43.patch, worker-2.17.2.ebuild:
+ Fix build error w/ gcc-4.3 as per #262047
*worker-2.17.2 (06 Mar 2009)
diff --git a/app-misc/worker/files/worker-2.17.2-gcc43.patch b/app-misc/worker/files/worker-2.17.2-gcc43.patch
new file mode 100644
index 000000000000..8bafb792b5e7
--- /dev/null
+++ b/app-misc/worker/files/worker-2.17.2-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/wconfig_layout.cc
++++ src/wconfig_layout.cc
+@@ -23,6 +23,7 @@
+ #include "wconfig.h"
+ #include "worker.h"
+ #include <aguix/acontainerbb.h>
++#include <algorithm>
+
+ static struct {
+ WConfig::layoutID_t id;
diff --git a/app-misc/worker/worker-2.17.2.ebuild b/app-misc/worker/worker-2.17.2.ebuild
index 97c07b4e00e8..a18fef46a979 100644
--- a/app-misc/worker/worker-2.17.2.ebuild
+++ b/app-misc/worker/worker-2.17.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/worker/worker-2.17.2.ebuild,v 1.1 2009/03/06 14:47:55 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/worker/worker-2.17.2.ebuild,v 1.2 2009/03/11 16:27:14 dertobi123 Exp $
inherit eutils
@@ -8,13 +8,18 @@ DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
HOMEPAGE="http://www.boomerangsworld.de/worker/"
SRC_URI="http://www.boomerangsworld.de/worker/downloads/${P}.tar.bz2"
+EAPI=2
+
+inherit eutils
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE="avfs unicode"
-DEPEND="x11-libs/libSM
+RDEPEND="x11-libs/libSM
avfs? ( sys-fs/avfs )"
+DEPEND="${RDEPEND}"
src_compile() {
econf $(use_enable unicode utf-8) \
@@ -22,6 +27,10 @@ src_compile() {
emake || die "make failed"
}
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+}
+
src_install() {
einstall || die "make install failed"
doman man/worker.1