Add os2cc.patch from xulrunner

https://bugzilla.mozilla.org/show_bug.cgi?id=628252
This commit is contained in:
Christopher Aillon 2011-02-07 21:57:53 -08:00
parent 5b52bbbe45
commit c2bc607013
2 changed files with 23 additions and 0 deletions

View File

@ -67,6 +67,7 @@ Patch5: mozilla-missing-cflags.patch
Patch6: mozilla-build-s390.patch
Patch7: crashreporter-remove-static.patch
Patch8: mozilla-notify.patch
Patch9: xulrunner-2.0-os2cc.patch
# Thunderbird patches
Patch50: thunderbird-shared-error.patch
@ -157,6 +158,7 @@ cd mozilla
%endif
%patch7 -p2 -b .static
%patch8 -p2 -b .libnotify
%patch9 -p1 -b .os2cc
cd ..
# Thunderbird patches

21
xulrunner-2.0-os2cc.patch Normal file
View File

@ -0,0 +1,21 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=628252
diff -r b5ee327bf536 gfx/ots/src/os2.cc
--- a/gfx/ots/src/os2.cc Fri Jan 28 19:59:59 2011 +0100
+++ b/gfx/ots/src/os2.cc Sat Jan 29 10:56:30 2011 -0800
@@ -1,12 +1,14 @@
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <cstddef>
+
#include "os2.h"
#include "head.h"
// OS/2 - OS/2 and Windows Metrics
// http://www.microsoft.com/opentype/otspec/os2.htm
namespace ots {