Debian Patches

Status for ohcount/4.0.0-5

Patch Description Author Forwarded Bugs Origin Last update
disabled_test_suite.patch disable test suite on build time, does not work
===================================================================
Jonas Genannt <jonas.genannt@capi2name.de> not-needed
build-cflags.diff =================================================================== no
fix-buffer-overflow.patch fix a buffer overflow due to an off-by one This manifests as a build failure on arm64 in Ubuntu.

===================================================================
Steve Langasek <steve.langasek@ubuntu.com> no
swift.patch [PATCH] Add support for Swift lang
OTWO-6557
Alex Johnson <notalexjohnson@gmail.com> no 2021-12-09
pcre2.patch Port to PCRE2. Yavor Doganov <yavor@gnu.org> no debian 2023-12-21
align-function-signatures-with-rb_iterate-api.patch Align rb_add_directory and rb_add_file function signatures with the current rb_iterate API The rb_iterate function now expects an iter_func with a signature matching rb_block_call_func_t.
Historically, rb_block_call_func_t had only two parameters, but over time, it evolved to include more.

This patch:
- Uses the RB_BLOCK_CALL_FUNC_ARGLIST macro to absorb API differences in ohcount.
- Places the function definitions within %{ %} in the SWIG interface file to prevent SWIG from generating wrappers.
- Avoids issues caused by SWIG wrappers mishandling the (const VALUE *) parameter in iter_funcs.

Details:
SWIG casts the (const VALUE *) parameter to (void *const *) in generated wrapper code before calling the code in ohcount.i
Leading to incompatibilities when wrapping macro generated or hardcoded up-to-date iter_func signatures.
By preventing SWIG from wrapping these functions, we avoid such issues.
Gabriel Bustamante <gabrielbusta@gmail.com> no debian 2024-11-20

All known versions for source package 'ohcount'

Links