summaryrefslogtreecommitdiff
path: root/devel/glui/files/patch-example3.cpp
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-28 19:01:17 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-28 19:01:17 +0000
commit0f2064ac797ebc8696e576c0f1de0d08886072c9 (patch)
treefcddba6365a776dd7a4e5aafa64f8524eb320d7f /devel/glui/files/patch-example3.cpp
parentDefine HAVE_MEMCPY and unbreak. (diff)
Fix Build on -CURRENT
PR: 43717 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Notes
Notes: svn path=/head/; revision=71220
Diffstat (limited to 'devel/glui/files/patch-example3.cpp')
-rw-r--r--devel/glui/files/patch-example3.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/glui/files/patch-example3.cpp b/devel/glui/files/patch-example3.cpp
new file mode 100644
index 000000000000..32604ea36fe3
--- /dev/null
+++ b/devel/glui/files/patch-example3.cpp
@@ -0,0 +1,18 @@
+--- example3.cpp.orig Sat Oct 5 12:42:22 2002
++++ example3.cpp Sat Oct 5 12:42:39 2002
+@@ -263,7 +263,7 @@
+
+ /**************************************** main() ********************/
+
+-void main(int argc, char* argv[])
++int main(int argc, char* argv[])
+ {
+ /****************************************/
+ /* Initialize GLUT and create window */
+@@ -392,5 +392,6 @@
+
+ /**** Regular GLUT main loop ****/
+ glutMainLoop();
++ return 0;
+ }
+