summaryrefslogtreecommitdiffstats
path: root/source/l/freetype/freetype.this.is.not.a.windows.system.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/freetype/freetype.this.is.not.a.windows.system.diff')
-rw-r--r--source/l/freetype/freetype.this.is.not.a.windows.system.diff39
1 files changed, 39 insertions, 0 deletions
diff --git a/source/l/freetype/freetype.this.is.not.a.windows.system.diff b/source/l/freetype/freetype.this.is.not.a.windows.system.diff
new file mode 100644
index 000000000..af509fd4e
--- /dev/null
+++ b/source/l/freetype/freetype.this.is.not.a.windows.system.diff
@@ -0,0 +1,39 @@
+--- ./builds/freetype.mk.orig 2018-04-22 04:41:36.000000000 -0500
++++ ./builds/freetype.mk 2018-09-13 14:34:39.641002962 -0500
+@@ -248,20 +248,24 @@
+ $(FT_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
+
+
+-# ftver component
++# COMMENTED OUT:
++# Otherwise having windres on the system causes a Windows-specific resource
++# file to be compiled, breaking the build.
+ #
+-# The VERSIONINFO resource `ftver.rc' contains version and copyright
+-# to be compiled by windres and tagged into DLL usually.
++## ftver component
++##
++## The VERSIONINFO resource `ftver.rc' contains version and copyright
++## to be compiled by windres and tagged into DLL usually.
++##
++#ifneq ($(RC),)
++# FTVER_SRC := $(BASE_DIR)/ftver.rc
++# FTVER_OBJ := $(OBJ_DIR)/ftver.$O
+ #
+-ifneq ($(RC),)
+- FTVER_SRC := $(BASE_DIR)/ftver.rc
+- FTVER_OBJ := $(OBJ_DIR)/ftver.$O
+-
+- OBJECTS_LIST += $(FTVER_OBJ)
+-
+- $(FTVER_OBJ): $(FTVER_SRC)
+- $(RC) -o $@ $<
+-endif
++# OBJECTS_LIST += $(FTVER_OBJ)
++#
++# $(FTVER_OBJ): $(FTVER_SRC)
++# $(RC) -o $@ $<
++#endif
+
+
+ # All FreeType library objects.