pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/urt Added the patch from PR 36383, which fixe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a804d8be4d1d
branches:  trunk
changeset: 529092:a804d8be4d1d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 24 04:46:15 2007 +0000

description:
Added the patch from PR 36383, which fixes a type name clash on NetBSD.

diffstat:

 graphics/urt/distinfo         |   3 +-
 graphics/urt/patches/patch-ay |  44 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletions(-)

diffs (62 lines):

diff -r 19f9351f6ec2 -r a804d8be4d1d graphics/urt/distinfo
--- a/graphics/urt/distinfo     Thu May 24 02:06:14 2007 +0000
+++ b/graphics/urt/distinfo     Thu May 24 04:46:15 2007 +0000
@@ -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-av) = 62ebce67399111a7a6405d3e639d402273c00d23
 SHA1 (patch-aw) = f9d76a52d6efe3e08099c920e4cd4f9941275eae
 SHA1 (patch-ax) = 17b1791381652a4b18f68090694f72c487fc47ec
+SHA1 (patch-ay) = 234fb76c5ce9081684613a1c2e6f211df65ca539
diff -r 19f9351f6ec2 -r a804d8be4d1d graphics/urt/patches/patch-ay
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/urt/patches/patch-ay     Thu May 24 04:46:15 2007 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index