summaryrefslogtreecommitdiff
path: root/devel/glui/files/patch-example2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glui/files/patch-example2.cpp')
-rw-r--r--devel/glui/files/patch-example2.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/glui/files/patch-example2.cpp b/devel/glui/files/patch-example2.cpp
new file mode 100644
index 000000000000..bef9d489d1ce
--- /dev/null
+++ b/devel/glui/files/patch-example2.cpp
@@ -0,0 +1,17 @@
+--- example2.cpp.orig Sat Oct 5 12:37:42 2002
++++ example2.cpp Sat Oct 5 12:38:06 2002
+@@ -181,7 +181,7 @@
+
+ /**************************************** main() ********************/
+
+-void main(int argc, char* argv[])
++int main(int argc, char* argv[])
+ {
+ /****************************************/
+ /* Initialize GLUT and create window */
+@@ -244,4 +244,5 @@
+ GLUI_Master.set_glutIdleFunc( myGlutIdle );
+
+ glutMainLoop();
++ return 0;
+ }