diff options
Diffstat (limited to 'devel/glui/files/patch-example1.cpp')
-rw-r--r-- | devel/glui/files/patch-example1.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/glui/files/patch-example1.cpp b/devel/glui/files/patch-example1.cpp new file mode 100644 index 000000000000..84d540e31a84 --- /dev/null +++ b/devel/glui/files/patch-example1.cpp @@ -0,0 +1,19 @@ +--- example1.cpp.orig Sat Oct 5 12:36:47 2002
++++ example1.cpp Sat Oct 5 12:37:20 2002
+@@ -85,7 +85,7 @@
+
+ /**************************************** main() ********************/
+
+-void main(int argc, char* argv[])
++int main(int argc, char* argv[])
+ {
+ /****************************************/
+ /* Initialize GLUT and create window */
+@@ -136,6 +136,7 @@
+ GLUI_Master.set_glutIdleFunc( myGlutIdle );
+
+ glutMainLoop();
++ return 0;
+ }
+
+
|