about summary refs log tree commit diff
path: root/patch-for-solaris
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 02:36:49 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 02:36:49 +0000
commit70240e92a10d87b8d2ad14812190f123a30652f0 (patch)
tree1f0a8537811c35c0d5d5dfc191eb57edd85f2c03 /patch-for-solaris
parent1bc7c7d8501195a753b1d5544f8af293d5a5a323 (diff)
downloads6-networking-70240e92a10d87b8d2ad14812190f123a30652f0.tar.gz
s6-networking-70240e92a10d87b8d2ad14812190f123a30652f0.tar.xz
s6-networking-70240e92a10d87b8d2ad14812190f123a30652f0.zip
Give Solaris a chance
Diffstat (limited to 'patch-for-solaris')
-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