diff options
Diffstat (limited to 'graphics/gplot/files/patch-pkras.c')
-rw-r--r-- | graphics/gplot/files/patch-pkras.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-pkras.c b/graphics/gplot/files/patch-pkras.c new file mode 100644 index 000000000000..2352aaa823eb --- /dev/null +++ b/graphics/gplot/files/patch-pkras.c @@ -0,0 +1,23 @@ +--- pkras.c.orig Thu Jul 18 02:22:07 1991 ++++ pkras.c Sat Jun 16 01:31:42 2007 +@@ -2,7 +2,12 @@ + /* module to decode a PK format packed raster font description */ + /* globals for pk processing */ + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include "defs.h" ++ ++static dim_str(); ++ + #define NO_FONTS 8 /* the number of font styles pre-defined */ + #define max_mags 100 + #define pts_in 72.27 +@@ -32,7 +37,6 @@ + static int rot_bytes_allocated = r_b_allocated; + static char ras_array[r_b_allocated], rot_array[r_b_allocated]; + static char *ras_ptr = ras_array, *rot_ptr = rot_array; +-extern char *realloc(); + + #define max_char_stor 100000 + static unsigned char char_stor[max_char_stor]; /* store character definitions */ |