diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-03-16 12:38:34 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-03-16 13:35:56 +0000 |
commit | d540351d08f0193207f1e4f06e72ea46ce5f1e90 (patch) | |
tree | 88c06f4a6c7a2ed22c5aa674c5bcfda744fb79b1 /graphics/inkscape/distinfo | |
parent | 7fa8043555ffaeedf0e3cbc4dfc6571b11c1fef9 (diff) | |
download | ports-d540351d08f0193207f1e4f06e72ea46ce5f1e90.tar.gz ports-d540351d08f0193207f1e4f06e72ea46ce5f1e90.zip |
graphics/inkscape: unbreak with glib 2.76
src/ui/widget/selected-style.cpp:111:6: error: statement expression not allowed at file scope
{g_strdup("application/x-oswb-color"), 0, APP_OSWB_COLOR}
^
/usr/local/include/glib-2.0/glib/gstrfuncs.h:209:6: note: expanded from macro 'g_strdup'
(G_LIKELY ((STR) != NULL) ? \
^
/usr/local/include/glib-2.0/glib/gmacros.h:1245:43: note: expanded from macro 'G_LIKELY'
#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
^
/usr/local/include/glib-2.0/glib/gmacros.h:1244:31: note: expanded from macro '_G_BOOLEAN_EXPR'
#define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
^
/usr/local/include/glib-2.0/glib/gmacros.h:1236:19: note: expanded from macro '_G_BOOLEAN_EXPR_IMPL'
G_GNUC_EXTENSION ({ \
^
src/ui/widget/selected-style.cpp:111:6: error: statement expression not allowed at file scope
/usr/local/include/glib-2.0/glib/gstrfuncs.h:210:24: note: expanded from macro 'g_strdup'
G_GNUC_EXTENSION ({ \
^
src/ui/widget/selected-style.cpp:114:40: error: invalid application of 'sizeof' to an incomplete type 'const GtkTargetEntry []'
static guint nui_drop_target_entries = G_N_ELEMENTS(ui_drop_target_entries);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gmacros.h:952:36: note: expanded from macro 'G_N_ELEMENTS'
#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
^~~~~
PR: 270087
Reported by: antoine (via exp-run)
Diffstat (limited to 'graphics/inkscape/distinfo')
-rw-r--r-- | graphics/inkscape/distinfo | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo index 939477037349..78e786d06465 100644 --- a/graphics/inkscape/distinfo +++ b/graphics/inkscape/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1670503504 SHA256 (inkscape-1.2.2.tar.xz) = a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4 SIZE (inkscape-1.2.2.tar.xz) = 39392040 +SHA256 (781e29cd3538.patch) = 0dda9fb22107b81768e41c38adacf4920c9ecd2ca6ca47efa90693481b72e1b8 +SIZE (781e29cd3538.patch) = 9262 |