aboutsummaryrefslogtreecommitdiff
path: root/lang/q
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2006-12-13 12:41:35 +0000
committerPeter Pentchev <roam@FreeBSD.org>2006-12-13 12:41:35 +0000
commit64e068d25c1370f67d2f0d779ac1719f9bc5d137 (patch)
treee8e79d2b112a29862848aa733e4b3f9387c78d2e /lang/q
parent68ee2dd59c7dc7173d1688b825cc1c5a70f097c1 (diff)
downloadports-64e068d25c1370f67d2f0d779ac1719f9bc5d137.tar.gz
ports-64e068d25c1370f67d2f0d779ac1719f9bc5d137.zip
Notes
Diffstat (limited to 'lang/q')
-rw-r--r--lang/q/Makefile2
-rw-r--r--lang/q/files/patch-modules-curl-curl.c35
2 files changed, 36 insertions, 1 deletions
diff --git a/lang/q/Makefile b/lang/q/Makefile
index eec9dc5d373c..61f80e866b03 100644
--- a/lang/q/Makefile
+++ b/lang/q/Makefile
@@ -7,7 +7,7 @@
PORTNAME= q
PORTVERSION= 6.2
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= q-lang
diff --git a/lang/q/files/patch-modules-curl-curl.c b/lang/q/files/patch-modules-curl-curl.c
new file mode 100644
index 000000000000..9e9cf77518ff
--- /dev/null
+++ b/lang/q/files/patch-modules-curl-curl.c
@@ -0,0 +1,35 @@
+--- modules/curl/curl.c.orig Fri Dec 8 18:58:07 2006
++++ modules/curl/curl.c Fri Dec 8 18:59:12 2006
+@@ -461,7 +461,9 @@
+ CURLOPT_WRITEFUNCTION,
+ CURLOPT_READFUNCTION,
+ CURLOPT_PROGRESSFUNCTION,
++#if LIBCURL_VERSION_NUM < 0x071000
+ CURLOPT_PASSWDFUNCTION,
++#endif
+ CURLOPT_HEADERFUNCTION,
+ CURLOPT_DEBUGFUNCTION,
+
+@@ -660,7 +662,9 @@
+ mkint(CURLOPT_WRITEFUNCTION),
+ mkint(CURLOPT_READFUNCTION),
+ mkint(CURLOPT_PROGRESSFUNCTION),
++#if LIBCURL_VERSION_NUM < 0x071000
+ mkint(CURLOPT_PASSWDFUNCTION),
++#endif
+ mkint(CURLOPT_HEADERFUNCTION),
+ mkint(CURLOPT_DEBUGFUNCTION),
+
+@@ -964,10 +968,12 @@
+ cb = (int(*)())progress_cb;
+ dataopt = CURLOPT_PROGRESSDATA;
+ break;
++#if LIBCURL_VERSION_NUM < 0x071000
+ case CURLOPT_PASSWDFUNCTION:
+ cb = (int(*)())passwd_cb;
+ dataopt = CURLOPT_PASSWDDATA;
+ break;
++#endif
+ case CURLOPT_HEADERFUNCTION:
+ cb = (int(*)())header_cb;
+ dataopt = CURLOPT_WRITEHEADER;