o add patch to hande error in amarok wrapper, that would prevent libvisual

plugins from working.

Obtained From:		amarok SVN
This commit is contained in:
Michael Landin 2005-10-17 15:38:35 +00:00
parent d70302b306
commit b3c8488eb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145664
2 changed files with 32 additions and 0 deletions

View File

@ -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;
};
};

View File

@ -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;
};
};