FreeBSD Bugzilla – Attachment 231811 Details for
Bug 261550
ports-mgmt/pkg: Missing libraries not flagged
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for ports-mgmt/pkg to make bad values visible
patch-pkg_0.diff (text/plain), 988 bytes, created by
Tatsuki Makino
on 2022-02-14 09:09:20 UTC
(
hide
)
Description:
patch for ports-mgmt/pkg to make bad values visible
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2022-02-14 09:09:20 UTC
Size:
988 bytes
patch
obsolete
>diff --git a/ports-mgmt/pkg/files/patch-libpkg_pkg__elf.c b/ports-mgmt/pkg/files/patch-libpkg_pkg__elf.c >new file mode 100644 >index 0000000000..7a0cff1380 >--- /dev/null >+++ b/ports-mgmt/pkg/files/patch-libpkg_pkg__elf.c >@@ -0,0 +1,20 @@ >+--- libpkg/pkg_elf.c.orig 2021-11-12 08:57:25 UTC >++++ libpkg/pkg_elf.c >+@@ -89,6 +89,7 @@ filter_system_shlibs(const char *name, char *path, siz >+ const char *shlib_path; >+ >+ shlib_path = shlib_list_find_by_name(name); >++pkg_emit_notice("%s:\t%s", name, shlib_path); >+ if (shlib_path == NULL) { >+ /* dynamic linker could not resolve */ >+ return (EPKG_FATAL); >+@@ -128,7 +129,9 @@ add_shlibs_to_pkg(struct pkg *pkg, const char *fpath, >+ /* Ignore link resolution errors if we're analysing a >+ shared library. */ >+ if (is_shlib) >++{pkg_emit_notice("Ignore link resolution errors if we're analysing a shared library: %s", name); >+ return (EPKG_OK); >++} >+ >+ while (pkg_files(pkg, &file) == EPKG_OK) { >+ filepath = file->path;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261550
: 231811 |
231812