mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Fix build issue on 11.x+
This commit is contained in:
parent
fab73a67cc
commit
c321226048
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456970
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= lastfm-desktop
|
||||
PORTVERSION= 2.1.36
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= vg@FreeBSD.org
|
||||
@ -43,10 +43,6 @@ VLC_RUN_DEPENDS= phonon-vlc>=0.6.1:multimedia/phonon-vlc
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1100000
|
||||
BROKEN= does not buld: Application.cpp:433:25: error: ordered comparison between pointer and zero ('void *' and 'int')
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/lastfm-desktop.sh ${STAGEDIR}${PREFIX}/bin/lastfm-desktop
|
||||
|
11
audio/lastfm-desktop/files/patch-app_client_Application.cpp
Normal file
11
audio/lastfm-desktop/files/patch-app_client_Application.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- app/client/Application.cpp.orig 2017-12-21 08:34:38 UTC
|
||||
+++ app/client/Application.cpp
|
||||
@@ -430,7 +430,7 @@ Application::showAs( bool showAs )
|
||||
void
|
||||
Application::setRaiseHotKey( Qt::KeyboardModifiers mods, int key )
|
||||
{
|
||||
- if( m_raiseHotKeyId >= 0 )
|
||||
+ if( m_raiseHotKeyId >= (void *)0 )
|
||||
unInstallHotKey( m_raiseHotKeyId );
|
||||
|
||||
m_raiseHotKeyId = installHotKey( mods, key, m_toggle_window_action, SLOT(trigger()));
|
Loading…
Reference in New Issue
Block a user