about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 02:35:28 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 02:35:28 +0000
commit670e0a5a9459d255d354337c861f11dc2ca9091d (patch)
treeb49f0f1290f9dae033824b8e861078daf86e0588
parentf327a9e44e9d7aaf541b9faff4fc21ba270d73f7 (diff)
downloads6-linux-utils-670e0a5a9459d255d354337c861f11dc2ca9091d.tar.gz
s6-linux-utils-670e0a5a9459d255d354337c861f11dc2ca9091d.tar.xz
s6-linux-utils-670e0a5a9459d255d354337c861f11dc2ca9091d.zip
Give Solaris a chance
-rwxr-xr-xpatch-for-solaris4
1 files changed, 4 insertions, 0 deletions
diff --git a/patch-for-solaris b/patch-for-solaris
index 02f2e3c..2d1296b 100755
--- a/patch-for-solaris
+++ b/patch-for-solaris
@@ -7,6 +7,10 @@ patchit () {
   chmod 755 $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