summaryrefslogtreecommitdiff
path: root/editors/nedit/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-06-23 09:45:52 +0000
committerobache <obache@pkgsrc.org>2013-06-23 09:45:52 +0000
commit1d113a0c543f25cf10d57d1db4c741d72b602ad4 (patch)
treeaaf297c837a805b61ce11ba8bb86f2bdce03161c /editors/nedit/patches
parentdd8e8d937284a466f840398d13c5b551f2745ae0 (diff)
downloadpkgsrc-1d113a0c543f25cf10d57d1db4c741d72b602ad4.tar.gz
add RCS Id and comments.
Diffstat (limited to 'editors/nedit/patches')
-rw-r--r--editors/nedit/patches/patch-util_misc.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/editors/nedit/patches/patch-util_misc.c b/editors/nedit/patches/patch-util_misc.c
index 87434ed3fe8..2749a2a8c21 100644
--- a/editors/nedit/patches/patch-util_misc.c
+++ b/editors/nedit/patches/patch-util_misc.c
@@ -1,5 +1,13 @@
---- util/misc.c.orig 2013-06-23 11:14:52.000000000 +0200
-+++ util/misc.c 2013-06-23 11:16:27.000000000 +0200
+$NetBSD: patch-util_misc.c,v 1.2 2013/06/23 09:45:52 obache Exp $
+
+* prevent to crash, as PR pkg/47777
+ taken from Red Hat Bug 199770:
+ https://bugzilla.redhat.com/show_bug.cgi?id=199770
+ upstream bug #668:
+ http://sourceforge.net/p/nedit/bugs/668/
+
+--- util/misc.c.orig 2004-08-09 22:20:00.000000000 +0000
++++ util/misc.c
@@ -383,7 +383,10 @@ Boolean FindBestVisual(Display *display,
*colormap = cachedColormap;
return (*visual == DefaultVisual(display, screen));