diff options
author | dholland <dholland@pkgsrc.org> | 2014-06-29 04:26:19 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-06-29 04:26:19 +0000 |
commit | c73b056f40f953acc746952c66d8a4e0d264d19f (patch) | |
tree | 2f90b57fd6cbd3fdae9390a9e99634cda1de89a2 /graphics/urt | |
parent | a84558b7648ec8fe1f43cad008ff806cd7ac142d (diff) | |
download | pkgsrc-c73b056f40f953acc746952c66d8a4e0d264d19f.tar.gz |
Extend dfly patch to macos: stdout is not necessarily a compile-time
constant.
Diffstat (limited to 'graphics/urt')
-rw-r--r-- | graphics/urt/distinfo | 4 | ||||
-rw-r--r-- | graphics/urt/patches/patch-av | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/graphics/urt/distinfo b/graphics/urt/distinfo index 5c1c7614761..f3aebb201fb 100644 --- a/graphics/urt/distinfo +++ b/graphics/urt/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2014/01/02 07:34:11 dholland Exp $ +$NetBSD: distinfo,v 1.11 2014/06/29 04:26:19 dholland Exp $ SHA1 (urt-3.1b-3.1b1.patch) = 27aefd80b480af298fe4f9542a2efbddba8a174b RMD160 (urt-3.1b-3.1b1.patch) = 1eca13b44326f632c98312d364434d785751609a @@ -33,7 +33,7 @@ SHA1 (patch-ar) = 728e652142bc906dfbad7ee73a928b19b43d9a06 SHA1 (patch-as) = 282b6917daccc7bbfee600b8ea6dbeea8bf6fa86 SHA1 (patch-at) = 4c51def08bb75205ea595c9f1c602b6d427c64e6 SHA1 (patch-au) = ff9e09f3877fc83dad5f275e317e66638f5b8c21 -SHA1 (patch-av) = 62ebce67399111a7a6405d3e639d402273c00d23 +SHA1 (patch-av) = 2c3e5ea768b0daea1c8f3308003abdd5fe70da33 SHA1 (patch-aw) = f9d76a52d6efe3e08099c920e4cd4f9941275eae SHA1 (patch-ax) = 17b1791381652a4b18f68090694f72c487fc47ec SHA1 (patch-ay) = 234fb76c5ce9081684613a1c2e6f211df65ca539 diff --git a/graphics/urt/patches/patch-av b/graphics/urt/patches/patch-av index e62a8f94651..4b687e7739b 100644 --- a/graphics/urt/patches/patch-av +++ b/graphics/urt/patches/patch-av @@ -1,4 +1,6 @@ -$NetBSD: patch-av,v 1.1 2006/05/11 14:46:35 joerg Exp $ +$NetBSD: patch-av,v 1.2 2014/06/29 04:26:19 dholland Exp $ + +stdout is not necessarily a compile-time constant. --- lib/rle_global.c.orig 1992-01-28 18:23:03.000000000 +0000 +++ lib/rle_global.c @@ -6,7 +8,7 @@ $NetBSD: patch-av,v 1.1 2006/05/11 14:46:35 joerg Exp $ 8, /* cmaplen (log2 of length of color map) */ NULL, /* pointer to color map */ NULL, /* pointer to comment strings */ -+#if defined(__DragonFly__) ++#if defined(__DragonFly__) || defined(__APPLE__) + NULL, /* output file, overriden with stdout at startup */ +#else stdout, /* output file */ @@ -18,7 +20,7 @@ $NetBSD: patch-av,v 1.1 2006/05/11 14:46:35 joerg Exp $ /* Can't initialize the union */ }; -+#if defined(__DragonFly__) ++#if defined(__DragonFly__) || defined(__APPLE__) +static void _rle_init(void) __attribute__((__constructor__)); + +static void |