From nobody@FreeBSD.org  Sun Sep 15 19:06:15 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id C84E664D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2013 19:06:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B60882096
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2013 19:06:15 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8FJ6FHO077656
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Sep 2013 19:06:15 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8FJ6Fcw077649;
	Sun, 15 Sep 2013 19:06:15 GMT
	(envelope-from nobody)
Message-Id: <201309151906.r8FJ6Fcw077649@oldred.freebsd.org>
Date: Sun, 15 Sep 2013 19:06:15 GMT
From: "Bjoern A. Zeeb" <bz@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ppp compilation picks up base system header not src/ ones
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182123
>Category:       bin
>Synopsis:       ppp compilation picks up base system header not src/ ones
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 15 19:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        10-CURRENT
>Organization:
>Environment:
>Description:
ppp compilation seems to pick up base system headers not the ones from src/

>How-To-Repeat:
Example:

patch src/sys/netgraph/ng_pppoe.h (say add another field to the enum) and try to make use of the new entry in usr.sbin/ppp/ether.c

recompile ppp or rather do a full buildworld and it will fail not seeing the new entry.

Go to src/include and the a make install and on next compile (buildworld) ppp will just compile.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
