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

build: Fix -Werror=strict-prototypes #1198

Closed
wants to merge 1 commit into from
Closed

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Apr 17, 2023

Clang-16 is more strict about these so make the compiler happy.

Split from PR #1195.

Clang-16 is more strict about these so make the compiler happy.
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 25, 2023
Fixes the build on musl systems and uses AM_PROG_AR rather than a hard
coded ar.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failures on musl systems
* Build issues with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
orbea added a commit to orbea/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Apr 26, 2023
Fixes some build issues:

* Build failure on musl systems
* Build failure with clang-16
* Uses AM_PROG_AR to find ar(1) during configure
* Uses configure arguments to find libevent and libssl on multilib
  systems.

Closes: https://bugs.gentoo.org/720782
Closes: https://bugs.gentoo.org/727260
Closes: https://bugs.gentoo.org/739876
Closes: https://bugs.gentoo.org/896050
Closes: https://bugs.gentoo.org/899876
Upstream-Issue: OpenSMTPD/OpenSMTPD#1065
Upstream-PR: OpenSMTPD/OpenSMTPD#1195
Upstream-PR: OpenSMTPD/OpenSMTPD#1198
Upstream-PR: OpenSMTPD/OpenSMTPD#1199
Signed-off-by: orbea <orbea@riseup.net>
Closes: #30750
Signed-off-by: Sam James <sam@gentoo.org>
@poolpOrg
Copy link
Member

poolpOrg commented May 8, 2023

This is no longer necessary with the upstream sync done by @omar-polo with #1201 , care to confirm ?

@orbea
Copy link
Contributor Author

orbea commented May 8, 2023

@poolpOrg Indeed, this is no longer needed.

@omar-polo thanks!

@orbea orbea closed this May 8, 2023
@orbea orbea deleted the clang2 branch May 8, 2023 15:10
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.

None yet

2 participants