From nobody Sun Feb 19 14:00:57 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PKRzG1RVVz3rBbf; Sun, 19 Feb 2023 14:00:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKRzG0zTbz4Y8p; Sun, 19 Feb 2023 14:00:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676815258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1j+M+oLOfm9TgOHkdIwm2zeLHU1RQkyPeRa+Hp03vN8=; b=s0q7zAsfCFQPHvaxyyc29hlXmyrmGyUnjc3HvsxWNMt24Ep0iuBIsYGYv6M4Bd5eX9j8eF wM/ufz5xmkbMQ9hgovqvheDuRU6ngb8MYlpI5i+09s8oNqkDiIuwtUi+6O7EFj6OaoNHAt iSx2fwquq66KPvz6FBJ0V7IMF0iynNmAd/LeIiZNBrrf60J08Ve0b3o+VK7nkZk/PBo65o 2ZcCtekX2pI6JcQbaL7O38A7ips3CNaSHwkiL9TWrE9NMZqLtWnWJwsbgBKwV2c2bqVf/6 yluroefNq3kRkxDqrc+MRn9MohB/+ts5fJT00yC6OSimSPRzg6WD77f/LAVIOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676815258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1j+M+oLOfm9TgOHkdIwm2zeLHU1RQkyPeRa+Hp03vN8=; b=jwAmBBssAp4YF97V7q14bCurzrUBtrQckNATJKeyExVHFANAub/qWqsva/iRhTm6RjaadY ZpgraNO5WmSzf1yfKuPmVHFtjSSwNyyeJToqjXehU6HXnfRx9soHZuBuglGB2hfZ0zWMFs H4M/63NmB3ANOkfAv0jMToiPwXi9bBKBUsBQY6pKBlOifxSi+mziJF1ZVriovxhyytlOsN K3dj36UFD/GV0uvyliidQtS8hG+avu1hHm5nAEOyR3DIa+5UM5ixN+sx0jT6DKPVtzn00U HPwdtmhWfA20cLAaepIrj/6EdJgS9710vjBrkeqbAsSVDqdKIuVe5a2Yi21F4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676815258; a=rsa-sha256; cv=none; b=QOgIAT56GbeULKOQ2gt9lgn1yx2Prtx6Ew+for8LoqaZm84p2FFE2cb1/8xDy9kj2rVCQG 8842jA9jd/3UAsZWWU+2tZC2zBf2rTwgBOlU+/cK/3sjUwPPssiB6WIgw0Mf9lcGstgtny HHEbdPCZVPKvVIglvdDYDdrgcrSOcwP/IfSFY0nHsSE1a1NSgO6mDAImCtRwVkzdq6lRBw 8IeKYq5iNHXqSBGyz1gmFQ2IYviF2dr5fQ/yvbdBaZx4FvwwAH6ll1HpPtnsr+X4eDrPLt xrAguk16iiAbzp61EpLsSfS671NOQsiI3iHhyfrNWpBkET9EiOWbDlRPlKCcTw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PKRzG0381z14b5; Sun, 19 Feb 2023 14:00:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31JE0vGK005541; Sun, 19 Feb 2023 14:00:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31JE0vAd005540; Sun, 19 Feb 2023 14:00:57 GMT (envelope-from git) Date: Sun, 19 Feb 2023 14:00:57 GMT Message-Id: <202302191400.31JE0vAd005540@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: bfa40b5bbf3c - main - audio/libmpd: actually fix the bug in code instead of masking it List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bfa40b5bbf3c3299e0337ca9b736635bbdbdc295 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=bfa40b5bbf3c3299e0337ca9b736635bbdbdc295 commit bfa40b5bbf3c3299e0337ca9b736635bbdbdc295 Author: Dima Panov AuthorDate: 2023-02-19 14:00:03 +0000 Commit: Dima Panov CommitDate: 2023-02-19 14:00:03 +0000 audio/libmpd: actually fix the bug in code instead of masking it --- audio/libmpd/Makefile | 2 -- audio/libmpd/files/patch-src_libmpd-playlist.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/audio/libmpd/Makefile b/audio/libmpd/Makefile index 2c742eeb51b0..beaf17f02035 100644 --- a/audio/libmpd/Makefile +++ b/audio/libmpd/Makefile @@ -16,8 +16,6 @@ USE_GNOME= glib20 GNU_CONFIGURE= yes USE_LDCONFIG= yes -CFLAGS+= -Wno-error=int-conversion - post-patch: @${REINPLACE_CMD} -e 's,libmpd-1.0\/libmpd,libmpd,' \ ${WRKSRC}/src/Makefile.in diff --git a/audio/libmpd/files/patch-src_libmpd-playlist.c b/audio/libmpd/files/patch-src_libmpd-playlist.c new file mode 100644 index 000000000000..fb0c79fe88cf --- /dev/null +++ b/audio/libmpd/files/patch-src_libmpd-playlist.c @@ -0,0 +1,11 @@ +--- src/libmpd-playlist.c.orig 2011-08-17 12:31:47 UTC ++++ 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 0; + } + mpd_sendLoadCommand(mi->connection,path); + mpd_finishCommand(mi->connection);