mozilla-curl.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 05 Oct 2011 15:58:57 +0200
branchfirefox7
changeset 339 db8b891eeb1e
parent 297 7af5d6a0c962
permissions -rw-r--r--
locale should always match the system one in a package environment
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
297
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     1
# HG changeset patch
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     2
# User Evan Shaw <edsrzf@gmail.com>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     3
# Parent 891179411e19ab39f95bd7769c0e58db6f22f9e4
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     4
bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     5
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     6
diff --git a/config/system-headers b/config/system-headers
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     7
--- a/config/system-headers
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     8
+++ b/config/system-headers
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     9
@@ -199,17 +199,16 @@ crypt.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    10
 cstddef
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    11
 cstdio
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    12
 cstdlib
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    13
 cstring
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
 ctime
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
 ctype.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    16
 curl/curl.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    17
 curl/easy.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    18
-curl/types.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    19
 curses.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    20
 cxxabi.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    21
 DateTimeUtils.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
 dbus/dbus.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
 dbus/dbus-glib.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
 dbus/dbus-glib-lowlevel.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    25
 ddeml.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    26
 Debug.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    27
diff --git a/js/src/config/system-headers b/js/src/config/system-headers
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    28
--- a/js/src/config/system-headers
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    29
+++ b/js/src/config/system-headers
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    30
@@ -199,17 +199,16 @@ crypt.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    31
 cstddef
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    32
 cstdio
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    33
 cstdlib
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    34
 cstring
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    35
 ctime
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    36
 ctype.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    37
 curl/curl.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    38
 curl/easy.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    39
-curl/types.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    40
 curses.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    41
 cxxabi.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    42
 DateTimeUtils.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    43
 dbus/dbus.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    44
 dbus/dbus-glib.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    45
 dbus/dbus-glib-lowlevel.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    46
 ddeml.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    47
 Debug.h
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    48
diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    49
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    50
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    51
@@ -28,17 +28,16 @@
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    52
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    53
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    54
 #include "common/linux/http_upload.h"
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    55
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    56
 #include <assert.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    57
 #include <dlfcn.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    58
 #include <curl/curl.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    59
 #include <curl/easy.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    60
-#include <curl/types.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    61
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    62
 namespace {
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    63
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    64
 // Callback to get the response data from server.
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    65
 static size_t WriteCallback(void *ptr, size_t size,
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    66
                             size_t nmemb, void *userp) {
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    67
   if (!userp)
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    68
     return 0;
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    69
diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    70
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    71
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    72
@@ -24,17 +24,16 @@
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    73
 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    74
 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    75
 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    76
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    77
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    78
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    79
 #include <curl/curl.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    80
 #include <curl/easy.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    81
-#include <curl/types.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    82
 #include <dlfcn.h>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    83
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    84
 #include <iostream>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    85
 #include <string>
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    86
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    87
 #include "common/linux/libcurl_wrapper.h"
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    88
 
7af5d6a0c962 bmo#673072 - remove deprecated curl header curl/types.h from Breakpad includes.
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    89
 using std::string;