forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/829705 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
59c02db
commit b24dbb2
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
https://github.com/linux-nvme/nvme-cli/commit/4729b13f36d4713ce1162dc1d4425d44e1474078.patch | ||
https://bugs.gentoo.org/829705 | ||
|
||
From: Ariadne Conill <[email protected]> | ||
Date: Mon, 26 Apr 2021 00:41:20 -0600 | ||
Subject: [PATCH] nvme-rpmb: Add limits.h due to missing PATH_MAX definition | ||
|
||
Commit 21f40f38b introduced new use of PATH_MAX, but did not add the | ||
limits.h header. This resulted in nvme-cli failing to build on | ||
ppc64le systems using the musl C library. | ||
|
||
Signed-off-by: Ariadne Conill <[email protected]> | ||
[dwagner: removed nvme-topology.c bits] | ||
Signed-off-by: Daniel Wagner <[email protected]> | ||
--- a/nvme-rpmb.c | ||
+++ b/nvme-rpmb.c | ||
@@ -25,6 +25,7 @@ | ||
#include <sys/socket.h> | ||
#include <linux/if_alg.h> | ||
#include <linux/socket.h> | ||
+#include <limits.h> | ||
|
||
#include "nvme.h" | ||
#include "libnvme.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters