shithub: freetype+ttf2subf

Download patch

ref: 46417607e67f89a5c9948d4deed6ad8ead51318d
parent: 66978a58874169c6a4f2f984a7461e2901901784
author: Werner Lemberg <[email protected]>
date: Mon Sep 21 05:03:13 EDT 2020

* scripts/extract_freetype_version.py: Fix regex typos.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-21  Werner Lemberg  <[email protected]>
+
+	* scripts/extract_freetype_version.py: Fix regex typos.
+
 2020-09-21  David Turner  <[email protected]>
 
 	Add Meson build project file.
--- a/scripts/extract_freetype_version.py
+++ b/scripts/extract_freetype_version.py
@@ -22,9 +22,9 @@
 #  #define FREETYPE_PATCH  2
 #  ...
 
-RE_MAJOR = re.compile(r"^ #define \s+ FREETYPE_MAJOR \s+ (.*) $", re.X)
-RE_MINOR = re.compile(r"^ #define \s+ FREETYPE_MINOR \s+ (.*) $", re.X)
-RE_PATCH = re.compile(r"^ #define \s+ FREETYPE_PATCH \s+ (.*) $", re.X)
+RE_MAJOR = re.compile(r"^ \#define \s+ FREETYPE_MAJOR \s+ (.*) $", re.X)
+RE_MINOR = re.compile(r"^ \#define \s+ FREETYPE_MINOR \s+ (.*) $", re.X)
+RE_PATCH = re.compile(r"^ \#define \s+ FREETYPE_PATCH \s+ (.*) $", re.X)
 
 
 def parse_freetype_header(header):