"typedef struct _PopplerTextSpan PopplerTextSpan" is in glib/poppler-structure-element.h, but already in glib/poppler.h. It cause build failure, at least NetBSD-6.1.4 (with gcc-4.5.3), then it should be removed. It seemt that it is suggested in reviews of Bug#64821 but not refrect to commit.
Fixed in both branches, thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.