Date: Sun, 2 Feb 2020 14:41:12 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r524965 - in head/x11-toolkits/libhandy: . files Message-ID: <202002021441.012EfCaQ019566@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sun Feb 2 14:41:11 2020 New Revision: 524965 URL: https://svnweb.freebsd.org/changeset/ports/524965 Log: x11-toolkits/libhandy: Move e1c500dd02b1.patch to patch file Checksum of it changed again. It changes all the time because GitLab insists on embedding the version of whatever Git packages they have installed in the footer. PR: 243797 Added: head/x11-toolkits/libhandy/files/ head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh (contents, props changed) Modified: head/x11-toolkits/libhandy/Makefile Modified: head/x11-toolkits/libhandy/Makefile ============================================================================== --- head/x11-toolkits/libhandy/Makefile Sun Feb 2 14:41:08 2020 (r524964) +++ head/x11-toolkits/libhandy/Makefile Sun Feb 2 14:41:11 2020 (r524965) @@ -5,9 +5,6 @@ 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 Added: head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/libhandy/files/patch-src_gen-public-types.sh Sun Feb 2 14:41:11 2020 (r524965) @@ -0,0 +1,21 @@ +From e1c500dd02b14285e69544ad4384d8ed6e1c5109 Mon Sep 17 00:00:00 2001 +From: Ting-Wei Lan <lantw@src.gnome.org> +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 '} + '
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002021441.012EfCaQ019566>