pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmmsctrl remove useless use of __attribute__. al...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51317ba7a264
branches:  trunk
changeset: 476485:51317ba7a264
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jun 12 01:05:37 2004 +0000

description:
remove useless use of __attribute__. allows this to build with compilers
which don't support __attribute__.

diffstat:

 audio/xmmsctrl/distinfo         |   4 ++--
 audio/xmmsctrl/patches/patch-aa |  17 +++++++++++++----
 2 files changed, 15 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 0babf4956532 -r 51317ba7a264 audio/xmmsctrl/distinfo
--- a/audio/xmmsctrl/distinfo   Fri Jun 11 23:17:50 2004 +0000
+++ b/audio/xmmsctrl/distinfo   Sat Jun 12 01:05:37 2004 +0000
@@ -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 -r 0babf4956532 -r 51317ba7a264 audio/xmmsctrl/patches/patch-aa
--- a/audio/xmmsctrl/patches/patch-aa   Fri Jun 11 23:17:50 2004 +0000
+++ b/audio/xmmsctrl/patches/patch-aa   Sat Jun 12 01:05:37 2004 +0000
@@ -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 @@
  
  /* 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 */



Home | Main Index | Thread Index | Old Index