Fedora rawhide has updated to lua 5.5. gnuplot fails to build with:
Making all in docs
make[2]: Entering directory '/home/orion/fedora/gnuplot/gnuplot-6.0.3-build/gnuplot-6.0.3/minimal/docs'
lua ../../term/lua/gnuplot-tikz.lua termhelp > gnuplot-tikz.help
lua: ../../term/lua/gnuplot-tikz.lua:2546: attempt to assign to const variable 'w'
make[2]: *** [Makefile:1058: gnuplot-tikz.help] Error 1
I don't have lua 5.5 yet, so this patch is just a guess based on the "changes" section of the README on their web site. Could you please try it?
That appears to have done the trick. Thanks!