pkgsrc/devel/py-gobject/patches/patch-configure
adam 4ba4ce8608 py-gobject: updated to 2.28.7
2.28.7:
- Move property and signal creation into _class_init()
- gio-types.defs: change some enums to flags
- Fix set_qdata warning on accessing NULL gobject property
- Disable introspection support by default
- Don't install codegen for Python 3
- Ship tests/te_ST@nouppera in release tarballs for tests to succeed
- [gi] Port test_properties from static gio to GI Gio
- [python3] fix build. PYcairo_IMPORT doesn't exists anymore
- [python3] Fix maketrans import
- [gi-overrides] fix MessageBox so it correctly handles the type constructor param
- gdbus tests: Fix hang if test case fails
- Fix crash in Gtk.TextIter overrides
- correctly initialize the _gi_cairo_functions array to be zero filled
- [gtk-override] print warning if user imports Gtk 2.0
- Add support for enums in gobject.property
2018-01-23 11:23:12 +00:00

20 lines
500 B
Text

$NetBSD: patch-configure,v 1.2 2018/01/23 11:23:13 adam Exp $
Strengthen a configure test so it doesn't depend on -Werror.
This is not strictly necessary but makes it behave when using the
wrappers to manipulate warning flags.
--- configure.orig 2017-10-13 10:58:18.000000000 +0000
+++ configure
@@ -15506,8 +15506,9 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
int
main ()
{
-PySignal_SetWakeupFd(0);
- ;
+ int (*func)(int);
+ func = PySignal_SetWakeupFd;
+ func(0);
return 0;
}
_ACEOF