From 516bdaad09a611586eaa7dc0f67c49c7024aae37 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 28 Jan 2016 15:29:02 +0300 Subject: added openlierox from gentoo with tiny fixes --- .../files/openlierox-0.58_rc1-curl.patch | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 games-action/openlierox/files/openlierox-0.58_rc1-curl.patch (limited to 'games-action/openlierox/files/openlierox-0.58_rc1-curl.patch') diff --git a/games-action/openlierox/files/openlierox-0.58_rc1-curl.patch b/games-action/openlierox/files/openlierox-0.58_rc1-curl.patch new file mode 100644 index 0000000..d151036 --- /dev/null +++ b/games-action/openlierox/files/openlierox-0.58_rc1-curl.patch @@ -0,0 +1,72 @@ +diff --git a/include/HTTP.h b/include/HTTP.h +index 6be27f9..916193b 100644 +--- a/include/HTTP.h ++++ b/include/HTTP.h +@@ -21,7 +21,12 @@ + + #include + #include +-#include ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include ++#endif + #include + + #include "Networking.h" +diff --git a/src/breakpad/external/src/common/linux/http_upload.cc b/src/breakpad/external/src/common/linux/http_upload.cc +index 8748d11..c079aef 100644 +--- a/src/breakpad/external/src/common/linux/http_upload.cc ++++ b/src/breakpad/external/src/common/linux/http_upload.cc +@@ -31,7 +31,12 @@ + #include + #include + #include +-#include ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include ++#endif + + #include "common/linux/http_upload.h" + +diff --git a/src/breakpad/external/src/common/linux/libcurl_wrapper.cc b/src/breakpad/external/src/common/linux/libcurl_wrapper.cc +index 5bea3af..1fa6d24 100644 +--- a/src/breakpad/external/src/common/linux/libcurl_wrapper.cc ++++ b/src/breakpad/external/src/common/linux/libcurl_wrapper.cc +@@ -29,7 +29,12 @@ + + #include + #include +-#include ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include ++#endif + #include + + #include +diff --git a/src/common/HTTP.cpp b/src/common/HTTP.cpp +index 0782f9c..7f7a852 100644 +--- a/src/common/HTTP.cpp ++++ b/src/common/HTTP.cpp +@@ -25,7 +25,12 @@ + #include + #endif + #include +-#include ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include ++#endif + #include + + #include "LieroX.h" -- cgit v1.2.3