summaryrefslogtreecommitdiff
path: root/emulators/gbe/files/patch-debug.c
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-07-01 19:39:34 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-07-01 19:39:34 +0000
commit95e58e03cd62d65aa5eb9b683c8d6660d96da1bf (patch)
treea0c49e00a981f53324ef13450b9e4eb5fa91694f /emulators/gbe/files/patch-debug.c
parentRepocopied mail/mutt --> mail/mutt14 (diff)
Fix build with clang
Diffstat (limited to 'emulators/gbe/files/patch-debug.c')
-rw-r--r--emulators/gbe/files/patch-debug.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/gbe/files/patch-debug.c b/emulators/gbe/files/patch-debug.c
new file mode 100644
index 000000000000..6d3692518c42
--- /dev/null
+++ b/emulators/gbe/files/patch-debug.c
@@ -0,0 +1,11 @@
+--- debug.c.orig 2012-07-01 20:00:16.000000000 +0200
++++ debug.c 2012-07-01 20:00:39.000000000 +0200
+@@ -352,7 +352,7 @@
+ void gbz80_debugger(void *garbage)
+ {
+ printf("Debugger not available!\n");
+- return 0;
++ return;
+ }
+
+ #endif