#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)
Change History (8)
Changed 18 years ago by aladin@…
| Attachment: | Xtranssock.c.patch added |
|---|
Changed 18 years ago by aladin@…
| Attachment: | decompress.c.patch added |
|---|
comment:1 follow-up: 2 Changed 18 years ago by jmroot (Joshua Root)
| Cc: | yves@… added |
|---|---|
| Keywords: | haspatch added |
| Summary: | XFree86 4.7.0 build failure fixed → XFree86 4.7.0 build failure |
| Type: | enhancement → defect |
comment:2 Changed 18 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:4 Changed 18 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 18 years ago by raimue (Rainer Müller)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
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.

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