diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-03 19:26:41 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-03 19:26:41 +0000 |
commit | 945b8d4606aaa4f33afdb32df7046a6d41fb07e1 (patch) | |
tree | 175df92060e171c3ec89ee64859d3995d61a25ef /graphics/qslim/files/patch-mixkit::src::MxAsp.cxx | |
parent | - Fix build on -current (diff) |
- Fix build on -current
PR: 58877
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=92986
Diffstat (limited to '')
-rw-r--r-- | graphics/qslim/files/patch-mixkit::src::MxAsp.cxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx b/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx new file mode 100644 index 000000000000..f2e842142240 --- /dev/null +++ b/graphics/qslim/files/patch-mixkit::src::MxAsp.cxx @@ -0,0 +1,31 @@ +--- mixkit/src/MxAsp.cxx.orig Sat Jan 23 06:50:45 1999 ++++ mixkit/src/MxAsp.cxx Mon Nov 3 22:09:45 2003 +@@ -53,8 +53,8 @@ + } + + #define asprint(V)\ +-out<< *as##.##V##_var; \ +-for(i=1; i<size; i++) out << " " << as##.##V##_var[i] ++out<< *as.V##_var; \ ++for(i=1; i<size; i++) out << " " << as.V##_var[i] + + ostream& MxAspVar::print(ostream& out) const + { +@@ -79,7 +79,7 @@ + #define defset(V, T) \ + bool MxAspVar::set_##V(V val, uint i) \ + {\ +- if( type==T && i<size ) { as##.##V##_var[i]=val; return true; } \ ++ if( type==T && i<size ) { as.V##_var[i]=val; return true; } \ + else return false; \ + } + +@@ -94,7 +94,7 @@ + #define defget(V, T) \ + V *MxAspVar::get_##V(V *out, uint i) \ + {\ +- if( type==T && i<size ) { *out = as##.##V##_var[i]; return out; } \ ++ if( type==T && i<size ) { *out = as.V##_var[i]; return out; } \ + else return NULL; \ + } + |