[thunderbird] Add os2cc.patch from xulrunner

Christopher Aillon caillon at fedoraproject.org
Tue Feb 8 05:59:05 UTC 2011


commit c2bc6070131c71b20e37d08a6b34af524d5225ce
Author: Christopher Aillon <caillon at redhat.com>
Date:   Mon Feb 7 21:57:53 2011 -0800

    Add os2cc.patch from xulrunner
    
    https://bugzilla.mozilla.org/show_bug.cgi?id=628252

 thunderbird.spec          |    2 ++
 xulrunner-2.0-os2cc.patch |   21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 843daf8..a2b44a2 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -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
diff --git a/xulrunner-2.0-os2cc.patch b/xulrunner-2.0-os2cc.patch
new file mode 100644
index 0000000..3aa5286
--- /dev/null
+++ b/xulrunner-2.0-os2cc.patch
@@ -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 {
+


More information about the scm-commits mailing list