[GB.PDF]
* BUG: Make 'gb.pdf' compile with poppler 25.12.0.
Origin: https://gitlab.com/gambas/gambas/-/commit/
976e7a42f651ebcccc5e6835329889df60a03ed1
Gbp-Pq: Name Make-gb.pdf-compile-with-poppler-25.12.0.patch
AC_DEFINE_UNQUOTED(POPPLER_VERSION_24_12_0, $((1-$?)), Poppler version >= 24.12.0)
$PKG_CONFIG --atleast-version=25.01.0 poppler
AC_DEFINE_UNQUOTED(POPPLER_VERSION_25_01_0, $((1-$?)), Poppler version >= 25.01.0)
+ $PKG_CONFIG --atleast-version=25.12.0 poppler
+ AC_DEFINE_UNQUOTED(POPPLER_VERSION_25_12_0, $((1-$?)), Poppler version >= 25.12.0)
fi
AC_CONFIG_FILES([\
#include "UTF.h"
#endif
+#if POPPLER_VERSION_25_12_0
+#define getLength size
+#endif
+
/***************************************************************************/
static CPDFRECT *create_rect(void)