[patch] Configure.pl and -D_FILE_OFFSET_BITS=64

[email protected] (Richard Clamp)
Newsgroups perl.ponie.dev
Message-ID <[email protected]>
This small patch adds some voodoo whitespace to patch over the odd
behaviour of parrot Configure.pl's :add{} support.  The was causing
the following failure on my linux box:

+ ccache gcc -DDEBUGGING  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64-I/home/richardc/hck/ponie/perl -I./include -c test.c >test.cco 2>&1
Determining some sizes...C compiler failed (see test.cco) at lib/Parrot/Configure/Step.pm line 179. 
error at Configure.pl line 39.
zsh: 5161 exit 2     env PERL5OPT=-MDevel::System perl Configure.pl

-- 
Richard Clamp <[email protected]>
config.patch (text/plain, 689 B)
Index: Configure.pl
===================================================================
RCS file: /cvs/public/ponie/Configure.pl,v
retrieving revision 1.5
diff -p -u -r1.5 Configure.pl
--- Configure.pl	11 Sep 2003 16:17:23 -0000	1.5
+++ Configure.pl	27 Oct 2003 14:44:35 -0000
@@ -36,7 +36,7 @@ unless(-e 'parrot/parrot') {
     system('rm -f perl5lv.pmc') && die "Error";
     system('ln','-s','../../src/pmc/perl5lv.pmc') && die "error";
     chdir('..') || die;
-    system($^X,'Configure.pl',"--ccflags= :add{-I$dir/perl}") && die "error";
+    system($^X,'Configure.pl',"--ccflags= :add{ -I$dir/perl}") && die "error";
     system('make')  && die "error";
     chdir('..') || die;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.