A great many thanks for the help here.
There are quite a few different write ups on making patches in gentoo. I am using this one: https://wiki.gentoo.org/wiki//etc/portage/patches I am going to do the following things: 1. I am going to create a directory to put the patch in: 2. mkdir -p /etc/portage/patches/dev-libs/libinput-1.13.2 3. /etc/portage/patches/dev-libs/libinput-1.13.2/prefix-libinput.patch 4. I will then enter the ebuild directory for libinput-1.13.2 and run the following command: 5. ebuild libinput-1.13.2.ebuild clean prepare 6. I will then run ebuild libinput-1.13.2.ebuild digest as you recommended. 7. Finally I will run emerge dev-libs/libinput again and see if it compiles and installs. I am going to do this now. If you think I should change anything in the above list please let me know in a post. Regards MF > >
