aboutsummaryrefslogtreecommitdiff
path: root/lang/gambas
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-08-29 17:43:16 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-08-29 17:43:16 +0000
commit863f6a3686219eda9c51be87d57d9074fada1c73 (patch)
tree75be42a44d362c04fde39898ea19bb391f16006b /lang/gambas
parent37073a11e1b0bf6e3ff683873939b10465f86ad4 (diff)
downloadports-863f6a3686219eda9c51be87d57d9074fada1c73.tar.gz
ports-863f6a3686219eda9c51be87d57d9074fada1c73.zip
Notes
Diffstat (limited to 'lang/gambas')
-rw-r--r--lang/gambas/files/patch-src::lib::net::curl::CFtpClient.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/gambas/files/patch-src::lib::net::curl::CFtpClient.c b/lang/gambas/files/patch-src::lib::net::curl::CFtpClient.c
new file mode 100644
index 000000000000..a6433d8dd33e
--- /dev/null
+++ b/lang/gambas/files/patch-src::lib::net::curl::CFtpClient.c
@@ -0,0 +1,14 @@
+--- src/lib/net/curl/CFtpClient.c.orig Sun Jun 27 14:14:20 2004
++++ src/lib/net/curl/CFtpClient.c Sun Aug 29 18:34:27 2004
+@@ -24,6 +24,11 @@
+ #define __CFTPCLIENT_C
+
+ #include <stdio.h>
++#if defined(__FreeBSD__)
++/* Don't use the wrappering macro but the real function
++ With gcc-3.4.2 feof(THIS_FILE) is forbidden */
++# undef feof
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>