public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mc/, app-misc/mc/files/
Date: Wed, 13 Apr 2016 22:47:27 +0000 (UTC)	[thread overview]
Message-ID: <1460587638.0cb0c6445bfe23a4d4714e15fc5baa6ecfacad25.slyfox@gentoo> (raw)

commit:     0cb0c6445bfe23a4d4714e15fc5baa6ecfacad25
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 22:46:46 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 22:47:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb0c644

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

 app-misc/mc/files/mc-4.8.16-makedev.patch | 28 ++++++++++++++++++++++++++++
 app-misc/mc/mc-4.8.16.ebuild              |  5 +++--
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/app-misc/mc/files/mc-4.8.16-makedev.patch b/app-misc/mc/files/mc-4.8.16-makedev.patch
new file mode 100644
index 0000000..8e7fd0e
--- /dev/null
+++ b/app-misc/mc/files/mc-4.8.16-makedev.patch
@@ -0,0 +1,28 @@
+From 4ba3a1a92a59658bc9f5f9d0745db8bb829778cb Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyfox@gentoo.org>
+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 <slyfox@gentoo.org>
+
+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
+

diff --git a/app-misc/mc/mc-4.8.16.ebuild b/app-misc/mc/mc-4.8.16.ebuild
index 4d076d2..32d1189 100644
--- a/app-misc/mc/mc-4.8.16.ebuild
+++ b/app-misc/mc/mc-4.8.16.ebuild
@@ -42,8 +42,9 @@ DEPEND="${RDEPEND}
 [[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
 
 PATCHES=(
-	"${FILESDIR}/${PN}-4.8.13-tinfo.patch"
-	"${FILESDIR}/${PN}-4.8.15-ebuild_syntax_EAPI-6.patch"
+	"${FILESDIR}"/${PN}-4.8.13-tinfo.patch
+	"${FILESDIR}"/${PN}-4.8.15-ebuild_syntax_EAPI-6.patch
+	"${FILESDIR}"/${PN}-4.8.16-makedev.patch
 )
 
 S=${WORKDIR}/${MY_P}


             reply	other threads:[~2016-04-13 22:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 22:47 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-16  9:10 [gentoo-commits] repo/gentoo:master commit in: app-misc/mc/, app-misc/mc/files/ Viorel Munteanu
2023-10-22 10:04 Marek Szuba
2023-08-19 11:15 Marek Szuba
2023-03-22 23:43 Marek Szuba
2023-01-24 11:01 Marek Szuba
2022-04-05 15:25 Lars Wendler
2021-10-01  9:43 Lars Wendler
2021-03-31 22:17 Sergei Trofimovich
2021-02-03  8:09 Sergei Trofimovich
2020-11-27 10:54 Sergei Trofimovich
2020-03-03  9:42 Sergei Trofimovich
2019-03-10 17:43 Lars Wendler
2017-12-02 12:12 Sergei Trofimovich
2015-12-23  8:33 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460587638.0cb0c6445bfe23a4d4714e15fc5baa6ecfacad25.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox