pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/lesstif Add patch to fix CAN-2005-0605. Bump PKGRE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d1bff60d151a
branches: trunk
changeset: 490444:d1bff60d151a
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Mar 10 16:07:26 2005 +0000
description:
Add patch to fix CAN-2005-0605. Bump PKGREVISION.
diffstat:
x11/lesstif/Makefile | 5 +++--
x11/lesstif/distinfo | 4 +++-
x11/lesstif/patches/patch-ab | 17 +++++++++++++++++
x11/lesstif/patches/patch-ac | 25 +++++++++++++++++++++++++
4 files changed, 48 insertions(+), 3 deletions(-)
diffs (87 lines):
diff -r 08a7a27d5be3 -r d1bff60d151a x11/lesstif/Makefile
--- a/x11/lesstif/Makefile Thu Mar 10 16:07:15 2005 +0000
+++ b/x11/lesstif/Makefile Thu Mar 10 16:07:26 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.77 2005/01/05 11:16:38 adam Exp $
+# $NetBSD: Makefile,v 1.78 2005/03/10 16:07:26 wiz Exp $
DISTNAME= lesstif-0.94.0
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lesstif/}
EXTRACT_SUFX= .tar.bz2
@@ -15,7 +16,7 @@
USE_X11BASE= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
-GNU_CONFIGURE= # defined
+GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-production --disable-debug --disable-verbose
CONFIGURE_ARGS+= --enable-editres --enable-xdnd
diff -r 08a7a27d5be3 -r d1bff60d151a x11/lesstif/distinfo
--- a/x11/lesstif/distinfo Thu Mar 10 16:07:15 2005 +0000
+++ b/x11/lesstif/distinfo Thu Mar 10 16:07:26 2005 +0000
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.12 2005/02/23 17:36:16 wiz Exp $
+$NetBSD: distinfo,v 1.13 2005/03/10 16:07:27 wiz Exp $
SHA1 (lesstif-0.94.0.tar.bz2) = 50456f6f2fe48354a7b1d1cbe4b58b5244aa2fa5
RMD160 (lesstif-0.94.0.tar.bz2) = 529a5f7dcc5997ca3282f415f50ebd0634c9ad16
Size (lesstif-0.94.0.tar.bz2) = 2425210 bytes
SHA1 (patch-aa) = c464f492e7c53bba85b0ad2dcc93caedf1f1be03
+SHA1 (patch-ab) = 8839488b15ae6a01bb4d6af46e386e894eb2cddf
+SHA1 (patch-ac) = 0e7bd9c469d98ea6a4257e734f69e321f8fee442
SHA1 (patch-am) = aa596b7cfe30c5764bf7ce908e5f400649b91d23
SHA1 (patch-an) = 01b8538e39797bf3ec54a8df61ab277ab6f961b9
SHA1 (patch-ao) = f122671c96e510f4b235e943b1502cd0b77a01b7
diff -r 08a7a27d5be3 -r d1bff60d151a x11/lesstif/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/lesstif/patches/patch-ab Thu Mar 10 16:07:26 2005 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.16 2005/03/10 16:07:27 wiz Exp $
+
+--- lib/Xm-2.1/Xpmcreate.c.orig 2004-11-18 22:00:58.000000000 +0100
++++ lib/Xm-2.1/Xpmcreate.c
+@@ -1265,10 +1265,10 @@ PutImagePixels(image, width, height, pix
+ register char *src;
+ register char *dst;
+ register unsigned int *iptr;
+- register unsigned int x, y, i;
++ register unsigned int x, y;
+ register char *data;
+ Pixel pixel, px;
+- int nbytes, depth, ibu, ibpp;
++ int nbytes, depth, ibu, ibpp, i;
+
+ data = image->data;
+ iptr = pixelindex;
diff -r 08a7a27d5be3 -r d1bff60d151a x11/lesstif/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/lesstif/patches/patch-ac Thu Mar 10 16:07:26 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ac,v 1.17 2005/03/10 16:07:27 wiz Exp $
+
+--- lib/Xm-2.1/Xpmscan.c.orig 2004-11-18 22:00:59.000000000 +0100
++++ lib/Xm-2.1/Xpmscan.c
+@@ -672,8 +672,8 @@ GetImagePixels(image, width, height, pma
+ char *dst;
+ unsigned int *iptr;
+ char *data;
+- unsigned int x, y, i;
+- int bits, depth, ibu, ibpp, offset;
++ unsigned int x, y;
++ int bits, depth, ibu, ibpp, offset, i;
+ unsigned long lbt;
+ Pixel pixel, px;
+
+@@ -684,6 +684,9 @@ GetImagePixels(image, width, height, pma
+ ibpp = image->bits_per_pixel;
+ offset = image->xoffset;
+
++ if (image->bitmap_unit < 0)
++ return (XpmNoMemory);
++
+ if ((image->bits_per_pixel | image->depth) == 1) {
+ ibu = image->bitmap_unit;
+ for (y = 0; y < height; y++)
- Prev by Date:
[pkgsrc/trunk]: pkgsrc/doc + aalib-1.4rc5, aalib-x11-1.4rc5, bittorrent-4.0, ...
- Next by Date:
[pkgsrc/trunk]: pkgsrc/doc Note xpm, openmotif, lesstif updates because of CA...
- Previous by Thread:
[pkgsrc/trunk]: pkgsrc/doc + aalib-1.4rc5, aalib-x11-1.4rc5, bittorrent-4.0, ...
- Next by Thread:
[pkgsrc/trunk]: pkgsrc/doc Note xpm, openmotif, lesstif updates because of CA...
- Indexes:
Home |
Main Index |
Thread Index |
Old Index