summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/files/0001-Fix-missing-basename-include-on-macOS.patch
diff options
context:
space:
mode:
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.patch26
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 @@
1From b2e67642fd8cb64d8cb1cca9e759396c1c10807d Mon Sep 17 00:00:00 2001
2From: Calvin Buckley <calvin@cmpct.info>
3Date: Tue, 11 Jul 2023 19:22:41 -0300
4Subject: [PATCH] Fix missing basename include on macOS
5
6Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/commit/b2e67642fd8cb64d8cb1cca9e759396c1c10807d]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 tools/rpmuncompress.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
13index 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--
252.43.0
26