svn commit: r192768 - head/usr.bin/kdump

Ed Schouten ed at FreeBSD.org
Mon May 25 20:07:42 UTC 2009


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. */"


More information about the svn-src-all mailing list