Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16697 closed defect (fixed)

XFree86 4.7.0 build failure

Reported by: aladin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: XFree86, Xtranssock.c, MAXHOSTNAMELEN, decompress.c, z_magic, PureDarwin, haspatch Cc: yves@…, probono@…, raimue (Rainer Müller)
Port: XFree86

Description

First patch fixes ../../lib/xtrans/Xtranssock.c:1378: error: 'MAXHOSTNAMELEN' undeclared here (not in a function) error.
See Xtranssock.c.patch attachment.

Then, a new error decompress.c:96: error: syntax error before 'z_magic' is raised but resolved with the second patch.
See decompress.c.patch attachment.

port install XFree86 +puredarwin has been used to build XFree86 4.7.0 on Mac OS X 10.5.5 (9F33).

Ticket #13895 (new defect) fixed.

Attachments (2)

Xtranssock.c.patch (291 bytes) - added by aladin@… 16 years ago.
decompress.c.patch (322 bytes) - added by aladin@… 16 years ago.

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by aladin@…

Attachment: Xtranssock.c.patch added

Changed 16 years ago by aladin@…

Attachment: decompress.c.patch added

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: yves@… added
Keywords: haspatch added
Summary: XFree86 4.7.0 build failure fixedXFree86 4.7.0 build failure
Type: enhancementdefect

For future reference, we'd prefer you attached the fix to the existing ticket rather than open a new one.

comment:2 in reply to:  1 Changed 16 years ago by aladin@…

Replying to jmr@…:

For future reference, we'd prefer you attached the fix to the existing ticket rather than open a new one.

Ok.

comment:3 Changed 16 years ago by probono@…

Cc: probono@… added

Cc Me!

comment:4 Changed 16 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Are these patches specific to Darwin 9 only, or should they be added for all platforms?

comment:5 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Committed in r40523.

I concluded that the patches can be added for all platforms as they only add fallbacks. Tested building, but not functionality on Mac OS X 10.5.5.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.