void-packages/srcpkgs/chromium/patches/gcc-4.6.patch

100 lines
3.4 KiB
Diff

diff -u -r chrome/browser/search_engines/template_url_prepopulate_data.h chrome/browser/search_engines/template_url_prepopulate_data.h
--- chrome/browser/search_engines/template_url_prepopulate_data.h 2011-04-13 13:23:41.000000000 +0400
+++ chrome/browser/search_engines/template_url_prepopulate_data.h 2011-04-20 19:32:58.000000000 +0400
@@ -7,6 +7,7 @@
#pragma once
#include <vector>
+#include <cstddef>
class GURL;
class PrefService;
diff -u -r gpu/command_buffer/common/types.h gpu/command_buffer/common/types.h
--- gpu/command_buffer/common/types.h 2011-04-13 13:22:57.000000000 +0400
+++ gpu/command_buffer/common/types.h 2011-04-20 19:32:58.000000000 +0400
@@ -11,6 +11,7 @@
#include <stdint.h>
#endif
#include <string>
+#include <cstddef>
typedef signed char schar;
typedef signed char int8;
diff -u -r ppapi/cpp/paint_aggregator.h ppapi/cpp/paint_aggregator.h
--- ppapi/cpp/paint_aggregator.h 2011-04-13 13:22:58.000000000 +0400
+++ ppapi/cpp/paint_aggregator.h 2011-04-20 20:11:44.000000000 +0400
@@ -9,6 +9,7 @@
#include "ppapi/cpp/point.h"
#include "ppapi/cpp/rect.h"
+#include <cstddef>
namespace pp {
diff -u -r third_party/ots/src/os2.cc third_party/ots/src/os2.cc
--- third_party/ots/src/os2.cc 2011-04-13 13:24:06.000000000 +0400
+++ third_party/ots/src/os2.cc 2011-04-20 19:45:44.000000000 +0400
@@ -5,6 +5,7 @@
#include "os2.h"
#include "head.h"
+#include <cstddef>
// OS/2 - OS/2 and Windows Metrics
// http://www.microsoft.com/opentype/otspec/os2.htm
diff -u -r third_party/tcmalloc/chromium/src/base/stl_allocator.h third_party/tcmalloc/chromium/src/base/stl_allocator.h
--- third_party/tcmalloc/chromium/src/base/stl_allocator.h 2011-04-13 13:23:04.000000000 +0400
+++ third_party/tcmalloc/chromium/src/base/stl_allocator.h 2011-04-20 19:32:58.000000000 +0400
@@ -38,6 +38,7 @@
#include <config.h>
#include <limits>
+#include <cstddef>
#include "base/basictypes.h"
#include "base/logging.h"
diff -u -r third_party/tcmalloc/chromium/src/base/vdso_support.h third_party/tcmalloc/chromium/src/base/vdso_support.h
--- third_party/tcmalloc/chromium/src/base/vdso_support.h 2011-04-13 13:23:04.000000000 +0400
+++ third_party/tcmalloc/chromium/src/base/vdso_support.h 2011-04-20 19:32:58.000000000 +0400
@@ -37,6 +37,7 @@
#define HAVE_VDSO_SUPPORT 1
+#include <cstddef>
#include <stdlib.h> // for NULL
#include <link.h> // for ElfW
#include "base/basictypes.h"
diff -u -r third_party/tcmalloc/chromium/src/common.cc third_party/tcmalloc/chromium/src/common.cc
--- third_party/tcmalloc/chromium/src/common.cc 2011-04-13 13:23:04.000000000 +0400
+++ third_party/tcmalloc/chromium/src/common.cc 2011-04-20 19:32:58.000000000 +0400
@@ -34,6 +34,7 @@
#include "config.h"
#include "common.h"
#include "system-alloc.h"
+#include <cstddef>
namespace tcmalloc {
diff -u -r third_party/tcmalloc/chromium/src/symbolize.h third_party/tcmalloc/chromium/src/symbolize.h
--- third_party/tcmalloc/chromium/src/symbolize.h 2011-04-13 13:23:04.000000000 +0400
+++ third_party/tcmalloc/chromium/src/symbolize.h 2011-04-20 19:32:58.000000000 +0400
@@ -38,6 +38,7 @@
#include <stdint.h> // for uintptr_t
#endif
#include <map>
+#include <cstddef>
using std::map;
diff -u -r ui/gfx/codec/jpeg_codec.h ui/gfx/codec/jpeg_codec.h
--- ui/gfx/codec/jpeg_codec.h 2011-04-13 13:23:45.000000000 +0400
+++ ui/gfx/codec/jpeg_codec.h 2011-04-20 19:32:58.000000000 +0400
@@ -7,6 +7,7 @@
#pragma once
#include <vector>
+#include <cstddef>
class SkBitmap;