diff options
Diffstat (limited to 'audio/amarok-kde4/files')
-rw-r--r-- | audio/amarok-kde4/files/patch-loader.cpp | 15 | ||||
-rw-r--r-- | audio/amarok-kde4/files/patch-playerapp.cpp | 22 | ||||
-rw-r--r-- | audio/amarok-kde4/files/patch-playlistloader.h | 12 |
3 files changed, 0 insertions, 49 deletions
diff --git a/audio/amarok-kde4/files/patch-loader.cpp b/audio/amarok-kde4/files/patch-loader.cpp deleted file mode 100644 index de86b33651aa..000000000000 --- a/audio/amarok-kde4/files/patch-loader.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- amarok/amarok/loader/loader.cpp.orig Fri Mar 5 22:15:11 2004 -+++ amarok/amarok/loader/loader.cpp Tue Mar 16 21:48:30 2004 -@@ -156,10 +156,11 @@ - path += "/.kde/share/apps/amarok/.loader_socket"; - ::strcpy( &local.sun_path[0], path ); - -- int len = ::strlen( local.sun_path ) + sizeof( local.sun_family ); -+ int len = sizeof( local ); - - if ( ::connect( fd, (struct sockaddr*) &local, len ) == -1 ) { - // qDebug( "[Loader::tryConnect()] connect() failed" ); -+ ::close ( fd ); - return -1; - } - diff --git a/audio/amarok-kde4/files/patch-playerapp.cpp b/audio/amarok-kde4/files/patch-playerapp.cpp deleted file mode 100644 index 09bbb3135cc7..000000000000 --- a/audio/amarok-kde4/files/patch-playerapp.cpp +++ /dev/null @@ -1,22 +0,0 @@ ---- amarok/amarok/playerapp.cpp.orig Fri Mar 5 22:15:10 2004 -+++ amarok/amarok/playerapp.cpp Tue Mar 16 21:51:00 2004 -@@ -298,14 +298,18 @@ - ::strcpy( &local.sun_path[0], path ); - ::unlink( path ); - -- int len = ::strlen( local.sun_path ) + sizeof( local.sun_family ); -+ int len = sizeof( local ); - - if ( ::bind( m_sockfd, (struct sockaddr*) &local, len ) == -1 ) { - kdWarning() << k_funcinfo << " bind() error\n"; -+ ::close ( m_sockfd ); -+ m_sockfd = -1; - return; - } - if ( ::listen( m_sockfd, 1 ) == -1 ) { - kdWarning() << k_funcinfo << " listen() error\n"; -+ ::close ( m_sockfd ); -+ m_sockfd = -1; - return; - } - diff --git a/audio/amarok-kde4/files/patch-playlistloader.h b/audio/amarok-kde4/files/patch-playlistloader.h deleted file mode 100644 index 83e21dda4f0d..000000000000 --- a/audio/amarok-kde4/files/patch-playlistloader.h +++ /dev/null @@ -1,12 +0,0 @@ ---- amarok/amarok/playlistloader.h.orig Fri Mar 5 22:15:11 2004 -+++ amarok/amarok/playlistloader.h Mon Mar 8 15:36:51 2004 -@@ -120,6 +120,9 @@ - private: - PlaylistLoader *m_thread; - }; -+ -+ friend class MakeItemEvent; -+ friend class DownloadPlaylistEvent; - }; - - #endif |