Hi,
the MacOS patches broke the build here, the attached trivial patch fixes it.
Regards,
Patrick Georgi
- adds missing include
- test(1) doesn't understand == on Solaris, but = seems to be equivalent
Signed-off-by: Patrick Georgi <[EMAIL PROTECTED]>
Index: Makefile
===================================================================
--- Makefile (revision 459)
+++ Makefile (working copy)
@@ -146,7 +146,7 @@
$(Q)printf "#define LINUXBIOS_COMPILE_TIME \"`LANG= date +%T`\"\n" >>
$(obj)/build.h
$(Q)printf "#define LINUXBIOS_COMPILE_BY \"$(shell PATH=$$PATH:/usr/ucb
whoami)\"\n" >> $(obj)/build.h
$(Q)printf "#define LINUXBIOS_COMPILE_HOST \"$(shell hostname)\"\n" >>
$(obj)/build.h
- $(Q)printf "#define LINUXBIOS_COMPILE_DOMAIN \"$(shell test `uname -s`
== "Linux" && dnsdomainname || domainname)\"\n" >> $(obj)/build.h
+ $(Q)printf "#define LINUXBIOS_COMPILE_DOMAIN \"$(shell test `uname -s`
= "Linux" && dnsdomainname || domainname)\"\n" >> $(obj)/build.h
clean:
$(Q)printf " CLEAN $(subst $(shell pwd)/,,$(obj))\n"
Index: util/lar/lib.c
===================================================================
--- util/lar/lib.c (revision 459)
+++ util/lar/lib.c (working copy)
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/types.h>
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios