Ticket #15745: lftp-2.7.3.patch
File lftp-2.7.3.patch, 1.8 KB (added by simon@…, 16 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name lftp 6 version 3.7. 26 version 3.7.3 7 7 categories net 8 8 platforms darwin 9 9 maintainers yunzheng.hu@gmail.com … … master_sites ftp://lftp.yar.ru/lftp/ \ 27 27 ftp://ftp.cs.tu-berlin.de/pub/net/ftp/${name}/ \ 28 28 http://ftp.yars.free.net/pub/source/${name}/ 29 29 use_bzip2 yes 30 checksums md5 17956cdb9fe3032825b4a1760644bcaf\31 sha1 231dbe7ad4252142be240dbe5de87852bb4ca874\32 rmd160 6dafd1020e65a43810feac963de1347493d772c630 checksums md5 fc98506620b059d712341d624eb720d6 \ 31 sha1 0f212eccd4deb71660bc44785e42a36c10edfd32 \ 32 rmd160 4e5e2d06e5b65736c0c1ba120559f348d8832e12 33 33 34 34 depends_lib port:expat \ 35 35 port:libiconv \ … … depends_lib port:expat \ 37 37 port:openssl \ 38 38 port:readline 39 39 40 patchfiles patch-lib_poll.in.h.diff 41 40 42 configure.args --with-openssl \ 41 43 --without-gnutls \ 42 44 --disable-nls -
new file files/patch-lib_poll.in.h.diff
- + 1 Index: lib/poll.in.h 2 =================================================================== 3 --- lib/poll.in.h.orig 2008-05-19 13:28:10.000000000 +0200 4 +++ lib/poll.in.h 2008-07-15 18:33:31.000000000 +0200 5 @@ -43,7 +43,13 @@ 6 7 typedef unsigned long nfds_t; 8 9 +#ifdef __cplusplus 10 +extern "C" { 11 +#endif 12 extern int poll (struct pollfd *pfd, nfds_t nfd, int timeout); 13 +#ifdef __cplusplus 14 +} 15 +#endif 16 17 /* Define INFTIM only if doing so conforms to POSIX. */ 18 #if !defined (_POSIX_C_SOURCE) && !defined (_XOPEN_SOURCE)