[
https://issues.apache.org/jira/browse/XERCESC-1998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867850#comment-13867850
]
Jay Berkenbilt commented on XERCESC-1998:
-----------------------------------------
I thought I'd mention that I added this fix as a patch against 3.1.1 to the
xerces-c packages in debian, and they built successfully on GNU Hurd in that
environment.
> Add support for GNU/Hurd by using POSIX.1-2001 and POSIX.1-2008 functions
> -------------------------------------------------------------------------
>
> Key: XERCESC-1998
> URL: https://issues.apache.org/jira/browse/XERCESC-1998
> Project: Xerces-C++
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 3.1.1
> Environment: Debian GNU/Hurd i386
> Reporter: Svante Signell
> Assignee: Alberto Massari
> Labels: patch
> Fix For: 3.2.0
>
> Attachments: use_posix_fcns.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Hello,
> The attached patch solves the build problems for GNU/Hurd due to
> unconditional use of PATH_MAX which is not defined on Hurd (and is optional
> in POSIX). The functions used are realpath (newSrc, NULL) from POSIX.1-2008
> and getcwd (NULL, 0) from glibc-based systems.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]