diff options
author | smb <smb@pkgsrc.org> | 2007-09-11 23:49:39 +0000 |
---|---|---|
committer | smb <smb@pkgsrc.org> | 2007-09-11 23:49:39 +0000 |
commit | f80eb2c032797d1b2fba008dce1b917f56edd82d (patch) | |
tree | b0547ee648cc3f090fd90f91e4cfb1c6bfa1c99b /x11/Xaw3d | |
parent | 2298124e383d917d23e2ef5fb0b8d2d13fdf1fb0 (diff) | |
download | pkgsrc-f80eb2c032797d1b2fba008dce1b917f56edd82d.tar.gz |
Avoid problems if a pointer passed in is NULL (and work around what may
or may not be an xfig bug)
Diffstat (limited to 'x11/Xaw3d')
-rw-r--r-- | x11/Xaw3d/Makefile | 4 | ||||
-rw-r--r-- | x11/Xaw3d/distinfo | 3 | ||||
-rw-r--r-- | x11/Xaw3d/patches/patch-ad | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/x11/Xaw3d/Makefile b/x11/Xaw3d/Makefile index d8ee96dfed1..1ced6c6230f 100644 --- a/x11/Xaw3d/Makefile +++ b/x11/Xaw3d/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.51 2006/12/27 13:37:42 joerg Exp $ +# $NetBSD: Makefile,v 1.52 2007/09/11 23:49:39 smb Exp $ # DISTNAME= Xaw3d-1.5E -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 MASTER_SITES= ftp://ftp.visi.com/users/hawkeyd/X/ diff --git a/x11/Xaw3d/distinfo b/x11/Xaw3d/distinfo index 11ab36fe725..29ae74ecf02 100644 --- a/x11/Xaw3d/distinfo +++ b/x11/Xaw3d/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2006/03/13 00:16:23 markd Exp $ +$NetBSD: distinfo,v 1.10 2007/09/11 23:49:40 smb Exp $ SHA1 (Xaw3d-1.5E.tar.gz) = efc5b923feda52866c859c59a5b553cb675a69d1 RMD160 (Xaw3d-1.5E.tar.gz) = 086cbabaa45ce5c110815aea24eebcbb54613118 @@ -6,3 +6,4 @@ Size (Xaw3d-1.5E.tar.gz) = 309264 bytes SHA1 (patch-aa) = 7729cfe83671f482670350ead9ccf1bfe3e932e3 SHA1 (patch-ab) = 9bbe44041708b2d01b728638ac07e32addc01cff SHA1 (patch-ac) = cce339b75bdfe407608f004eaf1f22fca26ecd5e +SHA1 (patch-ad) = 213145d3e7bb6ac78912f16be98d4f446e40b9ac diff --git a/x11/Xaw3d/patches/patch-ad b/x11/Xaw3d/patches/patch-ad new file mode 100644 index 00000000000..73e2ba55568 --- /dev/null +++ b/x11/Xaw3d/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2007/09/11 23:49:40 smb Exp $ + +--- SmeLine.c.orig 2000-11-27 08:19:28.000000000 -0500 ++++ SmeLine.c 2007-09-11 17:21:39.000000000 -0400 +@@ -217,7 +217,7 @@ + SmeLineObject entry = (SmeLineObject) w; + SimpleMenuWidget smw = (SimpleMenuWidget) XtParent (w); + ThreeDWidget tdw = (ThreeDWidget) smw->simple_menu.threeD; +- Dimension s = tdw->threeD.shadow_width; ++ Dimension s = tdw ? tdw->threeD.shadow_width : NULL; + int y = entry->rectangle.y + + (int)(entry->rectangle.height - entry->sme_line.line_width) / 2; + |