diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-04 11:43:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-04 11:43:04 +0000 |
commit | 56a597689e7509193b0924a635d2022f21b1a3e4 (patch) | |
tree | 476358a5cea634edc1fb0504f6ec03b282cfb83e /app-arch/rpm/files/rpm-4.19.1.1-musl-compat.patch | |
parent | 57e2174dcd454b41778b7b437f88d0a9f1a6e428 (diff) |
gentoo auto-resync : 04:03:2024 - 11:43:04
Diffstat (limited to 'app-arch/rpm/files/rpm-4.19.1.1-musl-compat.patch')
-rw-r--r-- | app-arch/rpm/files/rpm-4.19.1.1-musl-compat.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-arch/rpm/files/rpm-4.19.1.1-musl-compat.patch b/app-arch/rpm/files/rpm-4.19.1.1-musl-compat.patch new file mode 100644 index 000000000000..441689febd5d --- /dev/null +++ b/app-arch/rpm/files/rpm-4.19.1.1-musl-compat.patch @@ -0,0 +1,17 @@ +musl doesn't implement GLOB_BRACE, simply disable it. + +https://bugs.gentoo.org/922286 +https://github.com/rpm-software-management/rpm/issues/2844 +--- a/rpmio/rpmglob.c ++++ b/rpmio/rpmglob.c +@@ -33,6 +33,10 @@ + + #include "debug.h" + ++#ifndef GLOB_BRACE ++#define GLOB_BRACE 0 ++#endif ++ + /* Return 1 if pattern contains a magic char, see glob(7) for a list */ + static int ismagic(const char *pattern) + { |