Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19760 closed defect (invalid)

xorg-xproto @7.0.15_0 Xpoll.h.in doesn't define fd_mask

Reported by: ctempleton3@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: xorg-xproto, xterm

Description

The patch to the file Xproto.h.in that was implement in ticket #12991 was somehow dropped in newer revisions of the port. With the lack of the patch xterm will not build (see ticket #19208.) Please patch the port with the attached diff.

I have successfully been able to build xorg-xproto and xterm with this change.

BTW, it is revision 1 as people who have this installed will need to reinstall it to modify the existing Xpoll.h file.

-Charles III

Attachments (2)

patch-Xpoll.h.in (271 bytes) - added by ctempleton3@… 15 years ago.
Portfile.diff (565 bytes) - added by ctempleton3@… 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by ctempleton3@…

Attachment: patch-Xpoll.h.in added

Changed 15 years ago by ctempleton3@…

Attachment: Portfile.diff added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

That's because the patch is invalid. The correct changes have been made. fd_mask is defined in the system headers.

comment:3 in reply to:  2 Changed 15 years ago by rbubley

Replying to jeremyhu@…:

That's because the patch is invalid. The correct changes have been made. fd_mask is defined in the system headers.

I have the same problem (in 7.0.16 too). (And manually applying the patch to my system enables me to build xterm.) So fd_mask isn't defined in the system headers for everyone.

Just a guess, but as I'm on Tiger -- which system headers is it fixed in?

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

/usr/include/sys/types.h 265:typedef int32_t fd_mask;

Note: See TracTickets for help on using tickets.