shithub: mc

Download patch

ref: 883501182d7c7545287b0df0375a8974b853335d
parent: a1967102750788b8f1f8632d82c098becdc46aa9
author: Ori Bernstein <[email protected]>
date: Wed Apr 22 20:01:52 EDT 2015

Fix mbld file to run on plan9.

--- a/libstd/bld.sub
+++ b/libstd/bld.sub
@@ -2,9 +2,11 @@
 	sys+freebsd-x64.myr
 	sys+linux-x64.myr
 	sys+osx-x64.myr
+	sys+plan9-x64.myr
 	syscall+freebsd-x64.s
 	syscall+linux-x64.s
 	syscall+osx-x64.s
+	syscall+plan9-x64.s
 	syserrno+linux.myr
 	syserrno+osx.myr
 	systypes.myr
@@ -11,7 +13,7 @@
 	ifreq+freebsd.myr
 	ifreq+linux.myr
 	ifreq+osx.myr
-	ifreq+plan9.myr	# dummy file: plan9 doesn't have ifreq
+	ifreq.myr	# dummy file: plan9 doesn't have ifreq
 	util+plan9-x64.s
 	util+posixy-x64.s
 ;;
@@ -80,6 +82,7 @@
 	# platform specific files
 	env+plan9.myr
 	env+posixy.myr
+	errno+plan9.myr
 	dir+freebsd.myr
 	dir+linux.myr
 	dir+osx.myr
@@ -89,8 +92,9 @@
 	dial+plan9.myr
 	resolve+posixy.myr
 	resolve+plan9.myr
-	syswrap+plan9.myr
 	syswrap-ss+linux.myr
 	syswrap-ss+osx.myr
+	syswrap-ss+plan9.myr
+	syswrap+plan9.myr
 	syswrap+posixy.myr
 ;;