Hi Maurice
I tried your patch and i found this small glitch in test/speedtst.c
There is one more "#endif" missing after "#include <values.h>"
There are the additional issues when enabling tiff, png and jpeg. They are not readily available, but need to be installed in --prefix such as /usr/local, /opt or /sw Therefore, the include and lib paths need to be passed to the compiler and the linker.
diff -r '-x*.*o' ../grx249 2/src/makefile.x11 ./src/makefile.x11 14c14 < INCDIR= -I. -I./include -I../include $(X11INCS) ---
INCDIR= -I. -I./include -I../include $(X11INCS) -I$(includedir)
39a40,55
ifeq ($(HAVE_LIBTIFF),y) ADDON_LIBS += -ltiff endif
ifeq ($(HAVE_LIBJPEG),y) ADDON_LIBS += -ljpeg endif
ifeq ($(HAVE_LIBPNG),y) ADDON_LIBS += -lpng endif
ifeq ($(NEED_ZLIB),y) ADDON_LIBS += -lz endif
93a110,111
LIBS= $(GRX20X) $(ADDON_LIBS) $(X11LIBS) -lm
146c164 < $(CC) $(LDOPT) -shared -Wl,-soname,$(notdir $(GRX20SHli)) -o $(GRX20SHna) $(LO) ---
$(CC) $(LDOPT) -shared -lX11 -L/usr/X11/lib -o $(GRX20SHna) $(LO) $(LIBS)