aboutsummaryrefslogtreecommitdiff
path: root/lang/scriba/files/patch-extensions-curl-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/scriba/files/patch-extensions-curl-interface.c')
-rw-r--r--lang/scriba/files/patch-extensions-curl-interface.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/scriba/files/patch-extensions-curl-interface.c b/lang/scriba/files/patch-extensions-curl-interface.c
new file mode 100644
index 000000000000..ddac9c98500f
--- /dev/null
+++ b/lang/scriba/files/patch-extensions-curl-interface.c
@@ -0,0 +1,24 @@
+--- extensions/curl/interface.c.orig Tue Mar 1 19:38:05 2005
++++ extensions/curl/interface.c Tue Mar 1 19:47:08 2005
+@@ -18,7 +18,7 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ NTLIBS: libcurl.lib ws2_32.lib
+-UXLIBS: -lcurl -lssl -lcrypto -ldl -lc
++UXLIBS: -lcurl -lssl -lcrypto -lc
+
+ */
+ #include <stdio.h>
+@@ -1352,10 +1352,10 @@
+ if( Argument == NULL )return COMMAND_ERROR_ARGUMENT_RANGE;
+ Argument = besCONVERT2STRING(Argument);
+ if( STRLEN(Argument) == 10 && memcmp(STRINGVALUE(Argument),"IFMODSINCE",10) == 0 ){
+- value = TIMECOND_IFMODSINCE;
++ value = CURL_TIMECOND_IFMODSINCE;
+ }else
+ if( STRLEN(Argument) == 12 && memcmp(STRINGVALUE(Argument),"IFUNMODSINCE",12) == 0 ){
+- value = TIMECOND_IFUNMODSINCE;
++ value = CURL_TIMECOND_IFUNMODSINCE;
+ }else return COMMAND_ERROR_ARGUMENT_RANGE;
+ res = curl_easy_setopt(pCon->myConnection,CURLOPT_TIMECONDITION,value);
+ if( res == CURLE_OK ) return COMMAND_ERROR_SUCCESS;