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. */"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to