summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/py-pysndfile/Makefile2
-rw-r--r--audio/py-pysndfile/distinfo6
-rw-r--r--audio/py-pysndfile/files/patch-setup.py11
3 files changed, 15 insertions, 4 deletions
diff --git a/audio/py-pysndfile/Makefile b/audio/py-pysndfile/Makefile
index d8269680f16c..632511d1f2a2 100644
--- a/audio/py-pysndfile/Makefile
+++ b/audio/py-pysndfile/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pysndfile
-DISTVERSION= 1.4.6
+DISTVERSION= 1.4.7
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/audio/py-pysndfile/distinfo b/audio/py-pysndfile/distinfo
index b1fa570989b5..2e7d31f1c41a 100644
--- a/audio/py-pysndfile/distinfo
+++ b/audio/py-pysndfile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734311484
-SHA256 (pysndfile-1.4.6.tar.gz) = 2a5f5057c69e79ddaa4634d39f632ce40acf6a9ce1b84d346124c9b516412060
-SIZE (pysndfile-1.4.6.tar.gz) = 381428
+TIMESTAMP = 1736241073
+SHA256 (pysndfile-1.4.7.tar.gz) = 40845abd93d151d5236c0bbc568256c389c3f0b60e930f9b897781554bdbffdb
+SIZE (pysndfile-1.4.7.tar.gz) = 48439
diff --git a/audio/py-pysndfile/files/patch-setup.py b/audio/py-pysndfile/files/patch-setup.py
new file mode 100644
index 000000000000..29b0b4bc971a
--- /dev/null
+++ b/audio/py-pysndfile/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2025-01-07 09:16:36 UTC
++++ setup.py
+@@ -57,7 +57,7 @@ def find_libsndfile():
+ # only check for the mandatory main library, others are
+ # optional
+ found_lib = (tmp_lib_dir / "libsndfile.a").exists()
+- elif platform.system() == "Linux":
++ elif platform.system() == "Linux" or platform.system() == "FreeBSD":
+ found_lib = (tmp_lib_dir / "libsndfile.so").exists()
+ elif platform.system() == "Darwin":
+ found_lib = (tmp_lib_dir / "libsndfile.dylib").exists()