about summary refs log tree commit diff
path: root/pkgs/applications/misc/nut/hardcode-paths.patch
blob: a58d402a20589c8dde80934ab86e9605c1fc42ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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,