summaryrefslogtreecommitdiff
path: root/audio/liblastfm/files/patch-src_UrlBuilder.h
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2025-02-05 07:58:53 -0500
committerJason E. Hale <jhale@FreeBSD.org>2025-02-05 08:15:15 -0500
commita177c72d317eca8963cb632ebd25c0c20f06ce0f (patch)
tree6e9dccb2a85e091dac03eb1f6c1a1cbe319d789d /audio/liblastfm/files/patch-src_UrlBuilder.h
parentaudio/picard-plugins: Update to snapshot from 2024-11-13 (diff)
audio/liblastfm-qt5: Rename and only support Qt6
Move port origin to audio/liblastfm and only support Qt6. Qt5 support is not required by anything currently in the ports tree. Switch to active fork and update to latest commit. Convert TEST option to the cmake testing framework.
Diffstat (limited to 'audio/liblastfm/files/patch-src_UrlBuilder.h')
-rw-r--r--audio/liblastfm/files/patch-src_UrlBuilder.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/liblastfm/files/patch-src_UrlBuilder.h b/audio/liblastfm/files/patch-src_UrlBuilder.h
new file mode 100644
index 000000000000..32fd3cfdd8a6
--- /dev/null
+++ b/audio/liblastfm/files/patch-src_UrlBuilder.h
@@ -0,0 +1,16 @@
+Mark mobilize() as deprecated. It doesn't do anything useful.
+
+--- src/UrlBuilder.h.orig 2024-11-24 17:34:23 UTC
++++ src/UrlBuilder.h
+@@ -46,8 +46,9 @@ namespace lastfm
+
+ /** www.last.fm becomes the local version, eg www.lastfm.de */
+ static QUrl localize( QUrl );
+- /** www.last.fm becomes m.last.fm, localisation is preserved */
+- static QUrl mobilize( QUrl );
++ /** DEPRECATED: Returns url as-is since the mobile website 301
++ * redirects to the main website */
++ Q_DECL_DEPRECATED static QUrl mobilize( QUrl );
+
+ /** Use this to URL encode any database item (artist, track, album). It
+ * internally calls UrlEncodeSpecialChars to double encode some special