void-packages/srcpkgs/ettercap/patches/libcurl-8.patch

12 lines
329 B
Diff

--- a/plug-ins/sslstrip/sslstrip.c
+++ b/plug-ins/sslstrip/sslstrip.c
@@ -53,7 +53,7 @@
#include <curl/curl.h>
-#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26)
+#if (LIBCURL_VERSION_MAJOR < 7) || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 26))
#error libcurl 7.26.0 or up is needed
#endif