summaryrefslogtreecommitdiff
path: root/audio/xcdplayer/files/patch-main.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-08-25 00:05:26 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-08-25 00:05:26 +0000
commitd6de6f8b7014abcb20977d3c6d2aedb4c62ed2fb (patch)
tree6739fbaff7735ec8d55b2cd166529dfa591b793b /audio/xcdplayer/files/patch-main.c
parentFrom the maintainer: (diff)
* Bring us into the 64-bit world.
Obtained from: NetBSD * Use CDROM devices also available on 5.x.
Notes
Notes: svn path=/head/; revision=87625
Diffstat (limited to 'audio/xcdplayer/files/patch-main.c')
-rw-r--r--audio/xcdplayer/files/patch-main.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/xcdplayer/files/patch-main.c b/audio/xcdplayer/files/patch-main.c
new file mode 100644
index 000000000000..07d4facdacaf
--- /dev/null
+++ b/audio/xcdplayer/files/patch-main.c
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- main.c.orig Tue Jan 12 19:59:36 1993
++++ main.c Mon Aug 25 00:38:35 2003
+@@ -23,7 +23,9 @@
+
+ Widget top_form;
+
+-void
++extern AppData app_data;
++
++int
+ main(argc, argv)
+ int argc;
+ char **argv;
+@@ -66,7 +68,7 @@
+ /* ugly hack */
+ for (i = 1; i < argc; i++) {
+ if (strcmp(argv[i], "-debug") == 0) {
+- debug = True;
++ app_data.debug = True;
+ break;
+ }
+ }