[Bug 2429] New: Wrong prototype for sysarch(2) breaks build on FreeBSD/alpha

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 30 20:40:39 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to            
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2429          
     
           Summary: Wrong prototype for sysarch(2) breaks build on
                    FreeBSD/alpha
           Product: xorg
           Version: CVS_head
          Platform: DEC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/general
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: dejan.lesjak at ijs.si


The prototype in file programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c:

extern int sysarch(int, char *);

should actually be:

extern int sysarch(int, void *);

It was added to machine/sysarch.h system header in rev. 1.7 about a year ago:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/alpha/include/sysarch.h
The patch for this was added to ports collection by Greg Lewis (glewis at 
FreeBSD.org):
http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-servers/XFree86-4-Server/files/
patch-alpha_video.c
for XFree86 port and later for X.Org port:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-servers/xorg-server/files/patch-
alpha_video.c
Diff to current CVS HEAD will be attached. The changed line is only for #ifdef 
__FreeBSD__ case, so it shouldn't affect other operating systems.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list