From a9cee505fbb9be1ec8503a24e35425d0dffdda64 Mon Sep 17 00:00:00 2001 From: minskim Date: Wed, 26 Oct 2005 15:58:54 +0000 Subject: Make this package build on NetBSD-1.6.2, and remove warning on Mac OS X and Solaris. Patches provided by Geert Hendrickx. --- lang/wsbasic/patches/patch-ab | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lang/wsbasic/patches/patch-ab (limited to 'lang/wsbasic/patches/patch-ab') diff --git a/lang/wsbasic/patches/patch-ab b/lang/wsbasic/patches/patch-ab new file mode 100644 index 00000000000..c5bd1ef7378 --- /dev/null +++ b/lang/wsbasic/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2005/10/26 15:58:54 minskim Exp $ + +--- number.h.orig 2004-06-09 02:20:18.000000000 +0200 ++++ number.h +@@ -26,7 +26,7 @@ class Number{ + //============== + void toString(); //explicit conversion to string strVal + void toDouble(); //explicit conversion to double val +- void setValue( double d ){ val=d; strVal.clear(); bString=false;} ++ void setValue( double d ){ val=d; bString=false;} + void setValue( const string& s ){ strVal=s; bString=true;} + + void minus(){ val=-val; } -- cgit v1.2.3