Yet another sparc build fix, courtesy of Martin Husemann.

This commit is contained in:
Tobias Nygren 2010-06-02 15:57:53 +00:00 committed by Thomas Klausner
parent 9f90bd3c16
commit 3ab601519c
2 changed files with 23 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.28 2010/05/31 11:28:23 tnn2 Exp $
$NetBSD: distinfo,v 1.29 2010/06/02 15:57:53 tnn2 Exp $
SHA1 (e73cbd31c93e.tar.bz2) = 3bb67d4850ba4a585d96bd972a54b4b82d63459c
RMD160 (e73cbd31c93e.tar.bz2) = 3e39c94a61157139b560cf5c4ca970fcf4f4d2f0
@ -34,6 +34,7 @@ SHA1 (patch-bf) = 86f58b0762e02d570204a2e02b5bfe5bf43c59bb
SHA1 (patch-bg) = 85d82348c43257eded6426ac84af9815619eb759
SHA1 (patch-bh) = 00af1e223524fe96876cca5910ff09e93a54c60b
SHA1 (patch-bi) = 13b5a929f95a8861adc01a36e00c18b2a5be9ac8
SHA1 (patch-bj) = 6270d4c93c20c0cd3303517d5375f38a40dfc6db
SHA1 (patch-ma) = a20b263ff14c841fd0ae1634962b90a41173b524
SHA1 (patch-mb) = 97e2b454f190ebc639908ee93c9f1217e0c147db
SHA1 (patch-md) = 6bf5242245b17fbd868a6a978eb5849726f81393

View file

@ -0,0 +1,21 @@
$NetBSD: patch-bj,v 1.1 2010/06/02 15:57:53 tnn2 Exp $
upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=569571
--- gfx/ycbcr/chromium_types.h.orig 2010-05-30 11:50:39.000000000 +0200
+++ gfx/ycbcr/chromium_types.h 2010-06-01 17:34:56.000000000 +0200
@@ -64,6 +64,14 @@
#define ARCH_CPU_PPC_FAMILY 1
#define ARCH_CPU_PPC 1
#define ARCH_CPU_32_BITS 1
+#elif defined(__sparc__)
+#define ARCH_CPU_SPARC_FAMILY 1
+#define ARCH_CPU_SPARC
+#ifdef _LP64
+#define ARCH_CPU_64_BITS 1
+#else
+#define ARCH_CPU_32_BITS 1
+#endif
#else
#error Please add support for your architecture in chromium_types.h
#endif