1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/p5-WWW-Curl/files/patch-Curl.xs
Peter Pentchev a8eee49ea6 Update to WWW-Curl 3.02, mostly based on the PR, but with some
additional modifications.

PR:		98560
Submitted by:	Rong-En Fan <rafan@infor.org>
2006-07-13 14:22:26 +00:00

21 lines
408 B
Plaintext

--- Curl.xs.orig Thu Jul 13 14:54:37 2006
+++ Curl.xs Thu Jul 13 14:55:34 2006
@@ -64,12 +64,17 @@
typedef struct {
+#if LIBCURL_VERSION_NUM >= 0x070b01
+ struct curl_httppost * post;
+ struct curl_httppost * last;
+#else
#if LIBCURL_VERSION_NUM >= 0x070900
struct HttpPost * post;
struct HttpPost * last;
#else
void * post;
void * last;
+#endif
#endif
} perl_curl_form;