aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-gdchart/files/patch-gdc_py.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-gdchart/files/patch-gdc_py.c')
-rw-r--r--graphics/py-gdchart/files/patch-gdc_py.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/py-gdchart/files/patch-gdc_py.c b/graphics/py-gdchart/files/patch-gdc_py.c
new file mode 100644
index 000000000000..9de1d580e48e
--- /dev/null
+++ b/graphics/py-gdchart/files/patch-gdc_py.c
@@ -0,0 +1,11 @@
+--- gdc_py.c.orig Sat Mar 17 04:06:08 2001
++++ gdc_py.c Mon Jun 18 17:03:24 2001
+@@ -33,6 +33,8 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <assert.h>
++#include <limits.h>
++#define MAXSHORT SHRT_MAX
+
+ #include "Python.h"
+ #include "cStringIO.h"