aboutsummaryrefslogtreecommitdiffstats
path: root/main/lvm2/fix-implicit-basename.patch
blob: 25748e3ede9bfe5fdbdc64179306bc8961545147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/16103

diff -upr LVM2.2.03.23.orig/lib/device/device_id.c LVM2.2.03.23/lib/device/device_id.c
--- LVM2.2.03.23.orig/lib/device/device_id.c	2024-05-12 12:05:45.824137483 +0200
+++ LVM2.2.03.23/lib/device/device_id.c	2024-05-12 12:06:00.537497883 +0200
@@ -30,6 +30,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <time.h>
+#include <libgen.h>
 #include <sys/types.h>
 #include <sys/file.h>
 #include <sys/sysmacros.h>