summaryrefslogtreecommitdiff
path: root/graphics/urt
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-05-24 04:46:15 +0000
committerrillig <rillig@pkgsrc.org>2007-05-24 04:46:15 +0000
commita3f7d8b7a381af51b4746e6af7693190d1054788 (patch)
treef2ce72117bb61359c3d51211ed33887021f864ca /graphics/urt
parent3396dea5850cd66ff4d790bd9fbb8906ceafcb0c (diff)
downloadpkgsrc-a3f7d8b7a381af51b4746e6af7693190d1054788.tar.gz
Added the patch from PR 36383, which fixes a type name clash on NetBSD.
Diffstat (limited to 'graphics/urt')
-rw-r--r--graphics/urt/distinfo3
-rw-r--r--graphics/urt/patches/patch-ay44
2 files changed, 46 insertions, 1 deletions
diff --git a/graphics/urt/distinfo b/graphics/urt/distinfo
index 600910543e7..c4c26a3ef3b 100644
--- a/graphics/urt/distinfo
+++ b/graphics/urt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/05/11 14:46:35 joerg Exp $
+$NetBSD: distinfo,v 1.8 2007/05/24 04:46:15 rillig Exp $
SHA1 (urt-3.1b.tar.Z) = 370b19c9e7019a7258754e7494b7ae2d7fe138ac
RMD160 (urt-3.1b.tar.Z) = fd99f3a4ec7cb6c9195752e227ad95428e331bba
@@ -36,3 +36,4 @@ SHA1 (patch-au) = ff9e09f3877fc83dad5f275e317e66638f5b8c21
SHA1 (patch-av) = 62ebce67399111a7a6405d3e639d402273c00d23
SHA1 (patch-aw) = f9d76a52d6efe3e08099c920e4cd4f9941275eae
SHA1 (patch-ax) = 17b1791381652a4b18f68090694f72c487fc47ec
+SHA1 (patch-ay) = 234fb76c5ce9081684613a1c2e6f211df65ca539
diff --git a/graphics/urt/patches/patch-ay b/graphics/urt/patches/patch-ay
new file mode 100644
index 00000000000..1662f4cd31f
--- /dev/null
+++ b/graphics/urt/patches/patch-ay
@@ -0,0 +1,44 @@
+$NetBSD: patch-ay,v 1.1 2007/05/24 04:46:15 rillig Exp $
+
+PR 36383
+
+--- tools/clock/rleClock.c.orig 1992-04-30 07:19:39.000000000 -0700
++++ tools/clock/rleClock.c
+@@ -909,14 +909,14 @@ drawText()
+ typedef struct {
+ short x, y;
+ int dir;
+-} stack_t;
++} rle_clock_stack_t;
+
+ #define NORTH 0
+ #define WEST 1
+ #define SOUTH 2
+ #define EAST 3
+ struct {
+- stack_t *s;
++ rle_clock_stack_t *s;
+ int top;
+ int allocked;
+ } Stack;
+@@ -929,9 +929,9 @@ areaFlood(firstX, firstY, mask, match, v
+ int firstX, firstY;
+ int mask, match, value;
+ {
+- register stack_t *sp;
++ register rle_clock_stack_t *sp;
+
+- Stack.s = (stack_t *) calloc(256, sizeof(stack_t));
++ Stack.s = (rle_clock_stack_t *) calloc(256, sizeof(rle_clock_stack_t));
+ Stack.allocked = 256;
+ Stack.top = -1;
+ stackPush(firstX, firstY, NORTH);
+@@ -964,7 +964,7 @@ int x, y, dir;
+ {
+ if (++Stack.top >= Stack.allocked) {
+ Stack.allocked += 256;
+- Stack.s = (stack_t *) realloc(Stack.s, Stack.allocked * sizeof(stack_t));
++ Stack.s = (rle_clock_stack_t *) realloc(Stack.s, Stack.allocked * sizeof(rle_clock_stack_t));
+ if(Debug)fprintf(stderr, "Stack growing to %d\n", Stack.allocked);
+ }
+ Stack.s[Stack.top].x = x;