Ticket #1718: glib2.diff

File glib2.diff, 676 bytes (added by toby@…, 21 years ago)

possible fix (patch)

  • Portfile

    ? work
    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/glib2/Portfile,v
    retrieving revision 1.24
    diff -u -r1.24 Portfile
     
    4848                  system "ln -fs libgthread-2.0.0.400.0.dylib \
    4949                    ${destroot}${prefix}/lib/libgthread.2.dylib" }
    5050
    51 platform darwin 6 {     depends_lib-append     lib:libdl:dlcompat }
     51platform darwin 6 {
     52        depends_lib-append     lib:libdl:dlcompat
     53
     54        post-configure {
     55                reinplace "s|#define HAVE_WCHAR_T 1|#define HAVE_WCHAR_T 0|"
     56                        ${worksrcpath}/config.h
     57        }
     58}