Date: Sat, 02 Feb 2013 13:11:38 +0100 From: Barbara Guida <barbara.freebsd@gmail.com> To: x11@FreeBSD.org Subject: x11-servers/xorg-server: patch failure with "WITH_NEW_XORG=true" Message-ID: <510D027A.2030204@gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, running make patch -C /usr/ports/x11-servers/xorg-server I'm getting this error: ===> Applying extra patch /usr/ports/x11-servers/xorg-server/files/extra-new-arch-i386 1 out of 1 hunks failed--saving rejects to hw/xfree86/common/compiler.h.rej *** [do-patch] Error code 1 I have WITH_NEW_XORG=true in my /etc/make.conf. Looking at the files/extra-new-arch-i386 patch (ports/174286), it seems that it has been created starting from a version of xorg-server which is different from 1.10.6, hasn't it? I did the same change in hw/xfree86/common/compiler.h from xorg-server-1.10.6 and recreated the patch and now the patch is applied successfully for me. Note that I have not tested it with clang. cheers Barbara -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRDQJ2AAoJECfdb9Y99fdQPNEIAO6UFL3GS2RUV1JMjA80vXIw Om8/LfSPMJ8Fv3wpPQ0EFGtpif3m8E2M6+PNfhiRNO1/6VUEq6SK+CCAjT+SWCbs 7vjR04WYGKKyj/axbaq4cXtxveimbyCTCZK66fkUaRs6snGIIe14YWkztxYoXojr 4+TicqYHdJjHbn6PKC/UZo5mtlDWEtYHLYlJ1kRLNlA3lBBsileQPcKE55uD572h IrpVdGd3TPacDX9OQ2x4DUt+CwjlAiOvnCzqb/6rmIV5iKDk27gDBONGqwWSG5nB bJDHskhAjO7ElEX4bQukKlznoZSzfDq4t8OhSka38fr6J3uEnoUTiJFUMUT8Dbo= =Tx5p -----END PGP SIGNATURE----- [-- Attachment #2 --] Index: x11-servers/xorg-server/files/extra-new-arch-i386 =================================================================== --- x11-servers/xorg-server/files/extra-new-arch-i386 (revision 311421) +++ x11-servers/xorg-server/files/extra-new-arch-i386 (working copy) @@ -1,11 +1,11 @@ ---- hw/xfree86/common/compiler.h.orig 2012-05-17 19:09:03.000000000 +0200 -+++ hw/xfree86/common/compiler.h 2013-01-18 13:59:18.366436857 +0100 -@@ -1335,7 +1335,7 @@ +--- hw/xfree86/common/compiler.h.orig 2011-06-11 18:55:47.000000000 +0200 ++++ hw/xfree86/common/compiler.h 2013-02-02 12:34:00.000000000 +0100 +@@ -1371,7 +1371,7 @@ - #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__) + # 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__) /* * If gcc uses gas rather than the native assembler, the syntax of these [-- Attachment #3 --] Q z 'o=Pr"vwݑ=ZQ~f/6B@[e!~b+c Ne-2XPDEeSKboe)ή\G?o}^i~vz.nniJ<uK"D'0Sڬ%:(R1GТڈI|ֈ|y>iZ:^AfE 3e(bBb/aܪ`,wwyP~|RȨXũ0home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510D027A.2030204>
