diff options
author | tnn <tnn> | 2009-09-10 07:53:45 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-09-10 07:53:45 +0000 |
commit | 5ae33120af12190fb207000f37486c076b07c3e9 (patch) | |
tree | ca4ea773ae8eb9099936c97e43e6b8195568b3d8 /devel/xulrunner/patches | |
parent | 5caa7b657245db691920c8a83fb24ec2973b45b8 (diff) | |
download | pkgsrc-5ae33120af12190fb207000f37486c076b07c3e9.tar.gz |
In qcmstypes.h, don't redefine standard types line uintptr_t, uint32_t
and friends. Include <stdint.h> instead. Might fix PR pkg/42033.
Diffstat (limited to 'devel/xulrunner/patches')
-rw-r--r-- | devel/xulrunner/patches/patch-at | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/devel/xulrunner/patches/patch-at b/devel/xulrunner/patches/patch-at index 3347b48a8a7..8030fc64f79 100644 --- a/devel/xulrunner/patches/patch-at +++ b/devel/xulrunner/patches/patch-at @@ -1,10 +1,20 @@ -$NetBSD: patch-at,v 1.1.1.1 2009/08/05 02:59:48 tnn Exp $ +$NetBSD: patch-at,v 1.2 2009/09/10 07:53:45 tnn Exp $ Treat DragonFly like FreeBSD. +Avoid silly redefinitions of standard types on NetBSD. ---- gfx/qcms/qcmstypes.h.orig 2009-06-29 18:14:50.000000000 +0200 +--- gfx/qcms/qcmstypes.h.orig 2009-08-24 17:52:41.000000000 +0200 +++ gfx/qcms/qcmstypes.h -@@ -23,7 +23,7 @@ typedef PRUint64 uint64_t; +@@ -10,6 +10,8 @@ + #if defined (__SVR4) && defined (__sun) + /* int_types.h gets included somehow, so avoid redefining the types differently */ + #include <sys/int_types.h> ++#elif defined(__NetBSD__) ++#include <stdint.h> + #else + typedef PRInt8 int8_t; + typedef PRUint8 uint8_t; +@@ -23,7 +25,7 @@ typedef PRUint64 uint64_t; #ifdef __OS2__ /* OS/2's stdlib typdefs uintptr_t. So we'll just include that so we don't collide */ #include <stdlib.h> |