Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
ModemManager
ModemManager-fix-new-glib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ModemManager-fix-new-glib.patch of Package ModemManager
Index: ModemManager-0.4/libqcdm/tests/test-qcdm.c =================================================================== --- ModemManager-0.4.orig/libqcdm/tests/test-qcdm.c +++ ModemManager-0.4/libqcdm/tests/test-qcdm.c @@ -28,7 +28,11 @@ typedef struct { gpointer com_data; } TestData; +#if GLIB_CHECK_VERSION(2,25,12) +typedef GTestFixtureFunc TCFunc; +#else typedef void (*TCFunc)(void); +#endif #define TESTCASE(t, d) g_test_create_case (#t, 0, d, NULL, (TCFunc) t, NULL) Index: ModemManager-0.4/src/tests/test-modem-helpers.c =================================================================== --- ModemManager-0.4.orig/src/tests/test-modem-helpers.c +++ ModemManager-0.4/src/tests/test-modem-helpers.c @@ -791,7 +791,11 @@ test_data_free (TestData *data) } +#if GLIB_CHECK_VERSION(2,25,12) +typedef GTestFixtureFunc TCFunc; +#else typedef void (*TCFunc)(void); +#endif #define TESTCASE(t, d) g_test_create_case (#t, 0, d, NULL, (TCFunc) t, NULL)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor