aboutsummaryrefslogtreecommitdiff
path: root/system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2021-12-05 23:56:50 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:43 +0700
commit7b67cc3cb800de0e282408a68d77fc815100a1bb (patch)
treead2453dd8f7f1a97d5add3cadfd73680048b9cf8 /system/multipath-tools/0002-multipathd-add-ncurses-to-linker.patch
parent6a069cbf6fbea28c13129e7d2027e944b9a401d3 (diff)
system/multipath-tools: Updated for version 0.8.7.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 f68c4af0b3329..2d452c558236e 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)