From 31c2a8f955f74066a34f7415f496375fe7defe0a Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro <lucas.kanashiro@collabora.co.uk> Date: Fri, 8 Feb 2019 14:58:43 -0200 Subject: [PATCH] Add a patch to fix Rakefile regex. Closes: #892457 --- debian/patches/fix-Rakefile-regex.patch | 17 +++++++++++++++++ debian/patches/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 debian/patches/fix-Rakefile-regex.patch diff --git a/debian/patches/fix-Rakefile-regex.patch b/debian/patches/fix-Rakefile-regex.patch new file mode 100644 index 0000000..af9b9e4 --- /dev/null +++ b/debian/patches/fix-Rakefile-regex.patch @@ -0,0 +1,17 @@ +Description: Fixes Rakefile regex + Replaces '-' to '*', since '-' means a range in ruby regex and not the + character itself. +Author: Lucas Kanashiro <kanashiro@debian.org> +Last-Updated: 2019-02-08 + +--- a/Rakefile ++++ b/Rakefile +@@ -31,7 +31,7 @@ def map_dependencies + basename = File.basename path + file = File.read path + +- matchdata = file.match(/define\(\s*\[\s*([\"\.\/\,\w\s-\:]+)\]/m) ++ matchdata = file.match(/define\(\s*\[\s*([\"\.\/\,\w\s*\:]+)\]/m) + + next if matchdata.nil? + diff --git a/debian/patches/series b/debian/patches/series index cd2caa1..5513a5c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ +fix-Rakefile-regex.patch fix-jquery-ui-check.patch engine-root.patch -- GitLab