git: DragonFly_RELEASE_5_4 Install input{, -event-types}.h to /usr/include/compat/linux too.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Nov 30 12:15:58 PST 2018


commit 4ab02b36f273b4670374e4150a22672b94a7a27a
Author: Sascha Wildner <saw at online.de>
Date:   Fri Nov 30 21:13:02 2018 +0100

    Install input{,-event-types}.h to /usr/include/compat/linux too.
    
    It helps preventing excessive patches in ravenport's weston.
    
    It is kind of experimental, but depending on how useful it
    proves to be for 3rd party software all in all, we will
    eventually remove /usr/include/dev/misc/evdev in the future.
    
    A -I /usr/include/compat is needed to get at these headers using
    "#include <linux/input.h>", etc. They were not put in the default
    include path to mislead configure scripts and the likes.
    
    We will also evaluate if it is worth exposing further linux
    specific headers in this directory.
    
    It might even be that we change the new location again in the
    future.
    
    Requested-by: Peeter Must

Summary of changes:
 Makefile_upgrade.inc       | 1 -
 etc/mtree/BSD.include.dist | 4 ++++
 include/Makefile           | 6 ++++++
 3 files changed, 10 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4ab02b36f273b4670374e4150a22672b94a7a27a


-- 
DragonFly BSD source repository



More information about the Commits mailing list