[Insight-users] Re: CVS ITK WrapITK swigrun.xml

Dan White white at mpi-cbg.de
Fri Nov 2 15:13:13 EDT 2007


thanks Brad,

I will now try to remember how to apply a patch... its been a while

cheers


Dan


On Nov 2, 2007, at 8:03 PM, Brad King wrote:

> Dan White wrote:
>> looks like you are correct!
> [snip]
>> /System/Library/Frameworks (framework directory)
>> /Library/Frameworks (framework directory)
>
> Okay, here is a patch that should fix the problem.
>
> /cvsroot/GCC_XML/gccxml/GCC_XML/Support/GCC/find_flags,v  <--   
> find_flags
> new revision: 1.20; previous revision: 1.19
>
> -Brad
>
> Index: GCC_XML/Support/GCC/find_flags
> ===================================================================
> RCS file: /cvsroot/GCC_XML/gccxml/GCC_XML/Support/GCC/find_flags,v
> retrieving revision 1.19
> diff -c -3 -p -r1.19 find_flags
> *** GCC_XML/Support/GCC/find_flags      2 Nov 2007 15:08:21  
> -0000       1.19
> --- GCC_XML/Support/GCC/find_flags      2 Nov 2007 18:59:04 -0000
> *************** BEGIN { first=1 }
> *** 41,47 ****
>  INCLUDES=`
>    echo "" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>&1 |
>    awk '/^[^ \/].*$/ { if (f) { printf("\n"); exit } }
> !        /^[ ]*\/.*$/ { if (f) { printf("-I%s ",$0) } }
>         /\#include <\.\.\..*$/   {f=1} ' - |
>    sed 's/^-I /-I/;s/ -I / -I/g'
>  `
> --- 41,47 ----
>  INCLUDES=`
>    echo "" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>&1 |
>    awk '/^[^ \/].*$/ { if (f) { printf("\n"); exit } }
> !        /^[ ]*\/[^ ]*$/ { if (f) { printf("-I%s ",$0) } }
>         /\#include <\.\.\..*$/   {f=1} ' - |
>    sed 's/^-I /-I/;s/ -I / -I/g'
>  `

Dr. Daniel James White BSc. (Hons.) PhD
Senior Microscopist / Image Processing and Analysis
Light Microscopy Facility
Max Planck Institute of Molecular Cell Biology and Genetics
Pfotenhauerstrasse 108
01307 DRESDEN
Germany

+49 (0)176 61262128 (German Mobile)
+49  (0)351 210 2627 (Work phone at MPI-CBG)
+49 (0)351 3265048 (German Festnetz "landline"  - cheaper)
+49  (0)351 210 1078 (Fax MPI-CBG LMF)
+358 (0) 468102840 (Finnish mobile, only when I'm in Finland)
http://www.bioimagexd.net
http://www.chalkie.org.uk
dan at chalkie.org.uk
( white at mpi-cbg.de )





More information about the Insight-users mailing list