[packages/mono] - fix building with glibc 2.28 - rel 3

baggins baggins at pld-linux.org
Sun Oct 21 18:13:20 CEST 2018


commit 9fdd02d76eddd2625b09fc056dc7c20f410fa255
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 21 18:13:02 2018 +0200

    - fix building with glibc 2.28
    - rel 3

 glibc.patch | 10 ++++++++++
 mono.spec   |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/mono.spec b/mono.spec
index 6706a1e..e119847 100644
--- a/mono.spec
+++ b/mono.spec
@@ -14,7 +14,7 @@ Summary:	Common Language Infrastructure implementation
 Summary(pl.UTF-8):	Implementacja Common Language Infrastructure
 Name:		mono
 Version:	4.8.1.0
-Release:	2
+Release:	3
 License:	LGPL v2 (VM), MIT/GPL v2 (C# compilers), MIT/MSPL/Apache v2.0 (classes), MIT/GPL v2 (tools)
 Group:		Development/Languages
 Source0:	http://download.mono-project.com/sources/mono/%{name}-%{version}.tar.bz2
@@ -28,6 +28,7 @@ Patch8:		%{name}-docs-build.patch
 Patch9:		%{name}-format-security.patch
 Patch10:	%{name}-x32.patch
 Patch11:	consistent-rpm-prov-req.patch
+Patch12:	glibc.patch
 URL:		http://www.mono-project.com/
 %if %(test -r /dev/random; echo $?)
 BuildRequires:	ACCESSIBLE_/dev/random
@@ -224,6 +225,7 @@ oraz dotGNU.
 %patch9 -p1
 #patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 # for jay
 cat >> mcs/build/config-default.make <<'EOF'
diff --git a/glibc.patch b/glibc.patch
new file mode 100644
index 0000000..fe19cef
--- /dev/null
+++ b/glibc.patch
@@ -0,0 +1,10 @@
+--- mono-4.8.1/mono/io-layer/processes.c~	2017-04-12 12:51:21.000000000 +0200
++++ mono-4.8.1/mono/io-layer/processes.c	2018-10-21 17:53:30.117068850 +0200
+@@ -29,6 +29,7 @@
+ #include <sys/param.h>
+ #endif
+ #include <ctype.h>
++#include <sys/sysmacros.h>
+ 
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mono.git/commitdiff/9fdd02d76eddd2625b09fc056dc7c20f410fa255



More information about the pld-cvs-commit mailing list