diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch b/meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch new file mode 100644 index 0000000000..a93597a835 --- /dev/null +++ b/meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From b2e67642fd8cb64d8cb1cca9e759396c1c10807d Mon Sep 17 00:00:00 2001 | ||
2 | From: Calvin Buckley <calvin@cmpct.info> | ||
3 | Date: Tue, 11 Jul 2023 19:22:41 -0300 | ||
4 | Subject: [PATCH] Fix missing basename include on macOS | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/commit/b2e67642fd8cb64d8cb1cca9e759396c1c10807d] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | tools/rpmuncompress.c | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c | ||
13 | index bd4146d54..58ddf5683 100644 | ||
14 | --- a/tools/rpmuncompress.c | ||
15 | +++ b/tools/rpmuncompress.c | ||
16 | @@ -1,6 +1,7 @@ | ||
17 | #include "system.h" | ||
18 | |||
19 | #include <popt.h> | ||
20 | +#include <libgen.h> | ||
21 | #include <errno.h> | ||
22 | #include <stdio.h> | ||
23 | #include <string.h> | ||
24 | -- | ||
25 | 2.43.0 | ||
26 | |||