From 6686bd616fe4aa2afe0bbf2e0933a1195fd1b67b Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Wed, 16 Jun 2021 08:46:18 +0000 Subject: [PATCH] libmpd: dropped unmaintained port --- libmpd/.footprint | 22 ---------------------- libmpd/.signature | 8 -------- libmpd/0001-fix-return-value.patch | 21 --------------------- libmpd/0002-include-config.h.patch | 20 -------------------- libmpd/0003-fix-comparison.patch | 21 --------------------- libmpd/Pkgfile | 26 -------------------------- 6 files changed, 118 deletions(-) delete mode 100644 libmpd/.footprint delete mode 100644 libmpd/.signature delete mode 100644 libmpd/0001-fix-return-value.patch delete mode 100644 libmpd/0002-include-config.h.patch delete mode 100644 libmpd/0003-fix-comparison.patch delete mode 100644 libmpd/Pkgfile diff --git a/libmpd/.footprint b/libmpd/.footprint deleted file mode 100644 index ba58ac4ad..000000000 --- a/libmpd/.footprint +++ /dev/null @@ -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 diff --git a/libmpd/.signature b/libmpd/.signature deleted file mode 100644 index 8c97bb533..000000000 --- a/libmpd/.signature +++ /dev/null @@ -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 diff --git a/libmpd/0001-fix-return-value.patch b/libmpd/0001-fix-return-value.patch deleted file mode 100644 index b6c48cc88..000000000 --- a/libmpd/0001-fix-return-value.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 91001f43970e3faa0a97ccc3fced03b86be47d27 Mon Sep 17 00:00:00 2001 -From: Christian Hesse -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); diff --git a/libmpd/0002-include-config.h.patch b/libmpd/0002-include-config.h.patch deleted file mode 100644 index 0d00a8929..000000000 --- a/libmpd/0002-include-config.h.patch +++ /dev/null @@ -1,20 +0,0 @@ -From fba7e03c4466f54424a196f646f865909ceb5fc2 Mon Sep 17 00:00:00 2001 -From: Christian Hesse -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 - #include - #include -+#include - #include "libmpd.h" - #include "libmpd-internal.h" - diff --git a/libmpd/0003-fix-comparison.patch b/libmpd/0003-fix-comparison.patch deleted file mode 100644 index 3472cb521..000000000 --- a/libmpd/0003-fix-comparison.patch +++ /dev/null @@ -1,21 +0,0 @@ -From f33d4946c9349909d6ddc816d3c7eb81dd342b57 Mon Sep 17 00:00:00 2001 -From: Christian Hesse -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; diff --git a/libmpd/Pkgfile b/libmpd/Pkgfile deleted file mode 100644 index c2d13b0eb..000000000 --- a/libmpd/Pkgfile +++ /dev/null @@ -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 -}