Bug 4078

Summary: hw/xfree86/common/xf86KbdBSD.c: xf86Info.consType is conditioned to CSRG_BASED
Product: xorg Reporter: Diego Elio Pettenò <flameeyes>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: dberkholz
Version: unspecified   
Hardware: Other   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 4429    
Attachments:
Description Flags
xorg-server-hw-xfree86-common-xf86KbdBSD.patch none

Description Diego Elio Pettenò 2005-08-14 08:45:50 UTC
On xf86Privstr.h, xf86Info.consType is conditioned to CSRG_BASED define, while  
it's used on the file in summary on ! __bsdi__ define and fails to compile. 
 
The attached patch changes the condition on xf86KbdBSD.c to match the one in 
xf86Privstr.h. 
 
HTH, 
Diego
Comment 1 Diego Elio Pettenò 2005-08-14 08:46:20 UTC
Created attachment 3346 [details] [review]
proposed patch of Xt4/tstlnggprc.m
Comment 2 Diego Elio Pettenò 2005-08-17 09:43:47 UTC
Created attachment 2908 [details] [review]
xorg-server-hw-xfree86-common-xf86KbdBSD.patch

Re-attached deleted patch
Comment 3 Alan Coopersmith 2005-08-19 16:58:48 UTC
xf86KbdBSD.c should only be built on CSRG_BASED systems though, so I think the
real problem is getting either CSRG_BASED defined for BSD's in the modular build
or replacing all the uses of it with more specific checks.
Comment 4 Matthieu Herrb 2005-08-21 08:34:26 UTC
As discussed  on the modular list some time ago, I commited a change that
defines CSRG_BASED in Xosdefs.h for the modular tree. 
Comment 5 Diego Elio Pettenò 2005-09-13 00:03:08 UTC
Trying with a recent snapshot and defining by hand -DCSRG_BASED (as x11proto 
is still outdated) seems to fix that as well as a couple more bugs. 
 
Comment 6 Diego Elio Pettenò 2005-09-13 00:03:33 UTC
*** Bug 4075 has been marked as a duplicate of this bug. ***
Comment 7 Diego Elio Pettenò 2005-09-13 00:15:18 UTC
*** Bug 4077 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.