diff options
author | tron <tron@pkgsrc.org> | 1998-07-05 21:59:42 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-07-05 21:59:42 +0000 |
commit | d04d69bb2cefe74bc11fc0b8fbe9b2333a594b71 (patch) | |
tree | ee5a7cab3287d5d4ae91c09e195ec27e93d59211 /graphics/kdegraphics | |
parent | 34a0ba1c813c4f7f46b4d3bfca251a1a5d0517e0 (diff) | |
download | pkgsrc-d04d69bb2cefe74bc11fc0b8fbe9b2333a594b71.tar.gz |
Add patch for "kghostscript" to stop it segment faulting on startup.
Fixes PR pkg/5707 by Nick Hudson.
Diffstat (limited to 'graphics/kdegraphics')
-rw-r--r-- | graphics/kdegraphics/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/kdegraphics/patches/patch-aa b/graphics/kdegraphics/patches/patch-aa new file mode 100644 index 00000000000..600a63d183c --- /dev/null +++ b/graphics/kdegraphics/patches/patch-aa @@ -0,0 +1,13 @@ +--- kghostview/kaccel.cpp.orig Wed Apr 8 01:38:58 1998 ++++ kghostview/kaccel.cpp Sun Jul 5 23:42:12 1998 +@@ -497,7 +497,9 @@ + uint keyCode = 0; + int j, nb_toks = 0; + char sKey[200]; +- ++ ++ if ( key == NULL ) return keyCode; ++ + strncpy(sKey, (const char *)key, 200); + + if ( strcmp( sKey, "" ) == -1 ) return keyCode; |