pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46544: libXxf86dga 1.1.3 DragonFly i386 error cast from pointer to integer



>Number:         46544
>Category:       pkg
>Synopsis:       libXxf86dga 1.1.3 DragonFly i386 error cast from pointer to 
>integer
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 05 05:10:00 +0000 2012
>Originator:     David Shao
>Release:        DragonFly 3.1-DEVELOPMENT i386
>Organization:
>Environment:
DragonFly 3.1-DEVELOPMENT i386
>Description:
On DragonFly 3.1-DEVELOPMENT i386 using latest pkgsrc, x11/libXxf86dga 1.1.3 
fails to build, whereas on a X86_64 machine using the same DragonFly 
3.1-DEVELOPMENT, a previous pkgsrc libXxf86dga 1.1.1 builds successfully.

There are two major differences in the build messages, with the unsuccessful 
1.1.3 version having:

Package xorg-macros was not fond on the pkg-config search path.
Perhaps you should add the directory containing 'xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable.
...
XF86DGA2.c: In function 'DGAMapPhysical':
XF86DGA2.c: 931: error cast from pointer to integer of different size

Line 931 and the preceding line read:

pMap->virtual = mmap(NULL, size, PROT_READ | PROT_WRITE,
    MAP_FILE | MAP_SHARE, pMap->fd, (off_t)base);

where previously it is declared
unsigned char* base;


>How-To-Repeat:
On DragonFly 3.1-DEVELOPMENT i386 using latest pkgsrc, x11/libXxf86dga 1.1.3
pkg_rolling-replace -u
on a system that already has a previous xfce4, modular-xorg, etc.

It is not known if the same problem holds for a X86_64 system.
>Fix:



Home | Main Index | Thread Index | Old Index