diff options
author | dholland <dholland> | 2012-05-23 06:37:50 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-05-23 06:37:50 +0000 |
commit | f192e04f785ecd1b7e2a3347e56db4714aef6926 (patch) | |
tree | 8f550b8200082441b725e9fbc38ed50944088b76 | |
parent | 49003482289eb54be226405ce28cf352735b623d (diff) | |
download | pkgsrc-f192e04f785ecd1b7e2a3347e56db4714aef6926.tar.gz |
Don't declare own strchr(). It breaks on Linux.
-rw-r--r-- | graphics/ploticus/distinfo | 3 | ||||
-rw-r--r-- | graphics/ploticus/patches/patch-functions_c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/ploticus/distinfo b/graphics/ploticus/distinfo index bdc575556bd..6c0f4e838e6 100644 --- a/graphics/ploticus/distinfo +++ b/graphics/ploticus/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2011/04/03 11:58:22 wiz Exp $ +$NetBSD: distinfo,v 1.13 2012/05/23 06:37:50 dholland Exp $ SHA1 (pl231src.tar.gz) = 9b7219acb31231efcf1200ad586e526814ae8283 RMD160 (pl231src.tar.gz) = 379e6c3d2d6482cda2a76726c439b4e6f5395b1f @@ -9,4 +9,5 @@ SHA1 (patch-ba) = 69043093a1a77e14b776e3166eb874a508ae11d7 SHA1 (patch-bb) = cd27de0c5c9d20d7909e0e3b7c0d8d0c662b232f SHA1 (patch-bc) = eafd9ec5a0c7856a208df17a0a45e547239b66ac SHA1 (patch-bd) = 7f269658b3eefdc26b36b395f657168dac8c25f4 +SHA1 (patch-functions_c) = 2dc6235796e95cd8e8de8131ee424290df9a8e0a SHA1 (patch-gd__png.c) = cf5cd60d4ce7e8dbd95b40c2684e5f784075682c diff --git a/graphics/ploticus/patches/patch-functions_c b/graphics/ploticus/patches/patch-functions_c new file mode 100644 index 00000000000..76d11c43d7a --- /dev/null +++ b/graphics/ploticus/patches/patch-functions_c @@ -0,0 +1,14 @@ +$NetBSD: patch-functions_c,v 1.1 2012/05/23 06:37:50 dholland Exp $ + +Don't declare own strchr(). + +--- functions.c~ 2005-01-12 20:25:45.000000000 +0000 ++++ functions.c +@@ -636,7 +636,6 @@ else { + + if( hash == 1708 ) { /* $htmldisplay( var1, .. varN ) - convert embedded HTML problem chars (<,>,&) + * to their html esc sequences for all variables given */ +- char *strchr(); + for( i = 0; i < nargs; i++ ) { + stat = TDH_getvalue( tok, arg[i], TDH_dat, TDH_recid ); + if( strchr( tok, '&' ) != NULL ) GL_substitute( "&", "&", tok ); |