Bug 4076

Summary: xorg-server/os/xstrans.c: EADDRINUSE is not defined with _POSIX_SOURCE
Product: xorg Reporter: Diego Elio Pettenò <flameeyes>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE 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-os-xstrans.patch none

Description Diego Elio Pettenò 2005-08-14 08:15:15 UTC
If _POSIX_SOURCE is defined (and it seems to be by default), EADDRINUSE is not  
defined in errno.h, and then X11/Xtrans/transport.c fails to build.  
  
The attached patch undefine it for FreeBSD (where the problem come up, not 
sure about Linux or other right now). 
It's probably just a workaround, tho. 
 
HTH, 
Diego
Comment 1 Diego Elio Pettenò 2005-08-14 08:15:42 UTC
Created attachment 3344 [details] [review]
proposed patch for Xt8/tmkgmreqt.m
Comment 2 Diego Elio Pettenò 2005-08-17 09:45:31 UTC
Created attachment 2910 [details] [review]
xorg-server-os-xstrans.patch

Re-attached missing patch
Comment 3 Diego Elio Pettenò 2005-08-19 16:53:32 UTC
Added block over release tracker. 
Comment 4 Diego Elio Pettenò 2005-09-13 00:15:32 UTC
This seems tied to bug #4074. I'll see if removing the _*_SOURCE definitions 
for freebsd os in configure.ac will help. 
 
Comment 5 Diego Elio Pettenò 2005-09-13 00:53:17 UTC
It helps indeed. 

*** This bug has been marked as a duplicate of 4074 ***

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.