head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4; locks; strict; comment @# @; 1.4 date 2009.09.16.19.06.19; author tnn; state dead; branches; next 1.3; 1.3 date 2009.09.01.02.57.26; author dsainty; state Exp; branches; next 1.2; 1.2 date 2009.08.26.21.42.25; author martin; state Exp; branches; next 1.1; 1.1 date 2009.08.26.21.07.32; author martin; state Exp; branches; next ; desc @@ 1.4 log @Build firefox against external runtime components from devel/xulrunner. Bump PKGREVISION. @ text @$NetBSD: patch-nb,v 1.3 2009/09/01 02:57:26 dsainty Exp $ # reported upstream as: # https://bugzilla.mozilla.org/show_bug.cgi?id=512792 --- media/liboggz/src/liboggz/oggz_byteorder.h.orig 2009-08-26 22:28:18.000000000 +0200 +++ media/liboggz/src/liboggz/oggz_byteorder.h 2009-08-26 22:41:39.000000000 +0200 @@@@ -123,4 +123,27 @@@@ int32_be_at (unsigned char *c) return (c [0] << 24) + (c [1] << 16) + (c [2] << 8) + c [3] ; } +static ogg_uint32_t +_le_32_at (unsigned char *c) +{ + return (c [3] << 24) + (c [2] << 16) + (c [1] << 8) + c [0] ; +} + +#ifdef HAVE_STDINT_H +#include +#endif +static uint64_t +_le_64_at (unsigned char *c) +{ + return (uint64_t)((uint64_t)c[7] << 56) + ((uint64_t)c[6] << 48) + + ((uint64_t)c[5] << 40) + ((uint64_t)c[4] << 32) + + (c [3] << 24) + (c [2] << 16) + (c [1] << 8) + c [0] ; +} + +static ogg_uint16_t +_be_16_at (unsigned char *c) +{ + return (c [0] << 8) + c [1] ; +} + #endif /* __OGGZ_BYTEORDER_H__ */ @ 1.3 log @Fix patch-nb on Linux by pulling in before using uint64_t. This only affects platforms that would not previously complete building, so no PKGREVISION++ required. @ text @d1 1 a1 1 $NetBSD: patch-nb,v 1.2 2009/08/26 21:42:25 martin Exp $ @ 1.2 log @New bugs reported upstream - add references @ text @d1 1 a1 1 $NetBSD: patch-nb,v 1.1 2009/08/26 21:07:32 martin Exp $ d8 1 a8 1 @@@@ -123,4 +123,24 @@@@ int32_be_at (unsigned char *c) d18 3 @ 1.1 log @Fix very obvious alignment issue @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 1 # not reported upstream yet @