Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 01:49:26 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268524 - head/usr.bin/mkimg
Message-ID:  <201407110149.s6B1nQCm048167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Fri Jul 11 01:49:25 2014
New Revision: 268524
URL: http://svnweb.freebsd.org/changeset/base/268524

Log:
  Make this compile on older FreeBSD versions that don't have
  APM_ENT_TYPE_APPLE_BOOT.

Modified:
  head/usr.bin/mkimg/apm.c

Modified: head/usr.bin/mkimg/apm.c
==============================================================================
--- head/usr.bin/mkimg/apm.c	Fri Jul 11 01:34:28 2014	(r268523)
+++ head/usr.bin/mkimg/apm.c	Fri Jul 11 01:49:25 2014	(r268524)
@@ -39,6 +39,9 @@ __FBSDID("$FreeBSD$");
 #include "mkimg.h"
 #include "scheme.h"
 
+#ifndef APM_ENT_TYPE_APPLE_BOOT
+#define	APM_ENT_TYPE_APPLE_BOOT		"Apple_Bootstrap"
+#endif
 #ifndef APM_ENT_TYPE_FREEBSD_NANDFS
 #define	APM_ENT_TYPE_FREEBSD_NANDFS	"FreeBSD-nandfs"
 #endif



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