diff options
author | minskim <minskim> | 2005-10-26 15:58:54 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-10-26 15:58:54 +0000 |
commit | a9cee505fbb9be1ec8503a24e35425d0dffdda64 (patch) | |
tree | effaaf7b74014503ef59c06bc273d177d833ac2e /lang/wsbasic/patches/patch-ab | |
parent | 39c3554f5e46d262747a9387ea0055c408e29c1e (diff) | |
download | pkgsrc-a9cee505fbb9be1ec8503a24e35425d0dffdda64.tar.gz |
Make this package build on NetBSD-1.6.2, and remove warning on Mac OS
X and Solaris. Patches provided by Geert Hendrickx.
Diffstat (limited to 'lang/wsbasic/patches/patch-ab')
-rw-r--r-- | lang/wsbasic/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
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; } |