[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-solaris
Subject: [kde-solaris] kdemultimedia and kmix compile problem.
From: Mats Rojestal <mats.rojestal () bredband ! net>
Date: 2005-07-22 12:53:33
Message-ID: 42E0EC4D.1010006 () bredband ! net
[Download RAW message or body]
Hi,
I had problem compiling kmix/mixer_sun.cpp from svn
who chokes on a bad destructor.
The following patch fixes this problem.
--Mats R
Index: mixer_sun.cpp
===================================================================
--- mixer_sun.cpp (revision 437436)
+++ mixer_sun.cpp (working copy)
@@ -135,7 +135,7 @@
// FUNCTION : Mixer::Mixer
// DESCRIPTION : Class destructor.
//======================================================================
-Mixer_SUN::~Mixer_SUN(int devnum) : Mixer_Backend(devnum)
+Mixer_SUN::~Mixer_SUN()
{
close();
}
@@ -159,7 +159,7 @@
if(audiodev.isNull())
audiodev = "/dev/audio";
audiodev += "ctl";
- if ( ( fd = open( audiodev.data(), O_RDWR ) ) < 0 )
+ if ( ( fd = ::open( audiodev.data(), O_RDWR ) ) < 0 )
{
if ( errno == EACCES )
return Mixer::ERR_PERM;
___________________________________________________
This message is from the kde-solaris mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic