diff options
author | tron <tron@pkgsrc.org> | 2010-01-10 09:43:06 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2010-01-10 09:43:06 +0000 |
commit | 65de3e348fae982738f7f616af5ee6b9a5d07903 (patch) | |
tree | 0207f459bde4d0b98dd850f04739bd8976612efc /devel/xulrunner | |
parent | 9d7a865f848747b5ecf4db3a907b08c3fd442b72 (diff) | |
download | pkgsrc-65de3e348fae982738f7f616af5ee6b9a5d07903.tar.gz |
Fix build with Sun Sudio C++ by not including "stdbool.h" in C++ mode.
Diffstat (limited to 'devel/xulrunner')
-rw-r--r-- | devel/xulrunner/distinfo | 3 | ||||
-rw-r--r-- | devel/xulrunner/patches/patch-bb | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/devel/xulrunner/distinfo b/devel/xulrunner/distinfo index d149ab6c097..2598903bfc4 100644 --- a/devel/xulrunner/distinfo +++ b/devel/xulrunner/distinfo @@ -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-ax) = 579041ecba36dfa0d42d3ab576e79ecf2321749d 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 --git a/devel/xulrunner/patches/patch-bb b/devel/xulrunner/patches/patch-bb new file mode 100644 index 00000000000..9301cc591d5 --- /dev/null +++ b/devel/xulrunner/patches/patch-bb @@ -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; + |