From owner-freebsd-x11@FreeBSD.ORG Sat Feb 2 15:01:06 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 92CB0D5B; Sat, 2 Feb 2013 15:01:06 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 27714725; Sat, 2 Feb 2013 15:01:06 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 69DDB40002; Sat, 2 Feb 2013 16:01:04 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 5F1E840003; Sat, 2 Feb 2013 16:01:04 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id A66F440002; Sat, 2 Feb 2013 15:51:15 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3YyykJ6n26z8hVn; Sat, 2 Feb 2013 15:49:12 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id 5fUwNJqaFLdP; Sat, 2 Feb 2013 15:49:10 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 3YyykG1Xsmz8hVm; Sat, 2 Feb 2013 15:49:10 +0100 (CET) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3YyykG0q1rz9Ctj; Sat, 2 Feb 2013 15:49:08 +0100 (CET) Message-ID: <510D273C.9070907@freebsd.org> Date: Sat, 02 Feb 2013 15:48:28 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Tsurutani Naoki Subject: Re: ports/175776: patching x11-servers/xorg-server fails References: <510D0463.9030004@freebsd.org> <201302021252.AA00132@h115.65.228.10.32118.vlan.kuins.net> In-Reply-To: <201302021252.AA00132@h115.65.228.10.32118.vlan.kuins.net> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigC511B675071BD8BE0ED8CD37" X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-x11@freebsd.org, barbara.freebsd@gmail.com, bug-followup@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 15:01:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC511B675071BD8BE0ED8CD37 Content-Type: multipart/mixed; boundary="------------050400080508010109070003" This is a multi-part message in MIME format. --------------050400080508010109070003 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/02/13 13:52, Tsurutani Naoki wrote: > xorg-server-1.10.6_2,1 > xorg-vfbserver-1.10.6_1,1 > are installed. > All the Xorg related ports are installed after setting "WITH_NEW_XORG=3D= 1". >=20 > Niclas Zeising wrote: >=20 >> On 02/02/13 13:09, Tsurutani Naoki wrote: >>> Thank you for your reply. >>> >>> Both files on my host are just same with that on SVN repository you p= ointed. >>> I think only "files/extra-new-arch-i386" is used with "WITH_NEW_XORG=3D= 1". >>> The file "hw/xfree86/common/compiler.h" made by "make extract" differ= s from >>> the one expeced by the patch file (see line 1335 and 1371). >>> Is there anything wrong on my host or on my thought ? >>> >> >> Only extra-new-arch-i386 is used when compiling with WITH_NEW_XORG. >> Both patches fixes the same issue, but in different versions of >> xorg-server, the old and the new. Which version of xorg-server are >> getting built? Is it the correct one? As I previously said, I can't >> reproduce this issue, and I've been running builds for different freeb= sd >> versions of i386 both with old and new xorg during the night without >> problems. >> Regards! >> --=20 >> Niclas Zeising >> >=20 Hi! I finally managed to reproduce this, and a patch is in the works. Can you please try the attached patch? Remember to apply it with patch -E to remove empty files. Regards! --=20 Niclas Zeising --------------050400080508010109070003 Content-Type: text/x-patch; name="ports.xorg-server.clangfix.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ports.xorg-server.clangfix.diff" Index: x11-servers/xorg-server/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- x11-servers/xorg-server/Makefile (revision 311425) +++ x11-servers/xorg-server/Makefile (working copy) @@ -114,12 +114,8 @@ .endif =20 .if ${ARCH} =3D=3D i386 -.if defined(WITH_NEW_XORG) -EXTRA_PATCHES+=3D ${FILESDIR}/extra-new-arch-i386 -.else -EXTRA_PATCHES+=3D ${FILESDIR}/extra-old-arch-i386 +EXTRA_PATCHES+=3D ${FILESDIR}/extra-arch-i386 .endif -.endif =20 .if ${ARCH} =3D=3D ia64 PLIST_SUB+=3D IA64_NA=3D"@comment " Index: x11-servers/xorg-server/files/extra-new-arch-i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- x11-servers/xorg-server/files/extra-new-arch-i386 (revision 311425) +++ x11-servers/xorg-server/files/extra-new-arch-i386 (working copy) @@ -1,11 +0,0 @@ ---- hw/xfree86/common/compiler.h.orig 2012-05-17 19:09:03.000000000 +020= 0 -+++ hw/xfree86/common/compiler.h 2013-01-18 13:59:18.366436857 +0100 -@@ -1335,7 +1335,7 @@ -=20 - #if !defined(__SUNPRO_C) - #if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && != defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(_= _m32r__) --#ifdef GCCUSESGAS -+#if defined(GCCUSESGAS) || defined(__clang__) -=20 - /* - * If gcc uses gas rather than the native assembler, the syntax of thes= e Index: x11-servers/xorg-server/files/extra-old-arch-i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- x11-servers/xorg-server/files/extra-old-arch-i386 (revision 311425) +++ x11-servers/xorg-server/files/extra-old-arch-i386 (working copy) @@ -1,11 +0,0 @@ ---- hw/xfree86/common/compiler.h.orig 2010-05-04 02:47:58.000000000 +020= 0 -+++ hw/xfree86/common/compiler.h 2013-01-18 13:07:35.785442739 +0100 -@@ -1021,7 +1021,7 @@ -=20 - # if !defined(__SUNPRO_C) - # if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) = && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defin= ed(__m32r__) --# ifdef GCCUSESGAS -+# if defined(GCCUSESGAS) || defined(__clang__) -=20 - /* - * If gcc uses gas rather than the native assembler, the syntax of thes= e --------------050400080508010109070003-- --------------enigC511B675071BD8BE0ED8CD37 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBCgAGBQJRDSdjAAoJELuNS1e7i1VRRToP/0Y1Xxi/Fw1HfeLECFActPyn c+JOctY+gMBNy3UB2PMRORsnY5rqKsFlHsH1wS4rEdjaXcdksbwgWg0u36EKlk6x u9L5z+FFegMpYFy1uFYJ1mNn5Dz1LiZcOLhrQ8FZ470JIv2n+zy2dbZFjUWB4dnt iOKIJoWllsBhq7tLmzHfgJP0ad7L/wTkTSWrSN5emHX5l5zsDPw1XXHf5XYnodP+ plykyJI9KLtpvH4Jtg6HhdW/DailGq4O9yJXToWzmv5Jm3tOLF79wRAqCyUh8AWT WWNTNh0WjSRT2SUatD3CF7DIQ07WDsyTRNMTFuuAxkoXGMUNXGVirjkgq08qCDW3 Px8jDjN9qG3JVqOCJey9p/M0HBjNyH9XgQdAv5F7O1MVBJhRGTZUwduT0ecF76Ir Y8EskO9ng+kzkYy0yigIgKQjNbGmKF1j0r34Rdvqqkx3peJUrNbcOEbNMY5lSzLz TcpTGPog+tLgHxeV7TH1ydaFh9W6c81dgP+XDfGzP5x/8hL/C+U84ta/4TG5bO7n 5BbBsN43NxPhB/lvmHRpUqfvIeZNeWJO8ezg7Mid8i04Wx8q1hwPkHghuTMcT9Mt 2fHbgyeKKP0gXwi+jVn+n2zDMLIAtVCKMcTbirnCLCT31QpqC8as+Z9+hRikQbL1 NyPrT7/adloN6cbOkQOx =Q7ss -----END PGP SIGNATURE----- --------------enigC511B675071BD8BE0ED8CD37--