git: a750fa11b8dd - main - audio/liblastfm-qt5: Fix build with Clang >= 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 05:31:05 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a750fa11b8ddd360a38a1175683ba0a21b320eb7
commit a750fa11b8ddd360a38a1175683ba0a21b320eb7
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-06-26 05:26:51 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-06-26 05:30:56 +0000
audio/liblastfm-qt5: Fix build with Clang >= 16
In file included from /wrkdirs/usr/ports/audio/liblastfm-qt5/work/liblastfm-1.0.9-5-g4433165/src/fingerprint/Fingerprint.cpp:21:
/wrkdirs/usr/ports/audio/liblastfm-qt5/work/liblastfm-1.0.9-5-g4433165/src/fingerprint/Fingerprint.h:74:49: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec]
void generate( FingerprintableSource* ) throw( Error );
While here, pet portlint (1).
Reported by: pkg-fallout
---
audio/liblastfm-qt5/Makefile | 5 ++++-
audio/liblastfm-qt5/distinfo | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/audio/liblastfm-qt5/Makefile b/audio/liblastfm-qt5/Makefile
index f3bc29d1ce6f..7430665a75e5 100644
--- a/audio/liblastfm-qt5/Makefile
+++ b/audio/liblastfm-qt5/Makefile
@@ -1,10 +1,13 @@
PORTNAME= liblastfm
DISTVERSION= 1.0.9-5
-PORTREVISION= 3
DISTVERSIONSUFFIX= -g4433165
+PORTREVISION= 3
CATEGORIES= audio
PKGNAMESUFFIX= -qt5
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES+= d51ad3e759331d7d79c6675c5d22541280bf9a70.patch:-p1 #Remove dynamic exception specs
+
MAINTAINER= jhale@FreeBSD.org
COMMENT= Qt C++ library for the Last.fm webservices
WWW= https://github.com/lastfm/liblastfm
diff --git a/audio/liblastfm-qt5/distinfo b/audio/liblastfm-qt5/distinfo
index 439c17edb2ed..396dca196e9a 100644
--- a/audio/liblastfm-qt5/distinfo
+++ b/audio/liblastfm-qt5/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1524002793
+TIMESTAMP = 1687757062
SHA256 (lastfm-liblastfm-1.0.9-5-g4433165_GH0.tar.gz) = 8cf1835af3f38f0c7c576e8a01c2d19ee32c7006a44d2d183fb64ed228bc5ca6
SIZE (lastfm-liblastfm-1.0.9-5-g4433165_GH0.tar.gz) = 119427
+SHA256 (d51ad3e759331d7d79c6675c5d22541280bf9a70.patch) = a0c3454c57cc1b36cfc617d431bdcdff91adb3ead0c7ee0ec7c9b6c0211f601e
+SIZE (d51ad3e759331d7d79c6675c5d22541280bf9a70.patch) = 2220