Bug 66396 - Avoid implicit ints in the configure script
Summary: Avoid implicit ints in the configure script
Status: RESOLVED FIXED
Alias: None
Product: APR
Classification: Unclassified
Component: APR-util (show other bugs)
Version: 1.7.0
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 08:05 UTC by Florian Weimer
Modified: 2023-01-04 02:56 UTC (History)
2 users (show)



Attachments
apr-util-configure-c99.patch (812 bytes, patch)
2022-12-22 08:05 UTC, Florian Weimer
Details | Diff
c99.patch (1.12 KB, patch)
2022-12-22 08:05 UTC, Florian Weimer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Weimer 2022-12-22 08:05:19 UTC
Created attachment 38451 [details]
apr-util-configure-c99.patch

The following patch is needed for apr-util 1.7, so that it builds with compilers which do not accept implicit ints (which are no longer part of C).

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
Comment 1 Florian Weimer 2022-12-22 08:05:52 UTC
Created attachment 38452 [details]
c99.patch

This patch can be used for mailine APR, but I have not built it with a C99 compiler.
Comment 2 Joe Orton 2023-01-03 08:43:58 UTC
Thanks a lot Florian. Committed in r1906347 and I will backport to stable branches too.
Comment 3 Joe Orton 2023-01-03 09:08:47 UTC
r1906348 / r1906349 / r1906350.