Ticket #26064: ncftp_Portfile.diff

File ncftp_Portfile.diff, 504 bytes (added by michaelld (Michael Dickens), 14 years ago)

Patch to correct 'gethostname_size_t' usage in 'getdomainname' function.

  • Portfile

     
    3333
    3434depends_lib     port:ncurses
    3535
     36post-patch {
     37    # fix 'getdomainname' for 64-bit arches to not use
     38    # 'gethostname_size_t' but rather just 'int'.
     39    reinplace "/getdomainname/s@gethostname_size_t@int@g" \
     40        ${worksrcpath}/sio/DNSUtil.c
     41}
     42
    3643configure.args  --disable-universal --disable-precomp
    3744
    3845livecheck.type      regex