I know this package is still hardmasked, but you'll probably want to fix this rather trivial fix before unmasking it :)
A lot of the stuff in the util/ subdir wont compile due to link error due to incorrect order of operands, both in the compilation of its own files, and the core libming.so
Basically your merging the LDFlags with the LIBS flags in the Makefile resulting in a
$(LDFLAGS) $(LIBS) $(SOURCE FILES) -o $(OUTPUT)
structure when it should be
-o $(OUTPUT) $(SOURCE FILES) $(LDFLAGS) $(LIBS)
if I recall correctly :)
I will append the 2 makefiles that i have mangled to work with --as-needed. Changes are rather minimal.
Created attachment 96706 [details]
Modified Makefile for ming itself so packages using it don't break with missing calls to php/gif
Created attachment 96707 [details]
modified so things wont break on compilation.
No, we won't unmask this version because it breaks PHP, sorry. Please, submit this upstream, and tell them about the PHP borkage as well.