git: d1384a17a4b1 - main - audio/libmpd: unbreak against clang 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Feb 2023 13:28:48 UTC
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d1384a17a4b16c50711943cf4907460a9bbaabd0
commit d1384a17a4b16c50711943cf4907460a9bbaabd0
Author: Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-02-19 13:19:22 +0000
Commit: Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-02-19 13:25:30 +0000
audio/libmpd: unbreak against clang 15
libmpd-playlist.c:783:10: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
return NULL;
^~~~
---
audio/libmpd/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/audio/libmpd/Makefile b/audio/libmpd/Makefile
index beaf17f02035..2c742eeb51b0 100644
--- a/audio/libmpd/Makefile
+++ b/audio/libmpd/Makefile
@@ -16,6 +16,8 @@ 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