git: 7d30ecf443fb - main - audio/py-aubio: Fix build with Clang >= 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jun 2023 21:05:59 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7d30ecf443fb98ff417283fda4c3d820dc3ea0fb
commit 7d30ecf443fb98ff417283fda4c3d820dc3ea0fb
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-06-25 20:52:48 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-06-25 21:05:52 +0000
audio/py-aubio: Fix build with Clang >= 16
python/ext/ufuncs.c:48:3: error: incompatible function pointer types
initializing 'PyUFuncGenericFunction'
Const qualifiers were added to the dimension and strides arguments of
PyUFuncGenericFunction in NumPy 1.19.0 [1]. This was previously a
warning, but Clang 16 has -Werror=incompatible-function-pointer-types
turned on by default.
[1] https://github.com/numpy/numpy/commit/e94cec800304a6a467cf90ce4e7d3e207770b4b4
Reported by: pkg-fallout
---
audio/aubio/Makefile | 1 +
audio/aubio/distinfo | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/audio/aubio/Makefile b/audio/aubio/Makefile
index e6d51bf55e9a..4e4e3e5a6a21 100644
--- a/audio/aubio/Makefile
+++ b/audio/aubio/Makefile
@@ -7,6 +7,7 @@ MASTER_SITES= https://aubio.org/pub/
PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/
PATCHFILES+= cdfe9cef2dcc3edf7d05ca2e9c2dbbf8dea21f1c.patch:-p1 #FFmpeg 6.x compat
PATCHFILES+= 8a05420e5dd8c7b8b2447f82dc919765876511b3.patch:-p1 #FFmpeg 6.x compat
+PATCHFILES+= 95ff046c698156f21e2ca0d1d8a02c23ab76969f.patch:-p1 #Add const qualifiers for NumPy >= 1.19.0
MAINTAINER?= jhale@FreeBSD.org
COMMENT?= Library for audio labelling
diff --git a/audio/aubio/distinfo b/audio/aubio/distinfo
index ab4cfbdaf95b..1a442677ac71 100644
--- a/audio/aubio/distinfo
+++ b/audio/aubio/distinfo
@@ -1,7 +1,9 @@
-TIMESTAMP = 1678741487
+TIMESTAMP = 1687726308
SHA256 (aubio-0.4.9.tar.bz2) = d48282ae4dab83b3dc94c16cf011bcb63835c1c02b515490e1883049c3d1f3da
SIZE (aubio-0.4.9.tar.bz2) = 397604
SHA256 (cdfe9cef2dcc3edf7d05ca2e9c2dbbf8dea21f1c.patch) = 025b6d0668601a17ce8312ad4930d7ba99715b754191208347df46b9a07b0a91
SIZE (cdfe9cef2dcc3edf7d05ca2e9c2dbbf8dea21f1c.patch) = 4743
SHA256 (8a05420e5dd8c7b8b2447f82dc919765876511b3.patch) = 33b730d1aa0562d5cb96341fce268acb8a42a0381e9dcd52caef0fc2737b8ad0
SIZE (8a05420e5dd8c7b8b2447f82dc919765876511b3.patch) = 729
+SHA256 (95ff046c698156f21e2ca0d1d8a02c23ab76969f.patch) = 4f7a7f59b58fc2b4fc80378966455b7f7b3bea508f2e46c88b6521c084cbe9e4
+SIZE (95ff046c698156f21e2ca0d1d8a02c23ab76969f.patch) = 1264