shithub: freetype+ttf2subf

Download patch

ref: 7109495c5e6cd79f9b97d6773f4111ed0aeff99b
parent: 597cb3b44267325d6aa8ee32bf5b7712aa2b588f
author: Werner Lemberg <[email protected]>
date: Sun Apr 1 09:24:59 EDT 2018

* builds/toplevel.mk (work): Use $(SEP).

This fixes the `make refdoc' using Cygwin: $(CAT) is `type' on this
platform, and this program only understands backslashes in paths.

Reported by Nikhil Ramakrishnan <[email protected]>.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-04-01  Werner Lemberg  <[email protected]>
+
+	* builds/toplevel.mk (work): Use $(SEP).
+
+	This fixes the `make refdoc' using Cygwin: $(CAT) is `type' on this
+	platform, and this program only understands backslashes in paths.
+
+	Reported by Nikhil Ramakrishnan <[email protected]>.
+
 2018-03-30  Werner Lemberg  <[email protected]>
 
 	[truetype] Fix memory leak (only if tracing is on).
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -172,7 +172,8 @@
 # get FreeType version string, using a
 # poor man's `sed' emulation with make's built-in string functions
 #
-work := $(strip $(shell $(CAT) $(TOP_DIR)/include/freetype/freetype.h))
+work := $(strip $(shell $(CAT) \
+                  $(subst /,$(SEP),$(TOP_DIR)/include/freetype/freetype.h)))
 work := $(subst |,x,$(work))
 work := $(subst $(space),|,$(work))
 work := $(subst \#define|FREETYPE_MAJOR|,$(space),$(work))