From owner-freebsd-x11@FreeBSD.ORG Mon May 18 13:15:38 2015 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4DB0B50 for ; Mon, 18 May 2015 13:15:38 +0000 (UTC) Received: from slim.berklix.org (slim.berklix.org [94.185.90.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 616F916A2 for ; Mon, 18 May 2015 13:15:37 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBC548.dip0.t-ipconnect.de [93.203.197.72]) (authenticated bits=128) by slim.berklix.org (8.14.5/8.14.5) with ESMTP id t4IDGHxA040355; Mon, 18 May 2015 15:16:17 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id t4IDFDaJ073772; Mon, 18 May 2015 15:15:13 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id t4IDEnZa015867; Mon, 18 May 2015 15:15:02 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201505181315.t4IDEnZa015867@fire.js.berklix.net> To: "John D. Hendrickson" cc: x11@freebsd.org Subject: Re: ports/devel/gccmakedep From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 18 May 2015 08:59:02 -0400." <5559E216.8090602@cox.net> Date: Mon, 18 May 2015 15:14:49 +0200 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 13:15:39 -0000 Hi, Reference: > From: "John D. Hendrickson" > Date: Mon, 18 May 2015 08:59:02 -0400 "John D. Hendrickson" wrote: > Julian H. Stacey wrote: > > x11@freebsd.org is MAINTAINER= for this ... > > > > with current src & ports: > > /usr/ports/devel/gccmakedep cat ../../.ctm* > > ports-cur 10906 > > 11.0-CURRENT /dev/pts/6 jhs 11 lapr/usr/ports/devel/gccmakedep cat ../../.svn* > > 386470 > > 11.0-CURRENT /dev/pts/6 jhs 12 lapr/usr/ports/devel/gccmakedep > > > > cd /usr/ports/devel/gccmakedep ; make > > ===> Applying FreeBSD patches for gccmakedep-1.0.3 > > File to patch: ^D > > No file found--skip this patch? [n] y > > 1 out of 1 hunks ignored--saving rejects to Oops.rej > > => Patch patch-gccmdep.cpp failed to apply cleanly. > > > > It should not patch > > gccmdep.cpp > > but patch > > gccmakedep.in > > > > The patch content is also obsolete, there is no > > CC=CCCMD > > but is a > > CC="@CC@" > > > > I append a new patch file, which builds. > > BUT I have Not bothered to analyse what what CC is supposed to be doing, > > sufficient for me that it no longer breaks. > > Others should please review this. > > > > --------- > > *** gccmakedep.in.orig Wed May 21 20:20:00 2014 > > --- gccmakedep.in Mon May 18 13:49:16 2015 > > *************** > > *** 9,15 **** > > # > > > > TMP=mdep$$.tmp > > ! CC="@CC@" > > RM="rm -f" > > LN="ln" > > MV="mv" > > --- 9,16 ---- > > # > > > > TMP=mdep$$.tmp > > ! # CC="@CC@" > > ! CC=${CC:-CCCMD} > > RM="rm -f" > > LN="ln" > > MV="mv" > > -------- > > > > Cheers, > > Julian > > -- > > Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com > > Indent previous with "> ". Reply Below as a play script. > > Send plain text, Not quoted-printable, HTML, or base64. > > _______________________________________________ > > freebsd-x11@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > > > > i'm unhappy with a microsoft friendly win32 team hacking gcc etc > > after much preparation (gcc glibc etc compiling chain setup) and what i > thought was compiling on one host, i now get this when running on a new > LFS (linux from scratch): > > coreutils-8.5) > # configure message: > # cannot be used with this compiler > # a known problem of glibc <= 2.5 with gcc >= 4.3 in > > # ls.c: In function 'abmon_init': > # ls.c:1048: error: 'for' loop initial declarations are only allowed > in C99 mo > # ls.c:1048: note: use option -std=c99 or -std=gnu99 to compile your code > # i check for header damage: but no, headers are diff good > > The above had worked before i have no idea how: gnu89 is broken so is > gnu99 using gcc-4.4.5 (though 3.5 was on the system - i beleived it not > in use) > > they hacked ls(1) > > abmon_init(void) { > ... > /* int i; */ > for (int i=0; i<12; ++i) > > WHICH WAS THE ONLY thing holding up the build (other fixes aside) (until > install). i think it's absolutely criminal they take what works (ls.c) > and break it so there is not chance of it working without delay. > > i also had to do this (also set allot of environment and compile > options) to even start. > > [ ! -f coreutils-8.5/src/Makefile.in.old.old ] && { > cp coreutils-8.5/src/Makefile.in coreutils-8.5/src/Makefile.in.old.old > cat << EOF | ed -s > r coreutils-8.5/src/Makefile.in > /cu_install_program = ..ginstall/ > .,.s/ = .*/ = @INSTALL_PROGRAM@/ > w coreutils-8.5/src/Makefile.in > q > EOF > } > > i'm wishing to try BSD sometime - problem is time :) Sorry, but I see no relationship between what I wrote & what you replied. Maybe you meant to write to some other list on some othe subject ? Or was this troll bait ? I'm lost ! Cheers, Julian -- Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com Indent previous with "> ". Reply Below as a play script. Send plain text, Not quoted-printable, HTML, or base64.