Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 12:16:45 +0200
From:      =?UTF-8?B?R3VzdGF1IFDDqXJleiBpIFF1ZXJvbA==?= <gperez@entel.upc.edu>
To:        Pavel Timofeev <timp87@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Xorg 1.12
Message-ID:  <4F8D430D.6070009@entel.upc.edu>
In-Reply-To: <CAAoTqfvgN6zaXMnp90jPnmyb6_38VLYYoMBxB%2BegCLqR-QPPLA@mail.gmail.com>
References:  <CAAoTqfvgN6zaXMnp90jPnmyb6_38VLYYoMBxB%2BegCLqR-QPPLA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070702080902000000050200
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 15/04/2012 19:30, Pavel Timofeev wrote:
> Hi! Please, help me.
>
> I've just tried new xorg-dev (svn co
> https://trillian.chruetertee.ch/svn/ports/trunk/).
> I replaced libglut by freeglut and rebuilt all dependent ports.
> Then xf86-video-ati-6.14.3 didn't rebuild. I updated it to 6.14.4 and it worked.
> My final problem is:
> ...
> config.status: creating man/Makefile
> config.status: creating xxf86dga.pc
> config.status: creating src/config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> ===>   Building for libXxf86dga-1.1.3
> Making all in src
> /usr/bin/make  all-am
>    CC     XF86DGA.lo
> XF86DGA.c: In function 'XF86cleanup':
> XF86DGA.c:651: warning: function might be possible candidate for
> attribute 'noreturn'
>    CC     XF86DGA2.lo
> XF86DGA2.c: In function 'DGAMapPhysical':
> XF86DGA2.c:931: error: cast from pointer to integer of different size
> *** Error code 1
>
> Stop in /usr/ports/x11/libXxf86dga/work/libXxf86dga-1.1.3/src.
> *** Error code 1
>
> Stop in /usr/ports/x11/libXxf86dga/work/libXxf86dga-1.1.3/src.
> *** Error code 1
>
> Stop in /usr/ports/x11/libXxf86dga/work/libXxf86dga-1.1.3.
> *** Error code 1
>
> Stop in /usr/ports/x11/libXxf86dga.
>
> ===>>>  make failed for x11/libXxf86dga
> ===>>>  Aborting update
>
> ===>>>  Update for x11/libXxf86dga failed
> ===>>>  Aborting update
>
> Terminated

    This is easy to solve. This is a bug that only appears on x86. On 
AMD64 libXxf86dga compiles fine w/out the patch, however I haven't 
tested (libXxf86dga on my amd64 machine was compiled without the patch). 
I would say it would work.

    To use the patch, create  x11/libXxf86dga/files and under it place 
the file I'm attaching. Then, just do:

          cd /usr/ports/x11/libXxf86dga && make clean install clean

    Should compile.

    Let us know if it works.


--------------070702080902000000050200
Content-Type: text/plain; charset=UTF-8;
 name="patch-src-xf86dga.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch-src-xf86dga.c"

LS0tIHNyYy9YRjg2REdBMi5jLm9yaWcJMjAxMi0wNC0xNyAxMjowOTo1Ny4wMjczNDcwMTcg
KzAyMDAKKysrIHNyYy9YRjg2REdBMi5jCTIwMTItMDQtMTcgMTI6MTA6MDkuOTg5MzQyODk5
ICswMjAwCkBAIC05MjgsNyArOTI4LDcgQEAKICAgICBpZiAoKHBNYXAtPmZkID0gb3Blbihu
YW1lLCBPX1JEV1IpKSA8IDApCiAJcmV0dXJuIEZhbHNlOwogICAgIHBNYXAtPnZpcnR1YWwg
PSBtbWFwKE5VTEwsIHNpemUsIFBST1RfUkVBRCB8IFBST1RfV1JJVEUsCi0JCQlNQVBfRklM
RSB8IE1BUF9TSEFSRUQsIHBNYXAtPmZkLCAob2ZmX3QpYmFzZSk7CisJCQlNQVBfRklMRSB8
IE1BUF9TSEFSRUQsIHBNYXAtPmZkLCAob2ZmX3QpKHVuc2lnbmVkIGxvbmcpYmFzZSk7CiAg
ICAgaWYgKHBNYXAtPnZpcnR1YWwgPT0gKHZvaWQgKiktMSkKIAlyZXR1cm4gRmFsc2U7CiAg
ICAgbXByb3RlY3QocE1hcC0+dmlydHVhbCwgc2l6ZSwgUFJPVF9SRUFEIHwgUFJPVF9XUklU
RSk7Cg==
--------------070702080902000000050200--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F8D430D.6070009>