Created attachment 151508 [details] unbreak libgit2-glib - fix build - update to 0.0.24 - remove MAKE_JOBS_UNSAFE - sort pkg-plist It is better to apply this after PR 196662 is committed, because it is adding threads support. PR 196177 actually not fixing the build. Build log is here: http://people.freebsd.org/~rm/libgit2-glib-0.0.24.log
Auto-assigned to maintainer gnome@FreeBSD.org
What's the purpose of the patch? Otherwise duplicate of 196177.
Purpose is the fixing of this build errors (see the build log in 196177): """ gmake[3]: Entering directory '/mnt/media/d1/ports/devel/libgit2-glib/work/libgit2-glib-0.0.24/libgit2-glib' GEN ggit-enum-types.c /usr/local/bin/glib-mkenums: ggit-types.h:967: Failed to parse ` GGIT_STATUS_OPTION_INCLUDE_UNTRACKED | ' /usr/local/bin/glib-mkenums: ggit-types.h:1063: Failed to parse ` GGIT_DIFF_BREAK_REWRITES), ' GEN ggit-enum-types.h /usr/local/bin/glib-mkenums: ggit-types.h:967: Failed to parse ` GGIT_STATUS_OPTION_INCLUDE_UNTRACKED | ' /usr/local/bin/glib-mkenums: ggit-types.h:1063: Failed to parse ` GGIT_DIFF_BREAK_REWRITES), ' gmake all-am """ And MAKE_JOBS_UNSAFE is not needed there.
That's funny because in my tests those parsing error blocked successfull installation, and now it's not. But I'd fix them anyway.
A commit references this bug: Author: amdmi3 Date: Thu Jan 15 12:21:58 UTC 2015 New revision: 377086 URL: https://svnweb.freebsd.org/changeset/ports/377086 Log: - Fix glib-mkenums warnings (which may lead to errors) - Remove MAKE_JOBS_UNSAFE - Sort plist PR: 196663 Submitted by: rm@FreeBSD.org Approved by: kwm Changes: head/devel/libgit2-glib/Makefile head/devel/libgit2-glib/files/ head/devel/libgit2-glib/files/patch-libgit2-glib__ggit-types.h head/devel/libgit2-glib/pkg-plist