]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - debian/patches/deprecated-curl-types
Add debian/patches/deprecated-curl-types to no longer include curl/types.h and curl...
[sven/tclcurl.git] / debian / patches / deprecated-curl-types
diff --git a/debian/patches/deprecated-curl-types b/debian/patches/deprecated-curl-types
new file mode 100644 (file)
index 0000000..8112151
--- /dev/null
@@ -0,0 +1,15 @@
+curl/types.h and curl/easy.h includes are deprecated
+See also:
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636558
+Forwarded to Upstream via e-mail.
+--- a/generic/tclcurl.h
++++ b/generic/tclcurl.h
+@@ -16,8 +16,6 @@
+ #endif
+ #include <curl/curl.h>
+-#include <curl/types.h>
+-#include <curl/easy.h>
+ #include <tcl.h>
+ #include <tclDecls.h>
+ #include <stdio.h>