From owner-freebsd-ports@FreeBSD.ORG Tue Dec 10 04:18:21 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52A9037B for ; Tue, 10 Dec 2013 04:18:21 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0C91A1FE4 for ; Tue, 10 Dec 2013 04:18:20 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id uz6so4749221obc.6 for ; Mon, 09 Dec 2013 20:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yz9V3nDKq/6a0RkwLjl8P+MP9m+Jl1rYZx8Zwwwelpc=; b=EWMVw4Dkp11nw8j/bw0SixNMpF+VwIT5wBjnZd6Dm8CtDYmXM7nT9p6qo7B+CHBGkD CoJUeX7KUhd44Y3cplxAbtebCQv4dJz3HNh3Vz2W9JsSPQTVkRdYnmSDksUv3BcSpXr2 BlXuiPVG4vWAfZz5y5juWV8NMakFCRzQWGjYO/6vvwilotZg1qBomIj5vH74TN+PCpUO aayFJJ30wl3TMqo/bAogVD8racCQuRHUynk5vHtm8EZpblmlL4lOVCXS+zkUhnkxtAkW ZAycScpZhVbp0tV/+9dU4BmGmibrF31kD/n4JshLl1v4NmZiAZpxDtwA/PBoV6MrgxRG ErDQ== MIME-Version: 1.0 X-Received: by 10.182.158.71 with SMTP id ws7mr15322248obb.6.1386649100000; Mon, 09 Dec 2013 20:18:20 -0800 (PST) Received: by 10.182.78.100 with HTTP; Mon, 9 Dec 2013 20:18:19 -0800 (PST) In-Reply-To: References: Date: Mon, 9 Dec 2013 23:18:19 -0500 Message-ID: Subject: Fwd: Error using CMake similar to error from earlier list post From: Joe Nosay To: ports Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 04:18:21 -0000 ---------- Forwarded message ---------- From: Joe Nosay Date: Sun, Dec 8, 2013 at 6:38 PM Subject: Re: Error using CMake similar to error from earlier list post To: kde-freebsd On Sat, Dec 7, 2013 at 3:45 PM, Joe Nosay wrote: > > > > On Fri, Dec 6, 2013 at 7:50 PM, Joe Nosay wrote: > >> https://www.mail-archive.com/kde-freebsd@kde.org/msg15778.html >> >> Is there a similar fix for this? >> >> Thanks. >> >> > > > Now would > " > > +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 > + #include > + } > + #endif" > > > Be the appropriate fix for > > > /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, ¶m) != 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, ¶m) != 0) { > > > I need to write a patch and then apply it to the script in question. 1. Will I need to add the patch to each part that is listed? 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. The errors seems to be the same CLang type as the others. Included is the file which was modified according to the patch from the hyperlink stated earlier in this thread.