diff options
author | Nathan <ndowens@artixlinux.org> | 2020-10-24 19:25:51 +0000 |
---|---|---|
committer | Nathan Owens <ndowens@artixlinux.org> | 2020-10-25 22:54:26 +0000 |
commit | de6423ac7185ca1e5b9bd3e8a5682bc523afc197 (patch) | |
tree | 7b1ea9d09c4d5b9486716a8fc64c02122ca3832f /user/rpm/include-fcntl.patch | |
parent | 60c5b0f127e002057c3e057b59da6178808d59d4 (diff) | |
download | packages-de6423ac7185ca1e5b9bd3e8a5682bc523afc197.tar.gz packages-de6423ac7185ca1e5b9bd3e8a5682bc523afc197.tar.bz2 packages-de6423ac7185ca1e5b9bd3e8a5682bc523afc197.tar.xz packages-de6423ac7185ca1e5b9bd3e8a5682bc523afc197.zip |
user/rpm: Add
Diffstat (limited to 'user/rpm/include-fcntl.patch')
-rw-r--r-- | user/rpm/include-fcntl.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/rpm/include-fcntl.patch b/user/rpm/include-fcntl.patch new file mode 100644 index 000000000..611b92935 --- /dev/null +++ b/user/rpm/include-fcntl.patch @@ -0,0 +1,15 @@ +Upstream: Yes, https://github.com/rpm-software-management/rpm/pull/1379 +Reason: Fixes compilation with musl + +diff --git a/lib/rpmdb.c b/lib/rpmdb.c +index 4c10156..7318763 100644 +--- a/lib/rpmdb.c ++++ b/lib/rpmdb.c +@@ -8,6 +8,7 @@ + #include <utime.h> + #include <errno.h> + #include <dirent.h> ++#include <fcntl.h> + + #ifndef DYING /* XXX already in "system.h" */ + #include <fnmatch.h> |