ChangeSet 1.994, 2003/02/19 11:21:54-08:00, arnd@bergmann-dalldorf.de

[PATCH] KLIBC: fix for non-i386 build

I just tried building on s390x and only needed this trivial fix. Unfortunately,
2.5.61 does not boot on s390x yet, so I could not do run-time tests.


diff -Nru a/usr/lib/socketcalls.pl b/usr/lib/socketcalls.pl
--- a/usr/lib/socketcalls.pl	Wed Feb 19 11:40:58 2003
+++ b/usr/lib/socketcalls.pl	Wed Feb 19 11:40:58 2003
@@ -39,7 +39,7 @@
 	    print OUT "\tjmp __socketcall_common\n";
 	    print OUT "\t.size ${name},.-${name}\n";
 	} else {
-	    open(OUT, "> ${obj}/${name}.c")
+	    open(OUT, "> ${obj}/socketcalls/${name}.c")
 		or die "$0: Cannot open socketcalls/${name}.c\n";
 	    print OUT "#include \"socketcommon.h\"\n\n";