You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2023/02/03 16:36:17 UTC

svn commit: r1907246 - in /apr/apr-util/branches/1.6.x: CHANGES build/dbm.m4

Author: jorton
Date: Fri Feb  3 16:36:17 2023
New Revision: 1907246

URL: http://svn.apache.org/viewvc?rev=1907246&view=rev
Log:
Merge r1906347 from trunk:

Fix configure for compilers which don't accept implicit
int (no longer part of C since C99).

Submitted by: Florian Weimer <fweimer redhat.com>
PR: 66396

Modified:
    apr/apr-util/branches/1.6.x/CHANGES
    apr/apr-util/branches/1.6.x/build/dbm.m4

Modified: apr/apr-util/branches/1.6.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/CHANGES?rev=1907246&r1=1907245&r2=1907246&view=diff
==============================================================================
--- apr/apr-util/branches/1.6.x/CHANGES [utf-8] (original)
+++ apr/apr-util/branches/1.6.x/CHANGES [utf-8] Fri Feb  3 16:36:17 2023
@@ -4,6 +4,10 @@ Changes with APR-util 1.6.4
   *) apr_memcache: Fix name lookup to allow IPv6 as well as IPv4.
      [Lubos Uhliarik <luhliari redhat.com>]
 
+  *) configure: Fix Berkeley DB detection with compilers enforcing
+     strict C99 compliance.  PR 66396.
+     [Florian Weimer <fweimer redhat.com>]
+
 Changes with APR-util 1.6.3
 
   *) Correct a packaging issue in 1.6.2. The contents of the release were

Modified: apr/apr-util/branches/1.6.x/build/dbm.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/build/dbm.m4?rev=1907246&r1=1907245&r2=1907246&view=diff
==============================================================================
--- apr/apr-util/branches/1.6.x/build/dbm.m4 (original)
+++ apr/apr-util/branches/1.6.x/build/dbm.m4 Fri Feb  3 16:36:17 2023
@@ -235,7 +235,7 @@ AC_DEFUN([APU_TRY_BERKELEY_DB],
 #include <stdlib.h>
 #include <stdio.h>
 #include <$apu_try_berkeley_db_header>
-main ()
+int main (void)
 {
   int major, minor, patch;