From b3c8488eb7daf7a654c42eb928ecbf818067120f Mon Sep 17 00:00:00 2001 From: Michael Landin Date: Mon, 17 Oct 2005 15:38:35 +0000 Subject: [PATCH] o add patch to hande error in amarok wrapper, that would prevent libvisual plugins from working. Obtained From: amarok SVN --- .../files/patch-amarok_src_socketserver.cpp | 16 ++++++++++++++++ .../files/patch-amarok_src_socketserver.cpp | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 audio/amarok-kde4/files/patch-amarok_src_socketserver.cpp create mode 100644 audio/amarok/files/patch-amarok_src_socketserver.cpp diff --git a/audio/amarok-kde4/files/patch-amarok_src_socketserver.cpp b/audio/amarok-kde4/files/patch-amarok_src_socketserver.cpp new file mode 100644 index 000000000000..9479eb3342b8 --- /dev/null +++ b/audio/amarok-kde4/files/patch-amarok_src_socketserver.cpp @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- amarok/src/socketserver.cpp.orig ++++ amarok/src/socketserver.cpp +@@ -47,8 +47,9 @@ + class AmaroKProcess : public KProcess { + public: + virtual int commSetupDoneC() { ++ int i = KProcess::commSetupDoneC(); + amaroK::closeOpenFiles(KProcess::out[0],KProcess::in[0], KProcess::err[0]); +- return KProcess::commSetupDoneC(); ++ return i; + }; + }; + diff --git a/audio/amarok/files/patch-amarok_src_socketserver.cpp b/audio/amarok/files/patch-amarok_src_socketserver.cpp new file mode 100644 index 000000000000..9479eb3342b8 --- /dev/null +++ b/audio/amarok/files/patch-amarok_src_socketserver.cpp @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- amarok/src/socketserver.cpp.orig ++++ amarok/src/socketserver.cpp +@@ -47,8 +47,9 @@ + class AmaroKProcess : public KProcess { + public: + virtual int commSetupDoneC() { ++ int i = KProcess::commSetupDoneC(); + amaroK::closeOpenFiles(KProcess::out[0],KProcess::in[0], KProcess::err[0]); +- return KProcess::commSetupDoneC(); ++ return i; + }; + }; +