From owner-freebsd-current Wed Oct 9 16:15:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0DD437B401 for ; Wed, 9 Oct 2002 16:15:08 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94AA743E42 for ; Wed, 9 Oct 2002 16:15:08 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0210.cvx21-bradley.dialup.earthlink.net ([209.179.192.210] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17zQ2k-0003wh-00; Wed, 09 Oct 2002 16:15:06 -0700 Message-ID: <3DA4B829.62EAB7D0@mindspring.com> Date: Wed, 09 Oct 2002 16:13:45 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: The Gupta Age Cc: freebsd-current@freebsd.org Subject: Re: KDE 3.0 broken in current?? References: <20021009063738.J33703-100000@kashmir.etowns.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Gupta Age wrote: > Hi, > I was trying to compile kde3 on a recent current. When the compilation > reaches ksysguardd within ksysguard within kdebase3 it fails with the > following error: > > gmake[4]: Entering directory > `/usr/ports/x11/kdebase3/work/kdebase-3.0.3/ksysguard/ksysguardd/FreeBSD' > source='netdev.c' object='netdev.o' libtool=no \ > depfile='.deps/netdev.Po' tmpdepfile='.deps/netdev.TPo' \ > depmode=gcc3 /bin/sh ../../../admin/depcomp \ > cc -DHAVE_CONFIG_H -I. -I. -I../../.. -DKSYSGUARDDRCFILE="\"\"" > -I./../../CContLib -I./.. -pthread -DQT_THREAD_SUPPORT > -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include > -D_GETOPT_H -D_THREAD_SAFE -Wall -c `test -f netdev.c || echo > './'`netdev.c > In file included from netdev.c:23: > /usr/include/sys/socket.h:170: syntax error before "u_char" KDE is broken; it's assuming promisucous headers. Workaround: mv netdev.c netdev.c.broken echo "#include " > netdev.c cat netdev.c.broken >> netdev.c Probably, this should be handled by sending a patch back to the KDE folks, whose servers were dead and being repaired yesterday. You could also make a port path that patched netdev.c, as an interim fix (include the header before including the header). Unfortunately, It still has not been 72 hours for the download, so I still do not have the KDE sources available locally. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message