From owner-freebsd-ports@FreeBSD.ORG Wed Mar 5 11:50:39 2014 Return-Path: Delivered-To: freebsd-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 501CE74B for ; Wed, 5 Mar 2014 11:50:39 +0000 (UTC) Received: from mail-ee0-x22f.google.com (mail-ee0-x22f.google.com [IPv6:2a00:1450:4013:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D759CD9B for ; Wed, 5 Mar 2014 11:50:38 +0000 (UTC) Received: by mail-ee0-f47.google.com with SMTP id b15so390142eek.6 for ; Wed, 05 Mar 2014 03:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=blpgOAXX3RHYdhAd6yZ5vv0/WZy99FSEpJS/EZPalYc=; b=vYA779Q/hj183BrBjJfvuwcPGhy8mpQAuJwu3rxFvvS6kbgze9tYlFHQhn24JS0dFb fLYVB3qQGbJyzFkaHGuIhjEoWF3K2BmVpKPRAQnFVkkdWtIRHRsN3YmDCUIfQ3sOf3E8 lEf4az1gapYABX7+FaGN2aS7q6kx53f6YMDhDytyqDrQLoN7ikkgodrgytzDvyA92roE Zat91+1tHaquRpSblpYryZbV2nXh6Y+XzejNoZsE3JE/bQy29rrhnuB8DMoYgfva/zj1 5ShkajqVJ9hcJ/NFsjZrMeQos7WSHhwK7cMz61dFeRlXs2FBGtF6Kvp6tNbRnmHM/AkU /fPg== X-Received: by 10.14.150.14 with SMTP id y14mr1040764eej.113.1394020237262; Wed, 05 Mar 2014 03:50:37 -0800 (PST) Received: from ?IPv6:2001:980:d7ed:1:4da:201:2028:7867? ([2001:980:d7ed:1:4da:201:2028:7867]) by mx.google.com with ESMTPSA id i47sm8029919eeg.6.2014.03.05.03.50.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Mar 2014 03:50:36 -0800 (PST) Message-ID: <53170F8B.8080303@gmail.com> Date: Wed, 05 Mar 2014 12:50:35 +0100 From: =?ISO-8859-1?Q?Ren=E9_Ladan?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: George Mitchell Subject: Re: Adventures in ports, chapter 346785 References: <5315B8FF.5020907@m5p.com> <531673AB.7000807@m5p.com> <5316E0A1.2020406@gmail.com> <53170768.1060504@m5p.com> In-Reply-To: <53170768.1060504@m5p.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd ports 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: Wed, 05 Mar 2014 11:50:39 -0000 On 03/05/2014 12:15, George Mitchell wrote: > On 03/05/14 03:30, René Ladan wrote: >> On 03/05/2014 01:45, George Mitchell wrote: >>> On 03/04/14 13:28, René Ladan wrote: >>>> 2014-03-04 12:29 GMT+01:00 George Mitchell >>> >: >>>> >>>> Couldn't compile chromium without attached patch on FreeBSD 8.4. >>>> >>>> >>>> I committed a slightly different version of your patch in r347055, can >>>> you retry? >>>> >>>> René >>>> >>> Thanks for your help, but this doesn't seem to fix the compile errors >>> in content/browser/browser_shutdown_profile_dumper.cc, >>> testing/perf/perf_test.cc, or ui/gfx/codec/jpeg_codec.cc that were >>> caused by the absence or misordering of stdio.h. -- George >>> >> Hmm, I did add the patch for >> content/browser/browser_shutdown_profile_dumper.cc as a conditional >> patch when using GCC (i.e. in files/extra-patch-gcc). > > You are right, I didn't get the FILE error in that file. Sorry for > typing my reply too quickly. > No problem. Does it work now? >> I indeed forgot to add the other two patches which I added to >> files/extra-patch-gcc too (having to place stdio.h before .h >> looks fishy, but that's another story). >> >>> From what I see on my virtual 8.4 box, chromium should choose GCC 4.7+ >> as compiler (and clang on 10.0). >> >> To be really sure, what is the output of 'make -V CHOSEN_COMPILER_TYPE' >> on your box? >> >> René >> > > sullivan.m5p.com.1) uname -a > FreeBSD sullivan.m5p.com 8.4-STABLE FreeBSD 8.4-STABLE #0 r254883: Sun > Aug 25 15:52:19 EDT 2013 > george@sullivan.m5p.com:/usr/obj/usr/src/sys/M5P amd64 > sullivan.m5p.com.2) make -V CHOSEN_COMPILER_TYPE > Uhm, nothing ... I should have said to run this in /usr/ports/www/chromium ... > sullivan.m5p.com.3) cat /etc/src.conf > cat: /etc/src.conf: No such file or directory > sullivan.m5p.com.4) cat /etc/make.conf > WITH_PKGNG=yes > DISABLE_VULNERABILITIES=yes > WITH_NEW_XORG=yes René