ports/textproc/scancode-toolkit/files/patch-src_extractcode_libarchive2.py
Steve Wills a6e2ce12b0 textproc/scancode-toolkit: create port
ScanCode scans code and detects licenses, copyrights, package manifests,
dependencies and more. It can be also used to discover and inventory open source
and third-party packages used in your code.

WWW: https://github.com/nexB/scancode-toolkit

PR:		230114
Submitted by:	Kai <freebsd_ports@k-worx.org>
2019-01-05 21:30:53 +00:00

11 lines
350 B
Python

--- src/extractcode/libarchive2.py.orig 2018-10-15 13:51:18 UTC
+++ src/extractcode/libarchive2.py
@@ -101,6 +101,7 @@ def load_lib():
# get paths from plugins
dll = get_location(EXTRACTCODE_LIBARCHIVE_DLL)
libdir = get_location(EXTRACTCODE_LIBARCHIVE_LIBDIR)
+ dll = libdir
return command.load_shared_library(dll, libdir)