Package: ohcount / 4.0.0-5

Metadata

Package Version Patches format
ohcount 4.0.0-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
disabled_test_suite.patch | (download)

build | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 disable test suite on build time, does not work
build cflags.diff | (download)

build | 9 7 2 - 0 !
1 file changed, 7 insertions( ), 2 deletions(-)

---
fix buffer overflow.patch | (download)

src/diff.c | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 fix a buffer overflow due to an off-by one
 This manifests as a build failure on arm64 in Ubuntu.
swift.patch | (download)

src/hash/extensions.gperf | 1 1 0 - 0 !
src/hash/languages.gperf | 1 1 0 - 0 !
src/hash/parsers.gperf | 2 2 0 - 0 !
src/languages.h | 1 1 0 - 0 !
src/parsers/swift.rl | 115 115 0 - 0 !
test/detect_files/foo.swift | 5 5 0 - 0 !
test/expected_dir/foo.swift | 17 17 0 - 0 !
test/src_dir/foo.swift | 17 17 0 - 0 !
test/unit/detector_test.h | 1 1 0 - 0 !
test/unit/parser_test.h | 2 2 0 - 0 !
test/unit/parsers/test_swift.h | 38 38 0 - 0 !
11 files changed, 200 insertions( )

 [patch] add support for swift lang

OTWO-6557

pcre2.patch | (download)

build | 10 5 5 - 0 !
src/detector.c | 54 37 17 - 0 !
src/licenses.c | 187 97 90 - 0 !
src/structs.h | 11 6 5 - 0 !
4 files changed, 145 insertions( ), 117 deletions(-)

 port to pcre2.
Bug-Debian: https://bugs.debian.org/1000010
align function signatures with rb_iterate api.patch | (download)

ruby/ohcount.i | 11 6 5 - 0 !
1 file changed, 6 insertions( ), 5 deletions(-)

 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: