From 2e3099db4013df15c2bbf50ad586a38b56de3501 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 12 Jun 2004 01:05:37 +0000 Subject: remove useless use of __attribute__. allows this to build with compilers which don't support __attribute__. --- audio/xmmsctrl/distinfo | 4 ++-- audio/xmmsctrl/patches/patch-aa | 17 +++++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'audio') diff --git a/audio/xmmsctrl/distinfo b/audio/xmmsctrl/distinfo index a4cfc895ed8..85fbd5ac1ca 100644 --- a/audio/xmmsctrl/distinfo +++ b/audio/xmmsctrl/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $ +$NetBSD: distinfo,v 1.2 2004/06/12 01:05:37 grant Exp $ SHA1 (xmmsctrl-1.6.tar.gz) = 0cfb33cf841eba3bbc0230f66f22d1fa3347a799 Size (xmmsctrl-1.6.tar.gz) = 7843 bytes -SHA1 (patch-aa) = 0284292749623dbd435ee6e4b64a0932a5f78bf8 +SHA1 (patch-aa) = 7ef892ee09bee6d3e80863f5599973021b076ff0 SHA1 (patch-ab) = 1e208da231e3b547a9dccf8cfcf406b7143732c8 diff --git a/audio/xmmsctrl/patches/patch-aa b/audio/xmmsctrl/patches/patch-aa index 55d1861d8a2..b5d9555c703 100644 --- a/audio/xmmsctrl/patches/patch-aa +++ b/audio/xmmsctrl/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $ +$NetBSD: patch-aa,v 1.2 2004/06/12 01:05:37 grant Exp $ ---- xmmsctrl.c~ Wed Nov 21 18:45:56 2001 -+++ xmmsctrl.c Sun Sep 21 22:34:00 2003 -@@ -38,7 +38,7 @@ +--- xmmsctrl.c.orig 2001-11-22 05:45:56.000000000 +1100 ++++ xmmsctrl.c +@@ -38,7 +38,7 @@ USA. /* This declaration seems to be missing on my system * Comment it if your are running Debian */ @@ -11,3 +11,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/05/09 04:42:46 minskim Exp $ /* returns true if xmms is playing a stream */ static gboolean is_stream_playing(gint); +@@ -537,7 +537,7 @@ static void set_dir(gint session, char * + * print xmmsctrl help + * the dummy variable is used just for convenience + */ +-static void print_help(__attribute__ ((unused)) gint dummy) { ++static void print_help(gint dummy) { + unsigned int i; + + /* The string is cut to conform to ISO C89 */ -- cgit v1.2.3