<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 9, 2013 at 11:18 PM, Joe Nosay <span dir="ltr"><<a href="mailto:superbisquit@gmail.com" target="_blank">superbisquit@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div class="h5"><div><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Joe Nosay</b> <span dir="ltr"><<a href="mailto:superbisquit@gmail.com" target="_blank">superbisquit@gmail.com</a>></span><br>
Date: Sun, Dec 8, 2013 at 6:38 PM<br>Subject: Re: Error using CMake similar to error from earlier list post<br>To: kde-freebsd <<a href="mailto:kde-freebsd@kde.org" target="_blank">kde-freebsd@kde.org</a>><br><br><br>
<div dir="ltr">
<div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 7, 2013 at 3:45 PM, Joe Nosay <span dir="ltr"><<a href="mailto:superbisquit@gmail.com" target="_blank">superbisquit@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 7:50 PM, Joe Nosay <span dir="ltr"><<a href="mailto:superbisquit@gmail.com" target="_blank">superbisquit@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><a href="https://www.mail-archive.com/kde-freebsd@kde.org/msg15778.html" target="_blank">https://www.mail-archive.com/kde-freebsd@kde.org/msg15778.html</a><br>



<br></div>Is there a similar fix for this?<br><br>
</div>Thanks.<br></div><br></div>
</blockquote></div><br><br><br></div></div></div><div class="gmail_extra">Now would <br>"<br><pre>+Build fix for clang.
 +
 +  error: use of undeclared identifier 'pthread_mutex_lock'
 +  error: use of undeclared identifier 'pthread_mutex_unlock'
 +  error: use of undeclared identifier 'pthread_self'
 +  error: use of undeclared identifier 'pthread_mutex_init'
 +  error: use of undeclared identifier 'pthread_mutex_destroy'
 +
 +--- kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc.orig 
2013-11-04 01:20:09.000000000 +0200
 ++++ kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc      
2013-11-04 01:20:20.000000000 +0200
 +@@ -29,6 +29,7 @@
 + 
 + #ifdef POSIX
 + extern "C" {
 ++#include <pthread.h>
 + #include <unistd.h>
 + }
 + #endif"<br><br><br></pre><pre>Be the appropriate fix for<br><br><br>/usr/home/raspycat/traverso/work/traverso-0.49.2/src/engine/AudioDeviceThread.cpp:58:30: error: use of undeclared identifier 'pthread_self'
                if (pthread_setschedparam (pthread_self(), SCHED_FIFO, &param) != 0) {}
                                           ^
/usr/home/raspycat/traverso/work/traverso-0.49.2/src/engine/AudioDeviceThread.cpp:131:30: error: use of undeclared identifier 'pthread_self'
                if (pthread_setschedparam (pthread_self(), SCHED_FIFO, &param) != 0) {
                   </pre></div></div>
</blockquote></div><br><br></div></div></div><div class="gmail_extra">I need to write a patch and then apply it to the script in question.<br></div><div class="gmail_extra">1. Will I need to add the patch to each part that is listed?<br>


<br><br></div></div>
</div><br><br><br><br><br><br></div></div></div>Since it is suggested to build an application natively - or at least try to - on FreeBSD before making a port, I am trying to do such.<br><br></div>The errors seems to be the same CLang type as the others.<br>

</div>Included is the file which was  modified according to the patch from the hyperlink stated earlier in this thread.<br><br><br><br><br></div>
</blockquote></div><br><br><br></div><div class="gmail_extra">Since this a CLang problem which has occurred and will occur in software with the same or similar type of instructions, it may be of use to make a patch for all qtX software and others with the same problem.<br>
<br><br></div><div class="gmail_extra">Me "Did I do the patch right?"<br></div><div class="gmail_extra">KDE FreeBSD "Did you hear something?"<br></div><div class="gmail_extra">Ports FreeBSD "Nope, not at all."<br>
<br></div><div class="gmail_extra">GCC patchiness popping up here and there. I can see it and so can others.<br><br></div><div class="gmail_extra">KDE FreeBSD "What was that?"<br></div><div class="gmail_extra">Ports FreeBSD "Nothing, nothing at all."<br>
<br></div><div class="gmail_extra">These problems also show up on Debian and other systems transitioning to CLang for the compiler. Errors of the same type happen on software not in ports or natively part of kde3/4.<br><br>
</div><div class="gmail_extra">KDE FreeBSD " There goes that noise again."<br></div><div class="gmail_extra">Ports FreeBSD "Just ignore it."<br><br><br><br></div></div>