Re: 1.0.16 won't compile on OS X 10.4.11
[email protected] (Richard Clamp) Tue, 18 Dec 2007 09:59:44 +0000
| Newsgroups | perl.perl1.porters |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-4-621452511 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 18 Dec 2007, at 09:42, Richard Clamp wrote: > I'm sure the problem can be fixed with the magic wand of forward > declaration, it's just a case of finding the right point to jam them > in. The attached patch wedges the ones preventing compilation into somewhere that works. -- Richard Clamp <[email protected]> --Apple-Mail-4-621452511 Content-Disposition: attachment; filename=forward.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="forward.patch" Content-Transfer-Encoding: 7bit === perl.y ================================================================== --- perl.y (revision 19) +++ perl.y (local) @@ -42,6 +42,15 @@ "???" }; +/* Forward declarations for newer toys */ +ARG *l(); +ARG *mod_match( int, ARG *, ARG *); +ARG *addflags( int, int, ARG *); +ARG *hide_ary( ARG * ); +ARG *make_list( ARG * ); +ARG *listish( ARG * ); +ARG *cval_to_arg(char *); +ARG *cmd_to_arg(CMD *); %} %start prog === perly.c ================================================================== --- perly.c (revision 19) +++ perly.c (local) @@ -23,7 +23,6 @@ char *filename; char *e_tmpname = "/tmp/perl-eXXXXXX"; FILE *e_fp = Nullfp; -ARG *l(); main(argc,argv,env) register int argc; --Apple-Mail-4-621452511--