MFH: r524965
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 Approved by: ports-secteam blanket
This commit is contained in:
parent
fd078d6fcb
commit
db185df49d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=524966
@ -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
|
||||
|
||||
|
21
x11-toolkits/libhandy/files/patch-src_gen-public-types.sh
Normal file
21
x11-toolkits/libhandy/files/patch-src_gen-public-types.sh
Normal file
@ -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 '}
|
||||
'
|
Loading…
Reference in New Issue
Block a user