aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2021-09-20 09:57:05 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2021-09-20 10:07:48 +0000
commit232ed872c5e412a2a492035c1b97befce1cb49f5 (patch)
treee66d0c4959b5056e181bb5e5c4f78c77ae8d2b22 /audio
parentfdc69aab7cc5316cb40a98ec0d8e5df4594df74b (diff)
downloadports-232ed872c5e412a2a492035c1b97befce1cb49f5.tar.gz
ports-232ed872c5e412a2a492035c1b97befce1cb49f5.zip
audio/libsndfile: apply upstream patch for ALSA
When ALSA is installed, some preprocessor-defines may have overlapping values. This patch was proposed (I think) in the PR mentioned, and then upstreamed. PR: 258362 Reported by: user WHR Obtained from: upstream repository Approved by: tcberner (multimedia@)
Diffstat (limited to 'audio')
-rw-r--r--audio/libsndfile/Makefile4
-rw-r--r--audio/libsndfile/distinfo4
2 files changed, 7 insertions, 1 deletions
diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile
index 95cf2fe40b87..e2396e620863 100644
--- a/audio/libsndfile/Makefile
+++ b/audio/libsndfile/Makefile
@@ -2,9 +2,13 @@
PORTNAME= libsndfile
DISTVERSION= 1.0.31
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
+PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/
+PATCHFILES= cc342f9e45315f9f3de12ae493bc6b3a2bd0a0b1.patch:-p1
+
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
diff --git a/audio/libsndfile/distinfo b/audio/libsndfile/distinfo
index 74794f1ef4cb..00e9b34e060c 100644
--- a/audio/libsndfile/distinfo
+++ b/audio/libsndfile/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1611780647
+TIMESTAMP = 1632130804
SHA256 (libsndfile-1.0.31.tar.bz2) = a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163
SIZE (libsndfile-1.0.31.tar.bz2) = 875335
+SHA256 (cc342f9e45315f9f3de12ae493bc6b3a2bd0a0b1.patch) = 51607b67698d0427ef03488c1486e40a0da61e91f6404fa876c1776b197b9c44
+SIZE (cc342f9e45315f9f3de12ae493bc6b3a2bd0a0b1.patch) = 793