Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 20:07:41 +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: r192768 - head/usr.bin/kdump
Message-ID:  <200905252007.n4PK7fC1033485@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Mon May 25 20:07:41 2009
New Revision: 192768
URL: http://svn.freebsd.org/changeset/base/192768

Log:
  Fix kdump build when building it by hand.
  
  I don't entirely like this approach, but it will only be temporarily,
  namely until we get rid of COMPAT_43TTY. I do want <sys/ioctl_compat.h>
  to cause a compiler error when included, because it's just there for
  binary compatibility.
  
  Reported by:	Andrzej Tobola <ato iem pw edu pl>

Modified:
  head/usr.bin/kdump/mkioctls

Modified: head/usr.bin/kdump/mkioctls
==============================================================================
--- head/usr.bin/kdump/mkioctls	Mon May 25 19:55:00 2009	(r192767)
+++ head/usr.bin/kdump/mkioctls	Mon May 25 20:07:41 2009	(r192768)
@@ -32,7 +32,7 @@ ioctl_includes=`
 `
 
 awk -v x="$ioctl_includes" 'BEGIN {print x}' |
-	gcc -E -I$1 -dM - |
+	gcc -E -I$1 -dM -DCOMPAT_43TTY - |
 	awk -v ioctl_includes="$ioctl_includes" -v use_switch="$use_switch" '
 BEGIN {
 	print "/* XXX obnoxious prerequisites. */"



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