Garbage collect patches/patch-src_playerlistener_cpp: it works fine

now that we have rthreads.

While here, fix WANTLIB.
This commit is contained in:
dcoppa 2012-04-12 09:15:40 +00:00
parent fa74f05d16
commit 5620040242
2 changed files with 6 additions and 37 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.14 2011/10/18 12:17:26 dcoppa Exp $
# $OpenBSD: Makefile,v 1.15 2012/04/12 09:15:40 dcoppa Exp $
COMMENT = official Last.fm client
VER = 1.5.4.27091
DISTNAME = lastfm-${VER}+dfsg
PKGNAME = last.fm-${VER}
REVISION = 5
REVISION = 6
SHARED_ONLY = Yes
@ -27,9 +27,10 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += X11 c m pthread sndio stdc++ z
WANTLIB += QtGui>=8 QtNetwork>=7 QtSql>=7
WANTLIB += QtXml>=7 gpod>=700 mad portaudio
WANTLIB = ICE QtGui>=8 QtNetwork>=7 QtSql>=7 \
QtXml>=7 SM X11 Xext Xi Xinerama Xrender \
c fontconfig freetype gpod>=700 m mad \
portaudio pthread sndio stdc++ z
MODULES = x11/qt4

View File

@ -1,32 +0,0 @@
$OpenBSD: patch-src_playerlistener_cpp,v 1.2 2011/03/30 14:00:48 dcoppa Exp $
--- src/playerlistener.cpp.orig Mon Mar 28 15:20:33 2011
+++ src/playerlistener.cpp Mon Mar 28 15:20:36 2011
@@ -119,6 +119,7 @@ CPlayerListener::run()
void
CPlayerListener::RunListener()
{
+#if 0
try
{
OpenSocket();
@@ -131,9 +132,11 @@ CPlayerListener::RunListener()
LOGL( 1, err );
throw NetworkException((err));
}
+#endif
- mbRunning = true;
+ mbRunning = false;
+#if 0
while (mbKeepGoing)
{
QString sClientIP;
@@ -203,6 +206,7 @@ CPlayerListener::RunListener()
#ifdef WIN32
WSACleanup();
#endif
+#endif
}