[arch-commits] Commit in mono/trunk (PKGBUILD mono-1.9.1-wapi_glop.diff)

daniel at archlinux.org daniel at archlinux.org
Wed Jul 23 14:40:36 UTC 2008


    Date: Wednesday, July 23, 2008 @ 10:40:36
  Author: daniel
Revision: 6071

Add patch to fix FS#10991

Added:
  mono/trunk/mono-1.9.1-wapi_glop.diff
Modified:
  mono/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |    9 ++++++---
 mono-1.9.1-wapi_glop.diff |   16 ++++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-23 05:22:14 UTC (rev 6070)
+++ PKGBUILD	2008-07-23 14:40:36 UTC (rev 6071)
@@ -4,7 +4,7 @@
 
 pkgname=mono
 pkgver=1.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Free implementation of the .NET platform including runtime and compiler"
 arch=(i686 x86_64)
 license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11')
@@ -13,9 +13,11 @@
 makedepends=('pkgconfig')
 options=('!libtool' '!makeflags')
 source=(http://www.go-mono.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-        mono.rc.d)
+        mono.rc.d
+	mono-1.9.1-wapi_glop.diff)
 md5sums=('6610c3b999d791553a9dc21059ca9d35'
-         '8315e46c6a6e9625502521fc0ad1a322')
+         '8315e46c6a6e9625502521fc0ad1a322'
+	 'dbedac8463eceba2b05194d4e8ceda6c')
 
 build() {
   # get rid of that .wapi errors; thanks to brice
@@ -32,6 +34,7 @@
               --with-tls=pthread --with-jit=yes --with-preview=yes \
               --with-sigaltstack=yes --enable-nunit-tests \
 	      --with-moonlight=yes
+  patch -Np0 -i ../mono-1.9.1-wapi_glop.diff || return 1
   make || return 1
   sed -i "/NO_INSTALL = yes/d" mcs/nunit20/nunit-console/Makefile
   make DESTDIR=${startdir}/pkg install

Added: mono-1.9.1-wapi_glop.diff
===================================================================
--- mono-1.9.1-wapi_glop.diff	                        (rev 0)
+++ mono-1.9.1-wapi_glop.diff	2008-07-23 14:40:36 UTC (rev 6071)
@@ -0,0 +1,16 @@
+--- ./mono/io-layer/wapi_glob.c.orig	2008-06-13 09:27:08.361391740 +0200
++++ ./mono/io-layer/wapi_glob.c	2008-06-13 09:27:36.338060353 +0200
+@@ -52,6 +52,13 @@
+ #include <string.h>
+ #include <unistd.h>
+ 
++#if defined(_SC_ARG_MAX)
++# if defined(ARG_MAX)
++#    undef ARG_MAX
++# endif
++# define ARG_MAX sysconf (_SC_ARG_MAX)
++#endif"
++
+ #include "wapi_glob.h"
+ 
+ #define	EOS		'\0'





More information about the arch-commits mailing list