mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build with gcc 3.4
This commit is contained in:
parent
d0d6642010
commit
b52b39c34f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116523
2 changed files with 40 additions and 0 deletions
10
graphics/diacanvas/files/patch-diamagnifytool.c
Normal file
10
graphics/diacanvas/files/patch-diamagnifytool.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- diacanvas/diamagnifytool.c.orig Tue Aug 17 15:52:45 2004
|
||||
+++ diacanvas/diamagnifytool.c Tue Aug 17 15:53:00 2004
|
||||
@@ -118,6 +118,7 @@
|
||||
}
|
||||
break;
|
||||
default:
|
||||
+ break;
|
||||
} /* switch */
|
||||
return FALSE;
|
||||
}
|
30
science/glens/files/patch-ui.cpp
Normal file
30
science/glens/files/patch-ui.cpp
Normal file
|
@ -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];
|
||||
|
Loading…
Add table
Reference in a new issue