pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/xulrunner Fix build with Sun Sudio C++ by not in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/171154154961
branches:  trunk
changeset: 569146:171154154961
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jan 10 09:43:06 2010 +0000

description:
Fix build with Sun Sudio C++ by not including "stdbool.h" in C++ mode.

diffstat:

 devel/xulrunner/distinfo         |   3 ++-
 devel/xulrunner/patches/patch-bb |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r c9336e653b5b -r 171154154961 devel/xulrunner/distinfo
--- a/devel/xulrunner/distinfo  Sun Jan 10 07:58:05 2010 +0000
+++ b/devel/xulrunner/distinfo  Sun Jan 10 09:43:06 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2009/12/16 08:18:32 tnn Exp $
+$NetBSD: distinfo,v 1.22 2010/01/10 09:43:06 tron Exp $
 
 SHA1 (firefox-3.5.6.source.tar.bz2) = fc1de4ddb9c20c7ba9e297737f926e9d8e32eed4
 RMD160 (firefox-3.5.6.source.tar.bz2) = 1002ff196eb8e281c06ef451154b64a903104664
@@ -30,6 +30,7 @@
 SHA1 (patch-ay) = 6ddcbbd3f0197fb88622fc32d6d0fd602ec4ad34
 SHA1 (patch-az) = 5a09ccfa14fab962c4e2916f00669a1fa4a8ade4
 SHA1 (patch-ba) = 9d4058f2a3a290429b26cb8335dd5b188bccc96d
+SHA1 (patch-bb) = f0cbc3f029dab82f551c959a66f8a95ca9f1f265
 SHA1 (patch-ma) = a20b263ff14c841fd0ae1634962b90a41173b524
 SHA1 (patch-mb) = 05298c1ec02363ff0bada87337cf0ccb5b42c55b
 SHA1 (patch-md) = 6bf5242245b17fbd868a6a978eb5849726f81393
diff -r c9336e653b5b -r 171154154961 devel/xulrunner/patches/patch-bb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/xulrunner/patches/patch-bb  Sun Jan 10 09:43:06 2010 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-bb,v 1.1 2010/01/10 09:43:06 tron Exp $
+
+Fix build using Sun Studio C++.
+
+--- memory/jemalloc/jemalloc.h.orig    2009-12-02 04:29:06.000000000 +0000
++++ memory/jemalloc/jemalloc.h 2010-01-09 23:24:34.000000000 +0000
+@@ -1,3 +1,4 @@
++#ifndef  __cplusplus
+ #ifndef MOZ_MEMORY_WINDOWS
+ #  include <stdbool.h>
+ #else
+@@ -6,6 +7,7 @@
+ #    define bool BOOL
+ #  endif
+ #endif
++#endif
+ 
+ extern const char     *_malloc_options;
+ 



Home | Main Index | Thread Index | Old Index