From owner-svn-ports-head@freebsd.org Sun Feb 2 14:41:12 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B31372304CA; Sun, 2 Feb 2020 14:41:12 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 489YYN3kPtz4FJS; Sun, 2 Feb 2020 14:41:12 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BCBF195A3; Sun, 2 Feb 2020 14:41:12 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 012EfCBC019567; Sun, 2 Feb 2020 14:41:12 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 012EfCaQ019566; Sun, 2 Feb 2020 14:41:12 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202002021441.012EfCaQ019566@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 2 Feb 2020 14:41:12 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/x11-toolkits/libhandy: . files X-SVN-Commit-Revision: 524965 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2020 14:41:12 -0000 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 +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 '} + '