summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-06-15 21:05:51 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-06-15 21:05:51 +0000
commit0e5971704cc711e2fb4519c4399338e3dde4f276 (patch)
tree19b71c01e64d09cbe124edcca660c9f3cb6afe07 /sys-cluster
parentrearrange code lines (diff)
downloadgentoo-2-0e5971704cc711e2fb4519c4399338e3dde4f276.tar.gz
gentoo-2-0e5971704cc711e2fb4519c4399338e3dde4f276.tar.bz2
gentoo-2-0e5971704cc711e2fb4519c4399338e3dde4f276.zip
Fix for compile under gcc-3.4.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmosix-user/ChangeLog6
-rw-r--r--sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-cluster/openmosix-user/ChangeLog b/sys-cluster/openmosix-user/ChangeLog
index e4a02c0769e1..ca428971e3fb 100644
--- a/sys-cluster/openmosix-user/ChangeLog
+++ b/sys-cluster/openmosix-user/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/openmosix-user
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.25 2005/04/17 11:59:23 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/ChangeLog,v 1.26 2005/06/15 21:05:51 robbat2 Exp $
+
+ 15 Jun 2005; Robin H. Johnson <robbat2@gentoo.org>
+ openmosix-user-0.3.6-r3.ebuild:
+ Fix for compile under gcc-3.4.
*openmosix-user-0.3.6-r3 (17 Apr 2005)
diff --git a/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild b/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild
index fd1c8f2656c7..03cae1449bc3 100644
--- a/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild
+++ b/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild,v 1.1 2005/04/17 11:59:23 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-user/openmosix-user-0.3.6-r3.ebuild,v 1.2 2005/06/15 21:05:51 robbat2 Exp $
inherit toolchain-funcs
@@ -43,6 +43,9 @@ INSTALLDIR=/usr
CFLAGS=-I/m/include -I./ -I/usr/include -I\${OPENMOSIX}/include -I${S}/moslib ${CFLAGS}
INSTALL=/usr/bin/install
EOF
+
+ # fix compile on gcc-3.4, because of goto labels
+ sed -e "s|breakargv:|breakargv: ;|" -i ${S}/mps/mtop.c || die "failed to fix label stuff"
}
src_compile() {