diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-19 16:22:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-19 16:22:56 +0000 |
commit | a1407253f2e5b03871480f07c8614c2fef01085b (patch) | |
tree | 0e12b034c0a9bd3ac1b3c2ac15aee6602bc10422 | |
parent | 49a5d6de51e8101d8bfc3b302f77ce38709803e1 (diff) | |
download | pkgsrc-a1407253f2e5b03871480f07c8614c2fef01085b.tar.gz |
Fix errno. Remove conflicting malloc prototype.
-rw-r--r-- | graphics/xgraph/distinfo | 4 | ||||
-rw-r--r-- | graphics/xgraph/patches/patch-aa | 12 | ||||
-rw-r--r-- | graphics/xgraph/patches/patch-ab | 12 |
3 files changed, 27 insertions, 1 deletions
diff --git a/graphics/xgraph/distinfo b/graphics/xgraph/distinfo index 2402c327f4e..e0c3c0a2e82 100644 --- a/graphics/xgraph/distinfo +++ b/graphics/xgraph/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 08:45:14 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/12/19 16:22:56 joerg Exp $ SHA1 (xgraph-11.3.2-hack.9.tar.gz) = 6e695d2008094e8aca54795c7c73ed239d0d5404 RMD160 (xgraph-11.3.2-hack.9.tar.gz) = 3d1344b9e97b72886faaedce92b697dbc9503a1b Size (xgraph-11.3.2-hack.9.tar.gz) = 101979 bytes +SHA1 (patch-aa) = cc5f9a2c5d2ca604459f581b41fd3e6cc82633d5 +SHA1 (patch-ab) = c04e437b082e3f06ba3c88f3bb605882ce5ad297 diff --git a/graphics/xgraph/patches/patch-aa b/graphics/xgraph/patches/patch-aa new file mode 100644 index 00000000000..da6b8a748f4 --- /dev/null +++ b/graphics/xgraph/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.3 2005/12/19 16:22:56 joerg Exp $ + +--- xgraph.c.orig 2005-12-19 16:09:11.000000000 +0000 ++++ xgraph.c +@@ -2662,7 +2662,6 @@ XErrorEvent *evt; + + + #include <errno.h> +-extern int errno; + #ifndef __WIN32__ + #define HAVE_MMAP + #endif diff --git a/graphics/xgraph/patches/patch-ab b/graphics/xgraph/patches/patch-ab new file mode 100644 index 00000000000..770de7b9ed1 --- /dev/null +++ b/graphics/xgraph/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2005/12/19 16:22:56 joerg Exp $ + +--- hpgl.c.orig 2005-12-19 16:11:22.000000000 +0000 ++++ hpgl.c +@@ -15,7 +15,6 @@ + #include <math.h> + #define MAX(a,b) ( ((a)>(b)) ? (a) : (b) ) + #define MIN(a,b) ( ((a)<(b)) ? (a) : (b) ) +-char *malloc(); + + static void hpglText(); + static void hpglSeg(); |