x11-servers/xorg-server: patch failure with "WITH_NEW_XORG=true"

Barbara Guida barbara.freebsd at gmail.com
Sat Feb 2 12:39:35 UTC 2013


Barbara Guida wrote:
> Niclas Zeising wrote:
>> On 02/02/13 13:16, Barbara Guida wrote:
>>> Barbara Guida wrote:
>>>> 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
>>>
>>>
>>> I just found that this should be the same issue reported in ports/175776
>>>
>>>
>>
>> Yes it is, and it surprises me.  I can't reproduce it locally at all.  I
>> have to look into this more in detail I guess, since two reporters of
>> the same issue probbly not is a fluke.  How do you usually download the
>> ports tree?
>> Regards!
>>
> 
> I have the same failure in /usr/ports from portsnap and in my svn copy.
> 

If it could be useful for a comparison, I'm sending compiler.h obtained
after running make extract.
As you can see and as reported by Tsurutani Naoki, the line which needs
to be changed is #1374 here.



More information about the freebsd-x11 mailing list