freebsd-ports/www/chromium/files/extra-patch-gcc
Rene Ladan f3a0bb4a2e - Fix build with lang/gcc45
- Add OPTIONS for clang / gcc45+ / debug build.

Submitted by:	George Liaskos
Obtained from:	Chromium Chruetertee repository r234
2011-09-30 23:08:39 +00:00

40 lines
1.3 KiB
Text

--- base/shared_memory.h.orig 2011-04-01 21:54:26.066717848 +0300
+++ base/shared_memory.h 2011-04-01 21:55:14.292717813 +0300
@@ -10,6 +10,7 @@
#if defined(OS_POSIX)
#include <sys/types.h>
+#include <stdio.h>
#include <semaphore.h>
#include "base/file_descriptor_posix.h"
#endif
--- third_party/libjingle/source/talk/base/stream.h.orig 2011-04-01 22:16:30.129717654 +0300
+++ third_party/libjingle/source/talk/base/stream.h 2011-04-01 22:16:48.245715495 +0300
@@ -28,6 +28,7 @@
#ifndef TALK_BASE_STREAM_H__
#define TALK_BASE_STREAM_H__
+#include <stdio.h>
#include "talk/base/basictypes.h"
#include "talk/base/criticalsection.h"
#include "talk/base/logging.h"
--- base/debug/trace_event.h.orig 2011-04-01 22:22:50.326752296 +0300
+++ base/debug/trace_event.h 2011-04-01 22:23:12.004715315 +0300
@@ -29,6 +29,7 @@
#include "base/debug/trace_event_win.h"
#else // defined(OS_WIN)
+#include <stdio.h>
#include <string>
#include "base/scoped_ptr.h"
--- media/filters/file_data_source.h.orig 2011-09-14 10:01:06.000000000 +0200
+++ media/filters/file_data_source.h 2011-09-26 19:08:17.000000000 +0200
@@ -5,6 +5,7 @@
#ifndef MEDIA_FILTERS_FILE_DATA_SOURCE_H_
#define MEDIA_FILTERS_FILE_DATA_SOURCE_H_
+#include <cstdio>
#include <string>
#include "base/gtest_prod_util.h"