depot/third_party/nixpkgs/pkgs/applications/misc/nut/hardcode-paths.patch
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

13 lines
346 B
Diff

--- a/tools/nut-scanner/nutscan-init.c
+++ b/tools/nut-scanner/nutscan-init.c
@@ -44,6 +44,10 @@ int nutscan_load_upsclient_library(const char *libname_path);
/* FIXME: would be good to get more from /etc/ld.so.conf[.d] */
char * search_paths[] = {
+ "@avahi@",
+ "@freeipmi@",
+ "@libusb@",
+ "@neon@",
LIBDIR,
"/usr/lib64",
"/lib64",