Index: head/x11-toolkits/libhandy/Makefile =================================================================== --- head/x11-toolkits/libhandy/Makefile (revision 524964) +++ head/x11-toolkits/libhandy/Makefile (revision 524965) @@ -1,30 +1,27 @@ # $FreeBSD$ PORTNAME= libhandy PORTVERSION= 0.0.10 CATEGORIES= x11-toolkits gnome DIST_SUBDIR= gnome -PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/commit/ -PATCHFILES+= e1c500dd02b1.patch:-p1 - MAINTAINER= gnome@FreeBSD.org COMMENT= Library with GTK+ widgets for mobile phones LICENSE= LGPL21 BUILD_DEPENDS= valac:lang/vala LIB_DEPENDS= libgladeui-2.so:devel/glade USES= compiler:c11 gettext gnome meson pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dtests=false USE_GITLAB= yes GL_SITE= https://source.puri.sm/ GL_ACCOUNT= Librem5 GL_COMMIT= 2d777677352d037b6f5cc24d9c1c8d9a74ac0ded .include Index: head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh =================================================================== --- head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh (nonexistent) +++ head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh (revision 524965) @@ -0,0 +1,21 @@ +From e1c500dd02b14285e69544ad4384d8ed6e1c5109 Mon Sep 17 00:00:00 2001 +From: Ting-Wei Lan +Date: Wed, 10 Jul 2019 21:01:14 +0800 +Subject: [PATCH] Replace \+ with \{1,\} + +\+ is a non-standard GNU extension recognized by GNU sed. However, it +doesn't work on FreeBSD, causing the generated hdy_init_public_types +function to be empty. + +Fixes https://source.puri.sm/Librem5/libhandy/issues/135 +--- src/gen-public-types.sh.orig 2019-06-12 15:30:57 UTC ++++ src/gen-public-types.sh +@@ -16,7 +16,7 @@ void + hdy_init_public_types (void) + {' + +-sed -ne 's/^#define \+\(HDY_TYPE_[A-Z0-9_]\+\) \+.*/ g_type_ensure (\1);/p' "$@" | sort ++sed -ne 's/^#define \{1,\}\(HDY_TYPE_[A-Z0-9_]\{1,\}\) \{1,\}.*/ g_type_ensure (\1);/p' "$@" | sort + + echo '} + ' Property changes on: head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property