Ticket #1718: glib2.2.diff

File glib2.2.diff, 811 bytes (added by devin@…, 21 years ago)

Modified fix (Tested once on 10.2.8)

Line 
1Index: Portfile
2===================================================================
3RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/glib2/Portfile,v
4retrieving revision 1.24
5diff -c -r1.24 Portfile
6*** Portfile    5 Apr 2004 19:42:02 -0000       1.24
7--- Portfile    14 May 2004 17:46:09 -0000
8***************
9*** 48,51 ****
10                  system "ln -fs libgthread-2.0.0.400.0.dylib \
11                    ${destroot}${prefix}/lib/libgthread.2.dylib" }
12 
13! platform darwin 6 {   depends_lib-append     lib:libdl:dlcompat }
14--- 48,57 ----
15                  system "ln -fs libgthread-2.0.0.400.0.dylib \
16                    ${destroot}${prefix}/lib/libgthread.2.dylib" }
17 
18! platform darwin 6 {
19!       depends_lib-append     lib:libdl:dlcompat
20!
21!       post-configure {
22!               reinplace "s|#define HAVE_WCHAR_T 1|#undef HAVE_WCHAR_T|" ${worksrcpath}/config.h
23!       }
24! }