Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2010 11:27:45 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209123 - head/usr.sbin/sysinstall
Message-ID:  <201006131127.o5DBRjuJ011307@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006131127.o5DBRjuJ011307>