Latest version of libmpdclient. Tested on sparc64. API additions only.

Index: Makefile
===================================================================
RCS file: /home/vcs/cvs/openbsd/ports/audio/libmpdclient/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    5 Apr 2011 20:09:32 -0000       1.5
+++ Makefile    29 Oct 2011 23:03:09 -0000
@@ -2,8 +2,8 @@
 
 COMMENT=               library for interfacing MPD
 
-DISTNAME=              libmpdclient-2.4
-SHARED_LIBS=           mpdclient 1.0   # 2.1
+DISTNAME=              libmpdclient-2.6
+SHARED_LIBS=           mpdclient 1.1   # 2.5
 CATEGORIES=            audio
 HOMEPAGE=              http://mpd.wikia.com/wiki/ClientLib:libmpdclient
 
Index: distinfo
===================================================================
RCS file: /home/vcs/cvs/openbsd/ports/audio/libmpdclient/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    5 Apr 2011 20:09:32 -0000       1.2
+++ distinfo    29 Oct 2011 23:03:09 -0000
@@ -1,5 +1,5 @@
-MD5 (libmpdclient-2.4.tar.gz) = 76aWTET6fwFIGh+DZcH2yw==
-RMD160 (libmpdclient-2.4.tar.gz) = hB11lNdmzrCSrPBjsJ3AHZWb+pU=
-SHA1 (libmpdclient-2.4.tar.gz) = dMrq82AkFdz2JxOLNaCc5HOni74=
-SHA256 (libmpdclient-2.4.tar.gz) = 4PdKo0GhjoqpKCYDTOgAqcQH5TIorOBKPE1V55pWmQE=
-SIZE (libmpdclient-2.4.tar.gz) = 334720
+MD5 (libmpdclient-2.6.tar.gz) = qzh/Uy/QvZlTD3fw9b/PFA==
+RMD160 (libmpdclient-2.6.tar.gz) = lCmE6y8eH21Z/+3W8AxRWSbgFFo=
+SHA1 (libmpdclient-2.6.tar.gz) = Ob3PU5n7mONLi2EQBXtk9NGUUzM=
+SHA256 (libmpdclient-2.6.tar.gz) = evpUdow1fbuWyIMlmd4+8BeXTXwDlJnC3oucWHUj4Go=
+SIZE (libmpdclient-2.6.tar.gz) = 357982
Index: patches/patch-src_idle_c
===================================================================
RCS file: 
/home/vcs/cvs/openbsd/ports/audio/libmpdclient/patches/patch-src_idle_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_idle_c
--- patches/patch-src_idle_c    6 Sep 2010 11:40:39 -0000       1.1
+++ patches/patch-src_idle_c    29 Oct 2011 23:03:09 -0000
@@ -2,9 +2,9 @@ $OpenBSD: patch-src_idle_c,v 1.1 2010/09
 
 Fix build on gcc2.
 
---- src/idle.c.orig    Sun Sep  5 22:39:01 2010
-+++ src/idle.c Sun Sep  5 22:40:02 2010
-@@ -57,7 +57,8 @@ static const char *const idle_names[] = {
+--- src/idle.c.orig    Mon Oct 24 04:43:05 2011
++++ src/idle.c Sun Oct 30 00:18:24 2011
+@@ -60,7 +60,8 @@ static const char *const idle_names[] = {
  const char *
  mpd_idle_name(enum mpd_idle idle)
  {
@@ -14,7 +14,7 @@ Fix build on gcc2.
                if (idle == (enum mpd_idle)(1 << i))
                        return idle_names[i];
  
-@@ -67,9 +68,10 @@ mpd_idle_name(enum mpd_idle idle)
+@@ -70,9 +71,10 @@ mpd_idle_name(enum mpd_idle idle)
  enum mpd_idle
  mpd_idle_name_parse(const char *name)
  {
@@ -26,7 +26,7 @@ Fix build on gcc2.
                if (strcmp(name, idle_names[i]) == 0)
                        return 1 << i;
  
-@@ -141,6 +143,7 @@ mpd_send_idle(struct mpd_connection *connection)
+@@ -144,6 +146,7 @@ mpd_send_idle(struct mpd_connection *connection)
  bool
  mpd_send_idle_mask(struct mpd_connection *connection, enum mpd_idle mask)
  {
@@ -34,7 +34,7 @@ Fix build on gcc2.
        /* this buffer is large enough even for the full mask */
        char buffer[128] = "idle";
  
-@@ -149,7 +152,7 @@ mpd_send_idle_mask(struct mpd_connection *connection, 
+@@ -152,7 +155,7 @@ mpd_send_idle_mask(struct mpd_connection *connection, 
        if (mpd_error_is_defined(&connection->error))
                return false;
  
Index: pkg/PLIST
===================================================================
RCS file: /home/vcs/cvs/openbsd/ports/audio/libmpdclient/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   5 Apr 2011 20:09:32 -0000       1.2
+++ pkg/PLIST   29 Oct 2011 23:03:09 -0000
@@ -13,6 +13,7 @@ include/mpd/entity.h
 include/mpd/error.h
 include/mpd/idle.h
 include/mpd/list.h
+include/mpd/message.h
 include/mpd/mixer.h
 include/mpd/output.h
 include/mpd/pair.h

Reply via email to