Bug 4076 - xorg-server/os/xstrans.c: EADDRINUSE is not defined with _POSIX_SOURCE
Summary: xorg-server/os/xstrans.c: EADDRINUSE is not defined with _POSIX_SOURCE
Status: RESOLVED DUPLICATE of bug 4074
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 4429
  Show dependency treegraph
 
Reported: 2005-08-14 08:15 UTC by Diego Elio Pettenò
Modified: 2005-09-12 07:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg-server-os-xstrans.patch (296 bytes, patch)
2005-08-17 09:45 UTC, Diego Elio Pettenò
no flags Details | Splinter Review

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.