diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 13:58:21 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 13:58:21 +0000 |
commit | b52b39c34f1e7af765656d8c4be3c750d9a773a8 (patch) | |
tree | d7df45de09462e88ea7774e58fb8ecaad9b2afb3 /science | |
parent | - Update to 1.1.0 (diff) |
Fix build with gcc 3.4
Notes
Notes:
svn path=/head/; revision=116523
Diffstat (limited to 'science')
-rw-r--r-- | science/glens/files/patch-ui.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/science/glens/files/patch-ui.cpp b/science/glens/files/patch-ui.cpp new file mode 100644 index 000000000000..5faee6ea96aa --- /dev/null +++ b/science/glens/files/patch-ui.cpp @@ -0,0 +1,30 @@ +--- src/ui.cpp.orig Tue Aug 17 15:50:17 2004 ++++ src/ui.cpp Tue Aug 17 15:56:34 2004 +@@ -320,7 +320,7 @@ + + GLUI_RadioGroup *group = win_control->add_radiogroup_to_panel(panel, &d,1,ctrl_callback); + +- radio = new (GLUI_RadioButton*)[ndefl]; ++ radio = new GLUI_RadioButton*[ndefl]; + + for(i=0;i<ndefl;i++) + { +@@ -406,12 +406,12 @@ + + int i; + +- st = new (GLUI_StaticText*)[n]; +- cb = new (GLUI_Checkbox*)[n]; +- ex = new (GLUI_EditText*)[n]; +- ey = new (GLUI_EditText*)[n]; +- ez = new (GLUI_EditText*)[n]; +- em = new (GLUI_EditText*)[n]; ++ st = new GLUI_StaticText*[n]; ++ cb = new GLUI_Checkbox*[n]; ++ ex = new GLUI_EditText*[n]; ++ ey = new GLUI_EditText*[n]; ++ ez = new GLUI_EditText*[n]; ++ em = new GLUI_EditText*[n]; + + char text[10]; + |