Fix build with GLib 2.68 and later. Taken from upstream pull request: https://github.com/autotrace/autotrace/pull/41 diff --git a/src/autotrace.h b/src/autotrace.h --- a/src/autotrace.h +++ b/src/autotrace.h @@ -23,6 +23,9 @@ #include +#include "types.h" +#include "color.h" + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -35,9 +38,6 @@ extern "C" { * Typedefs * ===================================================================== */ -#include "types.h" -#include "color.h" - /* Third degree is the highest we deal with. */ enum _at_polynomial_degree { AT_LINEARTYPE = 1, diff --git a/src/color.h b/src/color.h --- a/src/color.h +++ b/src/color.h @@ -24,6 +24,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef struct _at_color at_color; struct _at_color { guint8 r; @@ -43,4 +47,7 @@ void at_color_free(at_color * color); GType at_color_get_type(void); #define AT_TYPE_COLOR (at_color_get_type ()) +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* not AT_COLOR_H */ '/guix/log/gnu/packages/matrix.scm'>logtreecommitdiff
AgeCommit message (Expand)Author
2022-06-02gnu: Remove python-atomicwrites-1.4....* gnu/packages/python-xyz.scm (python-atomicwrites-1.4): Remove variable. * gnu/packages/matrix.scm (python-matrix-nio)[propagated-inputs]: Replace python-atomicwrites-1.4 with python-atomicwrites. Ricardo Wurmus
2022-05-12gnu: python-hypothesis-6.23: Update to 6.43.3....* gnu/packages/check.scm (python-hypothesis-6.23): Update to 6.43.3 and rename to... (python-hypothesis-next): ... this. [propagated-inputs]: Add python-pytest. * gnu/packages/matrix.scm (python-matrix-nio): Adjust accordingly. * gnu/packages/python-web.scm (python-h2): Likewise. * gnu/packages/check.scm (python-hypothesis)[home-page]: Update URL. Maxim Cournoyer
2022-01-17gnu: pantalaimon: Add needed inputs...* gnu/packages/matrix.scm (pantalaimon) <propagated-inputs>: Add python-dbus, python-notify2, python-pydbus, and python-pygobject. <arguments>: Run sanity-check phase. Co-authored-by: Aleksandr Vityazev <avityazev@posteo.org> Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Morgan Smith
2022-01-12gnu: python-matrix-synapse-ldap3: Fix build....* gnu/packages/matrix.scm (python-matrix-synapse-ldap3)[arguments]: Delete sanity check. Marius Bakke
2022-01-11gnu: pantalaimon: Disable sanity check....* gnu/packages/matrix.scm (pantalaimon)[arguments]: Disable sanity-check phase. Marius Bakke