Subject: CVS commit: pkgsrc/devel/subversion
From: Mark Davies
Date: 2019-07-03 12:42:54
Message id: 20190703104254.B8135FBF4@cvs.NetBSD.org

Log Message:
subversion: more reliable fix for APR 1.7.0

From: Stefan Sperling <stsp@apache.org>
Date: Fri, 12 Apr 2019 09:27:33 +0000
Subject: [PATCH] Get rid of apr_int64_t format string check in swig py
 configure.

This check relied on APR implementation details and broke with APR 1.7.0.
Rather than trying to guess a perfect format string to use, just use the
largest possible format and cast the argument accordingly.

Should fix build against APR 1.7.0 and later.

Suggested by: brane

* build/ac-macros/swig.m4: Remove code related to SVN_APR_INT64_T_PYCFMT.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
  (svn_swig_py_client_blame_receiver_func): Stop relying on the
   SVN_APR_INT64_T_PYCFMT constant from configure. Use "L" and
   acast to PY_LONG_LONG instead.

Files:
RevisionActionfile
1.113modifypkgsrc/devel/subversion/distinfo
1.5modifypkgsrc/devel/subversion/patches/patch-configure
1.1addpkgsrc/devel/subversion/patches/patch-subversion_bindings_swig_python_libsvn_swig_py_swigutil_py.c