Skip to content

xf86bigfont: add comment on including fontstruct.h#1941

Open
metux wants to merge 1 commit intomasterfrom
pr/xf86bigfont-make-the-extension-compile-again-_2026-02-04_17-26-39
Open

xf86bigfont: add comment on including fontstruct.h#1941
metux wants to merge 1 commit intomasterfrom
pr/xf86bigfont-make-the-extension-compile-again-_2026-02-04_17-26-39

Conversation

@metux
Copy link
Contributor

@metux metux commented Feb 4, 2026

Document that this particular include is just a workaround for
a bug in libxfont2.h, which forgot to include this header.

@metux metux self-assigned this Feb 4, 2026
@metux metux requested a review from a team February 4, 2026 16:26
metux added a commit that referenced this pull request Feb 4, 2026
#include <X11/Xproto.h>
#include <X11/extensions/xf86bigfproto.h>
#include <X11/fonts/fontstruct.h>
#include <X11/fonts/fontstruct.h> // libxfont2.h missed to include that
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this just a comment change? How does this fix compilation?
Also, can you use a C-style comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. That's been coming from an older queue which I've just rebased again.
Probably the actual fix had already landed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated commit and PR description

Document that this particular include is just a workaround for
a bug in libxfont2.h, which forgot to include this header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux metux force-pushed the pr/xf86bigfont-make-the-extension-compile-again-_2026-02-04_17-26-39 branch from 79d2dbe to f203f6b Compare February 5, 2026 11:02
@metux metux changed the title xf86bigfont: make the extension compile again xf86bigfont: add comment on including fontstruct.h Feb 5, 2026
@metux metux requested review from a team and stefan11111 February 5, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants