[seamonkey/f15/master] build fix
Martin Stransky
stransky at fedoraproject.org
Mon Mar 7 11:29:16 UTC 2011
commit 8330e1d3327a470b986b99e7d0d0769c96ede584
Author: Martin Stransky <stransky at anakreon.cz>
Date: Mon Mar 7 12:28:54 2011 +0100
build fix
cstddef.patch | 18 ++++++++++++++++++
seamonkey.spec | 2 ++
2 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/cstddef.patch b/cstddef.patch
new file mode 100644
index 0000000..4a8ee7a
--- /dev/null
+++ b/cstddef.patch
@@ -0,0 +1,18 @@
+diff -r b5ee327bf536 gfx/ots/src/os2.cc
+--- a/mozilla/gfx/ots/src/os2.cc Fri Jan 28 19:59:59 2011 +0100
++++ b/mozilla/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 {
diff --git a/seamonkey.spec b/seamonkey.spec
index 5eaa76a..403f532 100644
--- a/seamonkey.spec
+++ b/seamonkey.spec
@@ -37,6 +37,7 @@ Source100: find-external-requires
Patch0: mozilla-jemalloc.patch
Patch1: mozilla-191-path.patch
+Patch2: cstddef.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nspr-devel >= %{minimum_build_nspr_version}
@@ -96,6 +97,7 @@ cd %{sources_subdir}
%patch0 -p0 -b .jemalloc
%patch1 -p0 -b .path
+%patch2 -p1 -b .cstddef
%{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig
More information about the scm-commits
mailing list