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
commit095345a1ac227cfd60069cca81cf539b48c0a28e (patch)
treee91648362614d9064d48169bcfca3525c33153b8
parentEbuild for rt73usb firmware, by Davide Pesavento in bug 204314 (diff)
downloadhistorical-095345a1ac227cfd60069cca81cf539b48c0a28e.tar.gz
historical-095345a1ac227cfd60069cca81cf539b48c0a28e.tar.bz2
historical-095345a1ac227cfd60069cca81cf539b48c0a28e.zip
Fix build error w/ gcc-4.3 as per #262047
Package-Manager: portage-2.2_rc24/cvs/Linux x86_64
-rw-r--r--app-misc/worker/ChangeLog6
-rw-r--r--app-misc/worker/Manifest5
-rw-r--r--app-misc/worker/files/worker-2.17.2-gcc43.patch10
-rw-r--r--app-misc/worker/worker-2.17.2.ebuild13
4 files changed, 29 insertions, 5 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/Manifest b/app-misc/worker/Manifest
index 1cd01dbafcaf..8f714758c89e 100644
--- a/app-misc/worker/Manifest
+++ b/app-misc/worker/Manifest
@@ -1,6 +1,7 @@
+AUX worker-2.17.2-gcc43.patch 214 RMD160 45b70d26e6448203ee06aec92e31924403e8aea5 SHA1 1e83831ff1d35888504b50dc384acbb34c56b698 SHA256 fd6b588ca2e333d68c0fe842cb7d8525ec2fb07c1c8fae31d2c64bdda3c54c8e
DIST worker-2.17.1.tar.bz2 835690 RMD160 9d3a81e9fed7c37b34d2e80397a2d5ee6467df8c SHA1 9a98313f2f8e57d7ec919f398f6e91b6da3561cf SHA256 a7e4b47ebcca057929629a16df53d5e0218f8f41e505658d830d21951eb7045f
DIST worker-2.17.2.tar.bz2 862247 RMD160 2d7171499ef101a998546d60d71b47b5b10ec008 SHA1 e4dbe6712644fd8c696a24a4223960ef689e008d SHA256 165e65ac48519119877b3a4a18a2673045110af59947f23abea3eb5f45064f94
EBUILD worker-2.17.1.ebuild 897 RMD160 01817faf9d79438f626f6c6a4aba3d0b5aa14c62 SHA1 70ed53545a5c724dbd232b7f5092ec5207225263 SHA256 2505d754fd3e2d13b6dda540531185f5dedcb1fd701b05f81188088df05f04fa
-EBUILD worker-2.17.2.ebuild 906 RMD160 ec7949b7d081e7a241850f7134a47f1045d4dff8 SHA1 7ccb1f70d25d1a836a37fe108d7357077234c619 SHA256 ebca4276f9b8728002935267347a97f92bedd6a0067b1b9d01dd836d6e65aca5
-MISC ChangeLog 3226 RMD160 c6cb6257a35043377363e90b9f70cc36cae7f95d SHA1 95ad22c0614fbdff0d5a976fc06ab65c6edb60e3 SHA256 f20a061b2a32adf4cf46fa7e05e20e17c33aab3e733606cc397f71c9d8766ac0
+EBUILD worker-2.17.2.ebuild 1009 RMD160 8d4547409e5c36c628f0b0f4ee3f054d80125715 SHA1 b7c05a49deab30ee039cfdb847e128569fe90251 SHA256 5290151d530347ae930c81e8d4e50cdd00172bc1f83c6744ed40af73b1732ce8
+MISC ChangeLog 3385 RMD160 64558584b73257d8915ef981c9047985ace7bdb3 SHA1 029d621d776a2846391dd1e035442f13f3dde958 SHA256 9eefec58f22883696747ef1f195d6b8fa43a9226f898da33797852b0b4d629d1
MISC metadata.xml 612 RMD160 7e03f646c0c4a25cb3d240d3dbc492334b387a21 SHA1 0ebe012d0df0a0fa3018d150e61cc633f3da0d39 SHA256 6aab9b34aa4d97dc78fc2f4c7e3f6795072fb2eabfecee7c22155ab2dd58b47d
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