pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/ploticus Don't declare own strchr(). It break...
details: https://anonhg.NetBSD.org/pkgsrc/rev/50ee222eeb01
branches: trunk
changeset: 604115:50ee222eeb01
user: dholland <dholland%pkgsrc.org@localhost>
date: Wed May 23 06:37:50 2012 +0000
description:
Don't declare own strchr(). It breaks on Linux.
diffstat:
graphics/ploticus/distinfo | 3 ++-
graphics/ploticus/patches/patch-functions_c | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 621b6189e1f9 -r 50ee222eeb01 graphics/ploticus/distinfo
--- a/graphics/ploticus/distinfo Wed May 23 06:35:17 2012 +0000
+++ b/graphics/ploticus/distinfo Wed May 23 06:37:50 2012 +0000
@@ -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-bb) = cd27de0c5c9d20d7909e0e3b7c0d8d0c662b232f
SHA1 (patch-bc) = eafd9ec5a0c7856a208df17a0a45e547239b66ac
SHA1 (patch-bd) = 7f269658b3eefdc26b36b395f657168dac8c25f4
+SHA1 (patch-functions_c) = 2dc6235796e95cd8e8de8131ee424290df9a8e0a
SHA1 (patch-gd__png.c) = cf5cd60d4ce7e8dbd95b40c2684e5f784075682c
diff -r 621b6189e1f9 -r 50ee222eeb01 graphics/ploticus/patches/patch-functions_c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ploticus/patches/patch-functions_c Wed May 23 06:37:50 2012 +0000
@@ -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 );
Home |
Main Index |
Thread Index |
Old Index