pkgsrc/audio/xmms-synaesthesia/patches/patch-aa
joerg 29b0ac3c8b Unbreak build with GCC 3.4+ (label at end of compound statement).
Include string.h, when using functions from it.
2005-10-03 12:12:12 +00:00

20 lines
513 B
Text

$NetBSD: patch-aa,v 1.1 2005/10/03 12:12:12 joerg Exp $
--- syna_xmms.c.orig 2005-07-22 19:19:18.000000000 +0000
+++ syna_xmms.c
@@ -19,6 +19,7 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <pthread.h>
+#include <string.h>
#include "math.h"
#include <xmms/plugin.h>
#include <xmms/util.h>
@@ -285,6 +286,7 @@ void synx_menu_cb(gpointer cb_data, guin
synx_fullscreen_toggle();
break;
default:
+ break;
/* ugh */
}
}