depot/third_party/nixpkgs/pkgs/applications/misc/nut/hardcode-paths.patch
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

15 lines
430 B
Diff

--- a/common/common.c
+++ b/common/common.c
@@ -991,6 +991,12 @@ ssize_t select_write(const int fd, const void *buf, const size_t buflen, const t
* communications media and/or vendor protocol.
*/
static const char * search_paths[] = {
+ "@avahi@",
+ "@freeipmi@",
+ "@libusb@",
+ "@neon@",
+ "@libmodbus@",
+ "@netsnmp@",
/* Use the library path (and bitness) provided during ./configure first */
LIBDIR,
"/usr"LIBDIR,