View | Details | Raw Unified | Return to bug 261550 | Differences between
and this patch

Collapse All | Expand All

(-)b/ports-mgmt/pkg/files/patch-libpkg_pkg__elf.c (+20 lines)
Added Link Here
1
--- libpkg/pkg_elf.c.orig	2021-11-12 08:57:25 UTC
2
+++ libpkg/pkg_elf.c
3
@@ -89,6 +89,7 @@ filter_system_shlibs(const char *name, char *path, siz
4
 	const char *shlib_path;
5
 
6
 	shlib_path = shlib_list_find_by_name(name);
7
+pkg_emit_notice("%s:\t%s", name, shlib_path);
8
 	if (shlib_path == NULL) {
9
 		/* dynamic linker could not resolve */
10
 		return (EPKG_FATAL);
11
@@ -128,7 +129,9 @@ add_shlibs_to_pkg(struct pkg *pkg, const char *fpath, 
12
 		/* Ignore link resolution errors if we're analysing a
13
 		   shared library. */
14
 		if (is_shlib)
15
+{pkg_emit_notice("Ignore link resolution errors if we're analysing a shared library: %s", name);
16
 			return (EPKG_OK);
17
+}
18
 
19
 		while (pkg_files(pkg, &file) == EPKG_OK) {
20
 			filepath = file->path;

Return to bug 261550