Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www-client/lynx: append -D_GNU_SOURCE to CPPFLAGS #34294

Closed
wants to merge 1 commit into from

Conversation

csfore
Copy link
Contributor

@csfore csfore commented Dec 15, 2023

Fixes implicit function declarations on glibc systems.

Made sure to test compile on musl and it succeeded.

Closes: https://bugs.gentoo.org/918985

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @csfore
Areas affected: ebuilds
Packages affected: www-client/lynx

www-client/lynx: @gentoo/proxy-maint (maintainer needed)

Linked bugs

Bugs linked: 918985


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added maintainer-needed There is at least one affected package with no maintainer. Review it if you can. assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Dec 15, 2023
@hhoffstaette
Copy link
Contributor

As @thesamesam had to remind me a couple of times: this will change the generated code, so you should revbump the ebuild.

Fixes implicit function declarations on glibc systems.

Closes: https://bugs.gentoo.org/918985
Signed-off-by: Christopher Fore <csfore@posteo.net>
@csfore
Copy link
Contributor Author

csfore commented Dec 15, 2023

Fixed!

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-12-15 16:23 UTC
Newest commit scanned: d0526e7
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/7d3d99da1e/output.html

)

src_configure() {
append-cppflags -D_GNU_SOURCE
Copy link
Member

Choose a reason for hiding this comment

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

  1. This needs a bug reference above it in a comment.
  2. This needs some rationale/justification. Why aren't we fixing the build system properly to do this for us? (A valid answer is: you think this might be fixed in git, but it's not yet in a release. I think that might be the case here from looking at it...)


LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
Copy link
Member

Choose a reason for hiding this comment

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

ekeyword ~all

@thesamesam
Copy link
Member

I'm going to merge it w/ fixups as I want this in ASAP, as this one has been driving me mad. Thanks!

MocioF pushed a commit to MocioF/gentoo that referenced this pull request Dec 17, 2023
Fixes implicit function declarations on glibc systems.

[sam: Add note that it's (likely) a temporary fix until a new development release is made.]

Closes: https://bugs.gentoo.org/918985
Signed-off-by: Christopher Fore <csfore@posteo.net>
Closes: gentoo#34294
Signed-off-by: Sam James <sam@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. maintainer-needed There is at least one affected package with no maintainer. Review it if you can.
Projects
None yet
5 participants