From 2eada050baaf166768da4b6f92cc846c1e3f26f2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 16 Dec 2014 02:27:32 +0000 Subject: Test _XOPEN_SOURCE=700, you never know... (but not for Solaris) --- patch-for-solaris | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'patch-for-solaris') diff --git a/patch-for-solaris b/patch-for-solaris index 02f2e3c..fbefc32 100755 --- a/patch-for-solaris +++ b/patch-for-solaris @@ -4,9 +4,13 @@ patchit () { echo '#!/usr/xpg4/bin/sh' > $1.tmp tail -n +2 $1 >> $1.tmp mv -f $1.tmp $1 - chmod 755 $1 + chmod 0755 $1 } +# Solaris doesn't understand POSIX.1-2008 either. +sed -e 's/XOPEN_SOURCE=700/XOPEN_SOURCE=600/' < configure > configure.tmp +mv -f configure.tmp configure + patchit ./configure patchit ./tools/install.sh patchit ./tools/gen-deps.sh -- cgit v1.2.3