git: e60d179f814d - main - multimedia/dvbcut: Fix build with libmad 0.16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 09:04:53 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=e60d179f814d9cf3729772d96ade3523529017bc commit e60d179f814d9cf3729772d96ade3523529017bc Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-05-10 09:04:16 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-05-10 09:04:16 +0000 multimedia/dvbcut: Fix build with libmad 0.16 --- multimedia/dvbcut/Makefile | 2 +- multimedia/dvbcut/files/patch-src_dvbcut.pro | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile index 87a0c47549c5..cfb9b4277ecd 100644 --- a/multimedia/dvbcut/Makefile +++ b/multimedia/dvbcut/Makefile @@ -3,7 +3,7 @@ PORTNAME= dvbcut PORTVERSION= 0.7.3 DISTVERSIONPREFIX= v -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= multimedia MAINTAINER= se@FreeBSD.org diff --git a/multimedia/dvbcut/files/patch-src_dvbcut.pro b/multimedia/dvbcut/files/patch-src_dvbcut.pro new file mode 100644 index 000000000000..e5f2540f027a --- /dev/null +++ b/multimedia/dvbcut/files/patch-src_dvbcut.pro @@ -0,0 +1,14 @@ +--- src/dvbcut.pro.orig 2018-08-19 23:08:52 UTC ++++ src/dvbcut.pro +@@ -112,9 +112,9 @@ system(pkg-config --exists ao) { + PKGCONFIG += ao + } else { error(Please install development package libao-dev) } + +-system(pkg-config --exists mad) { ++system(pkg-config --exists libmad) { + QMAKE_CXXFLAGS += -DHAVE_LIB_MAD +- PKGCONFIG += mad ++ PKGCONFIG += libmad + } else { error(Please install development package libmad0-dev) } + + QMAKE_CXXFLAGS += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D_FILE_OFFSET_BITS=64