svn commit: r209123 - head/usr.sbin/sysinstall
Ed Schouten
ed at FreeBSD.org
Sun Jun 13 11:27:45 UTC 2010
Author: ed
Date: Sun Jun 13 11:27:44 2010
New Revision: 209123
URL: http://svn.freebsd.org/changeset/base/209123
Log:
Unbreak the build on less common architectures.
Submitted by: Andreas Tobler <andreast list fgznet ch>
Modified:
head/usr.sbin/sysinstall/install.c
Modified: head/usr.sbin/sysinstall/install.c
==============================================================================
--- head/usr.sbin/sysinstall/install.c Sun Jun 13 10:58:50 2010 (r209122)
+++ head/usr.sbin/sysinstall/install.c Sun Jun 13 11:27:44 2010 (r209123)
@@ -628,8 +628,11 @@ installExpress(dialogMenuItem *self)
int
installStandard(dialogMenuItem *self)
{
- int i, tries = 0;
+ int i;
+#ifdef WITH_SLICES
+ int tries = 0;
Device **devs;
+#endif
variable_set2(SYSTEM_STATE, "standard", 0);
dialog_clear_norefresh();
@@ -874,7 +877,9 @@ installConfigure(void)
int
installFixupBase(dialogMenuItem *self)
{
+#if defined(__i386__) || defined(__amd64__)
FILE *fp;
+#endif
#ifdef __ia64__
const char *efi_mntpt;
#endif
More information about the svn-src-head
mailing list