diff options
author | tron <tron> | 1998-07-05 21:59:42 +0000 |
---|---|---|
committer | tron <tron> | 1998-07-05 21:59:42 +0000 |
commit | 0abe3bc34409c2f51cbbed331d8f6fe12a870649 (patch) | |
tree | ee5a7cab3287d5d4ae91c09e195ec27e93d59211 /graphics/kdegraphics/patches | |
parent | 139f2b93975398bd50611cd87134ad932c83d99f (diff) | |
download | pkgsrc-0abe3bc34409c2f51cbbed331d8f6fe12a870649.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/patches')
-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; |