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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user