Thanks, I applied your patch and it built but unfortunately both jgmenu and jgmenu_run produce a core dump and no error messages in the terminal or in ~/.xsession-errs
At the suggestion of jgmenu upstream is also tried:
jgmenu: LIBS += `pkg-config x11 xrandr cairo pango pangocairo $(RSVG_LIB) --libs` $(RSVG_FLAGS)
-jgmenu: LIBS += -pthread -lpng16
Both your patch and -lpng -> -lpng16 will build and generate the following warning:
LINK jgmenu-apps
ld: warning: libintl.so.1, needed by /usr/pkg/lib/libglib-2.0.so, may conflict with libintl.so.8
ld: warning: libintl.so.1, needed by /usr/pkg/lib/libglib-2.0.so, may conflict with libintl.so.8
CC jgmenu-config.o
LINK jgmenu-config
ld: warning: libintl.so.1, needed by /usr/pkg/lib/libglib-2.0.so, may conflict with libintl.so.8
ld: warning: libintl.so.1, needed by /usr/pkg/lib/libglib-2.0.so, may conflict with libintl.so.8
It's getting late in my time zone but will work on tomorrow. Ultimately, if it can be built and I can generate a pkgsrc build, I'd like to submit it.