fix the minidump_upload script to send correct http header

Change-Id: Ie373992ca9d69fec508778947a983fad56924a60
Reviewed-on: https://gerrit.libreoffice.org/22550
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
Markus Mohrhard 2015-11-23 17:43:14 +01:00
parent 262eddce8a
commit 1a25f74bcc
2 changed files with 18 additions and 0 deletions

View File

@ -11,4 +11,8 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,breakpad))
$(eval $(call gb_UnpackedTarball_set_tarball,breakpad,$(BREAKPAD_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_patches,breakpad,\
external/breakpad/breakpad-use-correct-http-header.patch.1 \
))
# vim: set noet sw=4 ts=4:

View File

@ -0,0 +1,14 @@
diff -ur breakpad.org/src/tools/linux/symupload/minidump_upload.cc breakpad/src/tools/linux/symupload/minidump_upload.cc
--- breakpad.org/src/tools/linux/symupload/minidump_upload.cc 2015-11-23 17:37:53.830558138 +0100
+++ breakpad/src/tools/linux/symupload/minidump_upload.cc 2015-11-23 17:38:59.559051874 +0100
@@ -59,8 +59,8 @@
static void Start(Options *options) {
std::map<string, string> parameters;
// Add parameters
- parameters["prod"] = options->product;
- parameters["ver"] = options->version;
+ parameters["ProductName"] = options->product;
+ parameters["Version"] = options->version;
std::map<string, string> files;
files["upload_file_minidump"] = options->minidumpPath;