X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=dev-libs%2Fgoogle-breakpad%2Ffiles%2Fgoogle-breakpad-0_pre20120725-curl.patch;fp=dev-libs%2Fgoogle-breakpad%2Ffiles%2Fgoogle-breakpad-0_pre20120725-curl.patch;h=f6ee060138b508b0caafed6a8a4858c33c04f9c6;hb=f25e42f057152db3dd1257d507d96e4e9228ad6c;hp=0000000000000000000000000000000000000000;hpb=c7104cdaa86ac2870d7e28a32708fc094669c778;p=~andy%2Fsunrise diff --git a/dev-libs/google-breakpad/files/google-breakpad-0_pre20120725-curl.patch b/dev-libs/google-breakpad/files/google-breakpad-0_pre20120725-curl.patch new file mode 100644 index 000000000..f6ee06013 --- /dev/null +++ b/dev-libs/google-breakpad/files/google-breakpad-0_pre20120725-curl.patch @@ -0,0 +1,45 @@ +--- configure.ac ++++ configure.ac +@@ -138,5 +138,7 @@ + [selftest=false]) + AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue) + ++AC_CHECK_HEADERS([curl/curl.h], [CURL_HEADER=yes; break;]) ++ + AC_CONFIG_FILES([Makefile]) + AC_OUTPUT + +--- src/common/linux/http_upload.cc ++++ src/common/linux/http_upload.cc +@@ -31,7 +31,14 @@ + + #include + #include ++ ++#include "config.h" ++ ++#ifdef HAVE_CURL_CURL_H ++#include ++#else + #include "third_party/curl/curl.h" ++#endif + + namespace { + +--- src/common/linux/libcurl_wrapper.h ++++ src/common/linux/libcurl_wrapper.h +@@ -34,7 +34,14 @@ + #include + + #include "common/using_std_string.h" ++ ++#include "config.h" ++ ++#ifdef HAVE_CURL_CURL_H ++#include ++#else + #include "third_party/curl/curl.h" ++#endif + + namespace google_breakpad { + class LibcurlWrapper {