libmpd: dropped unmaintained port

This commit is contained in:
Tim Biermann 2021-06-16 08:46:18 +00:00
parent f5f3eb1a83
commit 6686bd616f
6 changed files with 0 additions and 118 deletions

View File

@ -1,22 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libmpd-1.0/
drwxr-xr-x root/root usr/include/libmpd-1.0/libmpd/
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/debug_printf.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-database.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-internal.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-player.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-playlist.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-status.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-sticker.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-strfsong.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd-version.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpd.h
-rw-r--r-- root/root usr/include/libmpd-1.0/libmpd/libmpdclient.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libmpd.la
lrwxrwxrwx root/root usr/lib/libmpd.so -> libmpd.so.1.3.0
lrwxrwxrwx root/root usr/lib/libmpd.so.1 -> libmpd.so.1.3.0
-rwxr-xr-x root/root usr/lib/libmpd.so.1.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libmpd.pc

View File

@ -1,8 +0,0 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/QNoNIWK83pZQN8gl6e8YChth4m3wFUQhCQALAU7rngtW8HApnUG7o/ftNZlfl60ncKpudHJfNiYGFZ1OdNbxAw=
SHA256 (Pkgfile) = 2284f904bac5acf32c55c5aeec486f14a27241473ec8410cfd990a64da325eb1
SHA256 (.footprint) = 601439144b68da1dde7ffeaba9656cac5c35c9947407f1f8fd8fd553baa99ee3
SHA256 (libmpd-11.8.17.tar.gz) = fe20326b0d10641f71c4673fae637bf9222a96e1712f71f170fca2fc34bf7a83
SHA256 (0001-fix-return-value.patch) = d8f93df567479bca89df17ebbe5db103ce36da01d5574d24184679659b731b97
SHA256 (0002-include-config.h.patch) = 8f87b7cf45bd57d2d7c7c59f66b60b6c49bebff910dcf0716b82d18905c0846b
SHA256 (0003-fix-comparison.patch) = f36b2a5bd9e0794a2945b840ac15ad72253874ede4d655282b978598b7a94662

View File

@ -1,21 +0,0 @@
From 91001f43970e3faa0a97ccc3fced03b86be47d27 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Wed, 19 Jul 2017 14:22:48 +0200
Subject: [PATCH 1/3] fix return makes integer from pointer without a cast
---
src/libmpd-playlist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libmpd-playlist.c b/src/libmpd-playlist.c
index c3c30ec..64c64ea 100644
--- a/src/libmpd-playlist.c
+++ b/src/libmpd-playlist.c
@@ -780,7 +780,7 @@ int mpd_playlist_load(MpdObj *mi, const char *path)
if(mpd_lock_conn(mi))
{
debug_printf(DEBUG_ERROR,"lock failed\n");
- return NULL;
+ return MPD_LOCK_FAILED;
}
mpd_sendLoadCommand(mi->connection,path);
mpd_finishCommand(mi->connection);

View File

@ -1,20 +0,0 @@
From fba7e03c4466f54424a196f646f865909ceb5fc2 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Wed, 19 Jul 2017 14:38:43 +0200
Subject: [PATCH 2/3] include config.h
---
src/libmpd-strfsong.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libmpd-strfsong.c b/src/libmpd-strfsong.c
index 7d47bed..76fa3ff 100644
--- a/src/libmpd-strfsong.c
+++ b/src/libmpd-strfsong.c
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <string.h>
#include <glib.h>
+#include <config.h>
#include "libmpd.h"
#include "libmpd-internal.h"

View File

@ -1,21 +0,0 @@
From f33d4946c9349909d6ddc816d3c7eb81dd342b57 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Wed, 19 Jul 2017 14:40:00 +0200
Subject: [PATCH 3/3] fix comparison between pointer and zero character constant
---
src/libmpd-database.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libmpd-database.c b/src/libmpd-database.c
index 2480d5e..edafc0a 100644
--- a/src/libmpd-database.c
+++ b/src/libmpd-database.c
@@ -961,7 +961,7 @@ MpdData * mpd_database_get_directory_recursive(MpdObj *mi, const char *path)
debug_printf(DEBUG_WARNING,"not connected\n");
return NULL;
}
- if(path == '\0' || path[0] == '\0')
+ if(path == NULL || path[0] == '\0')
{
debug_printf(DEBUG_ERROR, "argumant invalid\n");
return NULL;

View File

@ -1,26 +0,0 @@
# Description: Callback based interface to MPD
# URL: https://sarine.nl/libmpd
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Depends on: glib
name=libmpd
version=11.8.17
release=2
source=(http://download.sarine.nl/Programs/gmpc/${version%.*}/$name-$version.tar.gz
0001-fix-return-value.patch
0002-include-config.h.patch
0003-fix-comparison.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/0001-fix-return-value.patch
patch -p1 -i $SRC/0002-include-config.h.patch
patch -p1 -i $SRC/0003-fix-comparison.patch
./configure --prefix=/usr \
--disable-static
make
make DESTDIR=$PKG install
}