Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135232 - sys-devel/re2c compile failing with gcc-4.1.1, patch included
Summary: sys-devel/re2c compile failing with gcc-4.1.1, patch included
Status: RESOLVED DUPLICATE of bug 134661
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 23:03 UTC by Egbert van der Wal
Modified: 2006-06-02 02:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egbert van der Wal 2006-06-01 23:03:42 UTC
I ran into troubles compiling sys-devel/re2c-0.9.9, but I found a patch on

http://lists.debian.org/debian-qa-packages/2006/03/msg00160.html

I manually patched it by using ebuild /usr/portage/sys-devel/re2c/re2c-0.9.9 unpack, patching and compiling using ebuild again, and now it works. Maybe it could be incorporated into the ebuild?

The very simple patch is:

--- re.h~	2006-03-10 06:18:06.000000000 +0000
+++ re.h	2006-03-10 06:18:30.000000000 +0000
@@ -164,6 +164,8 @@
 	}
 };
 
+RegExp *mkAlt(RegExp*, RegExp*);
+
 class AltOp: public RegExp
 {
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 02:27:45 UTC
Good luck mixing stable ebuilds w/ latest unstable gcc.

*** This bug has been marked as a duplicate of 134661 ***
Comment 2 Egbert van der Wal 2006-06-02 02:47:11 UTC
Well, the patch doesn't break gcc-3.4.6 so why shouldn't you put it in?