Bug 18998

Summary: Compiling libX11-1.1.3 fails, typo in CrGlCur.c (only for HP-UX)
Product: xorg Reporter: Mikko Niskanen <mikko.niskanen>
Component: Lib/XlibAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium Keywords: janitor, patch
Version: 7.3 (2007.09)   
Hardware: IA64 (Itanium)   
OS: HP-UX   
Whiteboard:
i915 platform: i915 features:

Description Mikko Niskanen 2008-12-10 02:25:03 UTC
I'm compiling X.org source tree from scratch using latest packages
pulled from R7.4 tree with libX11-1.1.3 from R7.3 tree.

OS version: HP-UX 11.23 with June 2008 patch bundle
Compiler: HP-supplied GCC 4.2.4

Compile fails with ./src/CrGlCur.c, following patch will fix it:

50c50
< typedef shl_t XModuleType;
---
> typedef shl_dt        XModuleType;


HP-UX /usr/include/dl.h does not have shl_dt defined, but shl_t is there.
Comment 1 Peter Hutterer 2009-09-03 17:13:46 UTC
Fix pushed as 51396066c8003a96a6399c9a4bed2a81e512b582, thanks.

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.