diff options
author | wiz <wiz> | 2000-08-18 18:34:23 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-08-18 18:34:23 +0000 |
commit | ebd780d1ed14702a31d00d6929485268a297b694 (patch) | |
tree | fe3aec50d012aa4171a28b21d6eeb3f3c965cb7a /x11/xpenguins | |
parent | 2c2d59688612610c71066734663879e0dc7a64a0 (diff) | |
download | pkgsrc-ebd780d1ed14702a31d00d6929485268a297b694.tar.gz |
bugfix: don't use uninitialized xpm structures, init first.
Diffstat (limited to 'x11/xpenguins')
-rw-r--r-- | x11/xpenguins/files/patch-sum | 3 | ||||
-rw-r--r-- | x11/xpenguins/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/xpenguins/files/patch-sum b/x11/xpenguins/files/patch-sum index 28b7d03b889..a6feda00ce8 100644 --- a/x11/xpenguins/files/patch-sum +++ b/x11/xpenguins/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/05/30 01:35:07 hubertf Exp $ +$NetBSD: patch-sum,v 1.2 2000/08/18 18:34:23 wiz Exp $ MD5 (patch-aa) = 7ea6e1127a87cef44c997d016f121d76 +MD5 (patch-ab) = 6ac4d82b2b44ec4d54d1de94bd60d263 diff --git a/x11/xpenguins/patches/patch-ab b/x11/xpenguins/patches/patch-ab new file mode 100644 index 00000000000..1824aefd7c4 --- /dev/null +++ b/x11/xpenguins/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2000/08/18 18:34:23 wiz Exp $ + +--- toon.c.orig Tue May 23 10:07:29 2000 ++++ toon.c +@@ -182,6 +182,8 @@ + { + int i, status; + XpmAttributes attributes; ++ ++ memset(&attributes, 0, sizeof(attributes)); + for (i=0;i<n;i++) { + attributes.valuemask |= (XpmReturnPixels + | XpmReturnExtensions | XpmExactColors | XpmCloseness); |