From owner-svn-src-head@FreeBSD.ORG Mon May 25 20:07:42 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08530106566B; Mon, 25 May 2009 20:07:42 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EB0E48FC0C; Mon, 25 May 2009 20:07:41 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4PK7fl1033486; Mon, 25 May 2009 20:07:41 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4PK7fC1033485; Mon, 25 May 2009 20:07:41 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200905252007.n4PK7fC1033485@svn.freebsd.org> From: Ed Schouten Date: Mon, 25 May 2009 20:07:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192768 - head/usr.bin/kdump X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 20:07:42 -0000 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 to cause a compiler error when included, because it's just there for binary compatibility. Reported by: Andrzej Tobola 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. */"