The complete source of my build is included within the tar file - there's a file called milhouse.build.0610.tar.gz within the tar file, if you extract this and then extract the contents you'll have all my build scripts, and the configuration for the build, plus all the patches. If you extract the contents of the milhouse tar, cd to a "clean" LibreELEC repository, then run <milhouse tar contents>/config/reset.sh it will apply all of my patches to the repository.
milhouse i am struggeling to rebuild your #0610b with kernel 4.17. That reset.sh applies both patches and after that it becomes tricky. For the live of it i could not figure out how to build it with all the packages updates, which are not in those patches. Probably i need to create a github account. I tried without.
That package problem aside, i try to build just with libreelec.patch and project.patch. The first fail is i need a milhouse.buildcode, but that was easy fixable.
The second one with a clean build
make[3]: Entering directory '/zfs/sky42/libreelec/90/3.42/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/libX11-1.6.5/.x86_64-libreelec-linux-gnu/src/util'
CC makekeys.o
/zfs/sky42/libreelec/90/3.42/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/libX11-1.6.5/src/util/makekeys.c:31:19: fatal error: X11/X.h: No such file or directory
compilation terminated.
make[3]: *** [Makefile:425: makekeys.o] Error 1
make[3]: Leaving directory '/zfs/sky42/libreelec/90/3.42/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/libX11-1.6.5/.x86_64-libreelec-linux-gnu/src/util'
make[2]: *** [Makefile:1426: ../src/util/makekeys] Error 2
make[2]: Leaving directory '/zfs/sky42/libreelec/90/3.42/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/libX11-1.6.5/.x86_64-libreelec-linux-gnu/src'
make[1]: *** [Makefile:519: all-recursive] Error 1
make[1]: Leaving directory '/zfs/sky42/libreelec/90/3.42/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/libX11-1.6.5/.x86_64-libreelec-linux-gnu'
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 2
Display More
I had the same problem as i first tried your 00_mesa1811_xorg120_combo.txt patch and then failed back to PR2739 to get Mesa 18.1.1.
It was fresh checkt out and nothing else than reset.sh followed by make image was done.