diff options
Diffstat (limited to 'devel/glui/files/patch-example5.cpp')
| -rw-r--r-- | devel/glui/files/patch-example5.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/glui/files/patch-example5.cpp b/devel/glui/files/patch-example5.cpp new file mode 100644 index 000000000000..d220bb08bcce --- /dev/null +++ b/devel/glui/files/patch-example5.cpp @@ -0,0 +1,18 @@ +--- example5.cpp.orig Sat Oct 5 12:39:00 2002
++++ example5.cpp Sat Oct 5 12:39:35 2002
+@@ -310,7 +310,7 @@
+
+ /**************************************** main() ********************/
+
+-void main(int argc, char* argv[])
++int main(int argc, char* argv[])
+ {
+ /****************************************/
+ /* Initialize GLUT and create window */
+@@ -478,5 +478,6 @@
+ /**** Regular GLUT main loop ****/
+
+ glutMainLoop();
++ return 0;
+ }
+
|
