From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/
Date: Wed, 30 Nov 2016 22:58:35 +0000 (UTC) [thread overview]
Message-ID: <1480546416.b435de6c181413d73aa1e94f4f9de76e9adaaeee.slyfox@gentoo> (raw)
commit: b435de6c181413d73aa1e94f4f9de76e9adaaeee
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 22:53:25 2016 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 22:53:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b435de6c
dev-lang/mono: fix makedev() declaration on glibc-2.24
Package-Manager: portage-2.3.2
dev-lang/mono/files/mono-4.8.0.371-makedev.patch | 34 ++++++++++++++++++++++++
dev-lang/mono/mono-4.8.0.371.ebuild | 6 ++++-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/dev-lang/mono/files/mono-4.8.0.371-makedev.patch b/dev-lang/mono/files/mono-4.8.0.371-makedev.patch
new file mode 100644
index 00000000..7a4a44b
--- /dev/null
+++ b/dev-lang/mono/files/mono-4.8.0.371-makedev.patch
@@ -0,0 +1,34 @@
+https://bugs.gentoo.org/575232
+diff --git a/configure.ac b/configure.ac
+index fa5977b..2832c69 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -416,6 +416,10 @@ AC_HEADER_STDC
+ AC_LIBTOOL_WIN32_DLL
+ # This causes monodis to not link correctly
+ #AC_DISABLE_FAST_INSTALL
++
++#lookup makedev() header
++AC_HEADER_MAJOR
++
+ AM_PROG_LIBTOOL
+ # Use dolt (http://dolt.freedesktop.org/) instead of libtool for building.
+ DOLT
+diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c
+index 53c271a..7ff8d03 100644
+--- a/mono/io-layer/processes.c
++++ b/mono/io-layer/processes.c
+@@ -45,6 +45,13 @@
+ #include <utime.h>
+ #endif
+
++/* makedev() macro */
++#ifdef MAJOR_IN_MKDEV
++#include <sys/mkdev.h>
++#elif defined MAJOR_IN_SYSMACROS
++#include <sys/sysmacros.h>
++#endif
++
+ /* sys/resource.h (for rusage) is required when using osx 10.3 (but not 10.4) */
+ #ifdef __APPLE__
+ #include <TargetConditionals.h>
diff --git a/dev-lang/mono/mono-4.8.0.371.ebuild b/dev-lang/mono/mono-4.8.0.371.ebuild
index fa00af0..4a4e512 100644
--- a/dev-lang/mono/mono-4.8.0.371.ebuild
+++ b/dev-lang/mono/mono-4.8.0.371.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal
+inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
HOMEPAGE="http://www.mono-project.com/Main_Page"
@@ -33,6 +33,8 @@ DEPEND="${COMMONDEPEND}
!dev-lang/mono-basic
"
+PATCHES=("${FILESDIR}"/${PN}-4.8.0.371-makedev.patch)
+
S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
pkg_pretend() {
@@ -73,6 +75,8 @@ src_prepare() {
#append-flags -fPIC
default
+ # PATCHES contains configure.ac patch
+ eautoreconf
multilib_copy_sources
}
next reply other threads:[~2016-11-30 22:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 22:58 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-09 18:11 [gentoo-commits] repo/gentoo:master commit in: dev-lang/mono/files/, dev-lang/mono/ Sam James
2022-01-13 1:42 Sam James
2018-06-26 14:30 Mikhail Pukhlikov
2018-03-30 17:26 Sergei Trofimovich
2016-12-01 22:05 Sergei Trofimovich
2015-12-10 8:07 Heather Cynede
2015-08-12 14:00 Heather Cynede
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=1480546416.b435de6c181413d73aa1e94f4f9de76e9adaaeee.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