diff options
author | wiz <wiz@pkgsrc.org> | 2010-05-15 00:05:00 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-05-15 00:05:00 +0000 |
commit | bb2cccdce19e42b391d737b56e988f019b2658c9 (patch) | |
tree | 7a70ffdbb9d15914b51199eaeacc870c9ced4c78 /wm | |
parent | e95e67a0710e28ccb96ce61dafffdd4d9d3fff86 (diff) | |
download | pkgsrc-bb2cccdce19e42b391d737b56e988f019b2658c9.tar.gz |
Fix core dump with jpeg background picture on 64bit machines.
Patch from Motoyuki OHMORI in PR 43308.
Bump PKGREVISION.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/ctwm/Makefile | 4 | ||||
-rw-r--r-- | wm/ctwm/distinfo | 3 | ||||
-rw-r--r-- | wm/ctwm/patches/patch-aa | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/wm/ctwm/Makefile b/wm/ctwm/Makefile index 11820a7258e..7e9728aff29 100644 --- a/wm/ctwm/Makefile +++ b/wm/ctwm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2010/04/22 02:42:54 dogcow Exp $ +# $NetBSD: Makefile,v 1.27 2010/05/15 00:05:00 wiz Exp $ # DISTNAME= ctwm-3.8a -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= x11 wm MASTER_SITES= http://ctwm.free.lp.se/dist/ diff --git a/wm/ctwm/distinfo b/wm/ctwm/distinfo index 0dc4931357a..7b14a15501d 100644 --- a/wm/ctwm/distinfo +++ b/wm/ctwm/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.14 2010/04/22 02:42:54 dogcow Exp $ +$NetBSD: distinfo,v 1.15 2010/05/15 00:05:00 wiz Exp $ SHA1 (ctwm-3.8a.tar.gz) = c3a31d669bef7dd5ec78d89950c0e575d6c51c77 RMD160 (ctwm-3.8a.tar.gz) = cc1c3c862c3cfb1d66593d9a95d28ec0bbbbaf3c Size (ctwm-3.8a.tar.gz) = 738226 bytes +SHA1 (patch-aa) = 5f6d7f7d5552815cd40a2d2d1a43a9a22a202037 SHA1 (patch-ac) = bb4cbcb8e4a68d1f2844aa16e85918aa5368a869 SHA1 (patch-ae) = e70d268318b20ff0287dbedb67c402ac645adabe diff --git a/wm/ctwm/patches/patch-aa b/wm/ctwm/patches/patch-aa new file mode 100644 index 00000000000..dff7559ea8d --- /dev/null +++ b/wm/ctwm/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.8 2010/05/15 00:05:00 wiz Exp $ + +--- util.c.orig 2007-02-16 09:24:27.000000000 +0000 ++++ util.c +@@ -3942,7 +3942,7 @@ void ConstrainByBorders (TwmWindow *twmw + #ifdef JPEG + + unsigned short int *buffer_16bpp; +-long *buffer_32bpp; ++int32_t *buffer_32bpp; + + static void convert_for_16 (int w, int x, int y, int r, int g, int b) { + buffer_16bpp [y * w + x] = ((r >> 3) << 11) + ((g >> 2) << 5) + (b >> 3); |