From owner-freebsd-ports@FreeBSD.ORG Thu Feb 23 13:41:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B67C106564A for ; Thu, 23 Feb 2012 13:41:35 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id 7286A8FC15 for ; Thu, 23 Feb 2012 13:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=Y4v+PEpZzZZea+4hlcrHFvzZBt4aG1gwaksYlYP4XDE=; b=NuGKGAJd7b+PxixglYuRPJqUlxWDCPPDxQ/Mqjh0VYdU5qR3JDKGV/muXA/6jCAGNMLhUMWviEfUIHNubWCMUCYYxpSx+ft2PVoUi/MbIFXB3Flq9kzKrpTgrsO+5mj5I0cOMzUW4/L873xgLqxYmxNM8EIBQk6Edi6OEW8m1Nk=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm1.ukr.net with esmtpsa ID 1S0YvK-000F5C-Tp ; Thu, 23 Feb 2012 15:41:31 +0200 Date: Thu, 23 Feb 2012 15:41:29 +0200 From: Ivan Klymenko To: kron Message-ID: <20120223154129.142382f4@nonamehost.> In-Reply-To: <4F46110C.6060508@gmail.com> References: <4F46110C.6060508@gmail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/NpZBQlRuTC_rXJ5OUROjWY6" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ntarmos@cs.uoi.gr, freebsd-ports@freebsd.org Subject: Re: conky does not build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 13:41:35 -0000 --MP_/NpZBQlRuTC_rXJ5OUROjWY6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =D0=92 Thu, 23 Feb 2012 11:12:28 +0100 kron =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi, >=20 > conky does not build on 9-STABLE: >=20 > ... > cc -DHAVE_CONFIG_H -I.=20 > -DSYSTEM_CONFIG_FILE=3D\"/usr/local/etc/conky/conky.conf\"=20 > -DPACKAGE_LIBDIR=3D\"/usr/local/lib/conky\" -I/usr/local/include=20 > -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE=20 > -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -Wall -W=20 > -O2 -pipe -march=3Dnocona -fno-strict-aliasing -MT conky-freebsd.o -MD > -MP -MF .deps/conky-freebsd.Tpo -c -o conky-freebsd.o `test -f > 'freebsd.c' || echo './'`freebsd.c > freebsd.c:286:46: error: operator '<' has no left operand > freebsd.c: In function 'get_cpu_count': > freebsd.c:303: warning: unused variable 'cpu_count_len' > gmake[2]: *** [conky-freebsd.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/sysutils/conky/work/conky-1.8.1/src' gmake[1]: *** [all] > Error 2 gmake[1]: Leaving directory > `/usr/ports/sysutils/conky/work/conky-1.8.1/src' gmake: *** > [all-recursive] Error 1 *** Error code 1 >=20 > Stop in /usr/ports/sysutils/conky. > *** Error code 1 >=20 > Stop in /usr/ports/sysutils/conky. >=20 > There are other people with the same problem [1]. It seems > related to __FreeBSD_kernel__ (missing macro?). I didn't > go deeper (ENOTIME), maybe someone on the list knows more... >=20 > While speaking about conky I'd like mention another issue > - very low MAX_NET_INTERFACES value. When I run VirtualBox, > conky crashes due to increased number of network interfaces > on the host. What about the following patch? (I know it doesn't > cure the the cause... but yet does help a bit) >=20 > diff -Naur conky-1.8.1/configure conky-1.8.1-patched/configure > --- configure.orig > +++ configure > @@ -16102,7 +16102,7 @@ > $as_echo "#define DEFAULT_TEXT_BUFFER_SIZE 256" >>confdefs.h >=20 >=20 > -$as_echo "#define MAX_NET_INTERFACES 16" >>confdefs.h > +$as_echo "#define MAX_NET_INTERFACES 64" >>confdefs.h >=20 >=20 >=20 >=20 > (CC'd to MAINTAINER) >=20 > Best regards, > Oli sorry, not all patches are the ones that need to be sent --MP_/NpZBQlRuTC_rXJ5OUROjWY6--