1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Sunday 11 Apr 2004 16:40, Stuart Herbert wrote: |
5 |
> On Saturday 10 April 2004 05:46, Elfyn McBratney wrote: |
6 |
> > Hello devs, |
7 |
> > |
8 |
> > Before I begin, sorry if I should have sent this to the -user list.. |
9 |
> > Please forward it there/moan at me if so. :) |
10 |
> > |
11 |
> > At the moment, re2c is completely broken w.r.t. gcc 3.x. And as most |
12 |
> > people are living on the bleedin' edge (i.e., not using gcc 2.x) re2c is |
13 |
> > completely broken for them. |
14 |
> |
15 |
> We know. Bug #43449 covers this. |
16 |
> |
17 |
> > So, I propose the maintainers of php*-cvs/re2c do one of:- |
18 |
> > |
19 |
> > 1) Pull from portage. Drastic, yes, but why have ebuilds in the tree |
20 |
> > if the wont compile for most gentoo users? |
21 |
> |
22 |
> I believe that re2c is required for something or other to do with php5. |
23 |
> Coredumb's really the best person to answer that, but he doesn't seem to be |
24 |
> around much lately :( |
25 |
> |
26 |
> > 2) Fix them. I'll try as hard as I can (I've done most of the porting |
27 |
> > of re2c (current ver in portage), I'm just left with a few C++ idioms..) |
28 |
> > to fix it up so it's usable. |
29 |
> |
30 |
> Why duplicate work? Take a look at re2c.org ... there's already a project |
31 |
> underway to deal with this, which includes important patches from the PHP |
32 |
> developers. |
33 |
> |
34 |
> If you update bug #43449 with an ebuild for re2c.org's version, I'll |
35 |
> happily take a look at it. |
36 |
|
37 |
OK, I've got a patch ready for bug #43449. This patch applies to re2c.org's |
38 |
0.9.1 (based on the patch already in portage 8) It's available here (as I |
39 |
couldn't reach bugs.gentoo.org - crap isp ;) |
40 |
|
41 |
http://people.emcb.co.uk/beu/devo/gentoo/re2c/re2c-ebuild.patch |
42 |
http://people.emcb.co.uk/beu/devo/gentoo/re2c/files/0.9.1-patch |
43 |
|
44 |
(Add a .gz to the last one for gzip'ed patch.) |
45 |
|
46 |
I know the Makefile kludge is bad! :) I'm going to try and work on a solution |
47 |
upstream, but in the mean time re2c builds and works (haven't tried with gcc2 |
48 |
yet - will do that today). |
49 |
|
50 |
The ebuild does a double `emake || die' because the first time re2c is |
51 |
compiled is uses the pre-processed `scanner.cc' (bootstrap) the second is |
52 |
done using the just-compiled re2c. Hrmm.. |
53 |
|
54 |
Elfyn |
55 |
|
56 |
- -- |
57 |
Elfyn McBratney, EMCB |
58 |
mailto:elfyn@×××××××.uk |
59 |
http://www.emcb.co.uk/ |
60 |
|
61 |
PGP Key ID: 0x456548B4 |
62 |
PGP Key Fingerprint: |
63 |
29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4 |
64 |
|
65 |
"When I say something, I put my name next to it." -- Isaac Jaffee |
66 |
|
67 |
>> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ << |
68 |
<< ~ Linux london 2.6.5-emcb-241 #2 i686 GNU/Linux ~ >> |
69 |
>> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ << |
70 |
-----BEGIN PGP SIGNATURE----- |
71 |
Version: GnuPG v1.2.4 (GNU/Linux) |
72 |
|
73 |
iD8DBQFAe4ufaIgMKkVlSLQRAm8dAJ47EyVT6hQO/YgctC0Nx/w2qtaqPgCfacGi |
74 |
MOop3AdjRIaShjU3Ol1G6GI= |
75 |
=emW3 |
76 |
-----END PGP SIGNATURE----- |
77 |
|
78 |
-- |
79 |
gentoo-dev@g.o mailing list |