summaryrefslogtreecommitdiffstats
path: root/system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch')
-rw-r--r--system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch b/system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch
index f68c4af0b3..2d452c5582 100644
--- a/system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch
+++ b/system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch
@@ -1,11 +1,11 @@
---- multipathd/Makefile.orig 2017-11-10 17:52:36.070562376 +0200
-+++ multipathd/Makefile 2017-11-10 18:10:47.854895039 +0200
-@@ -11,7 +11,7 @@ CFLAGS += $(BIN_CFLAGS) -I$(multipathdir
+--- multipathd/Makefile.orig 2021-09-08 11:49:01.000000000 +0200
++++ multipathd/Makefile 2021-12-05 23:47:00.654767573 +0100
+@@ -15,7 +15,7 @@
LDFLAGS += $(BIN_LDFLAGS)
LIBDEPS += -L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist \
-L$(mpathcmddir) -lmpathcmd -ludev -ldl -lurcu -lpthread \
- -ldevmapper -lreadline
+ -ldevmapper -lreadline -lncurses
+ CFLAGS += $(shell $(PKGCONFIG) --modversion liburcu 2>/dev/null | \
+ awk -F. '{ printf("-DURCU_VERSION=0x%06x", 256 * ( 256 * $$1 + $$2) + $$3); }')
- ifdef SYSTEMD
- CFLAGS += -DUSE_SYSTEMD=$(SYSTEMD)