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.
app-misc/mc: fix build failure against glibc-2.23, bug #579858
Reported-by: Thomas D. Bug: https://bugs.gentoo.org/579858 Package-Manager: portage-2.2.28
- Loading branch information
Sergei Trofimovich
committed
Apr 13, 2016
1 parent
4b31e84
commit 0cb0c64
Showing
2 changed files
with
31 additions
and
2 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,28 @@ | ||
From 4ba3a1a92a59658bc9f5f9d0745db8bb829778cb Mon Sep 17 00:00:00 2001 | ||
From: Sergei Trofimovich <[email protected]> | ||
Date: Wed, 13 Apr 2016 23:38:47 +0100 | ||
Subject: [PATCH] filemanager/mountlist.c: add makedev() declaration | ||
|
||
On glibc-2.23 link fails as | ||
|
||
$ mc-9999/src/filemanager/mountlist.c:750: undefined reference to `makedev' | ||
|
||
Reported-by: Thomas D. | ||
Bug: https://bugs.gentoo.org/579858 | ||
Signed-off-by: Sergei Trofimovich <[email protected]> | ||
|
||
diff --git a/src/filemanager/mountlist.c b/src/filemanager/mountlist.c | ||
index 166b246..7d6e178 100644 | ||
--- a/src/filemanager/mountlist.c | ||
+++ b/src/filemanager/mountlist.c | ||
@@ -186,6 +186,7 @@ | ||
|
||
#include "lib/global.h" | ||
#include "lib/strutil.h" /* str_verscmp() */ | ||
+#include "lib/unixcompat.h" /* makedev */ | ||
#include "mountlist.h" | ||
|
||
/*** global variables ****************************************************************************/ | ||
-- | ||
2.8.1 | ||
|
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