Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135232

Summary: sys-devel/re2c compile failing with gcc-4.1.1, patch included
Product: Gentoo Linux Reporter: Egbert van der Wal <eggie>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?