[Bug 243267] graphics/gimp-app: 2.10.14,1 crashes on startup in gimp_restore (upgrade from 2.8-something): assert failure in json_object_object_add_ex()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 12 23:10:16 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243267

--- Comment #6 from Marcin Cieślak <saper at saper.info> ---
Quick workaround:

apply this patch to devel/json-c/Makefile:

--- Makefile.bak        2020-01-12 23:59:28.538313000 +0100
+++ Makefile    2020-01-13 00:01:38.408512000 +0100
@@ -25,6 +25,10 @@

 post-patch:
        @${REINPLACE_CMD} -e 's| -Werror||g' ${WRKSRC}/Makefile.in
+       @cd ${WRKSRC}; \
+               ${FIND} . -name '*.[hc]' -type f \
+               -exec ${SED} -i '' -e
"s,json_object_get_type,own_json_object_get_type,g" {} +
+

 post-install:
        ${INSTALL_DATA} ${WRKSRC}/json_object_private.h
${STAGEDIR}${PREFIX}/include/json-c/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list