ports/x11/py-gtk2/patches/patch-pango_override

16 lines
348 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Provide decl for pango_font_metrics_new(), not declared in a public header
any more.
Index: pango.override
--- pango.override.orig
+++ pango.override
@@ -27,6 +27,8 @@ headers
#include <pygobject.h>
#include <pango/pango.h>
+PangoFontMetrics *pango_font_metrics_new(void);
+
typedef struct {
PyObject *func, *data;
} PyGtkCustomNotify;