freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] anuj-distance-field a7b2722 1/2: [sdf] Fix GNU Make build.


From: Anuj Verma
Subject: [freetype2] anuj-distance-field a7b2722 1/2: [sdf] Fix GNU Make build.
Date: Sun, 26 Jul 2020 07:35:59 -0400 (EDT)

branch: anuj-distance-field
commit a7b27229b6a03b0969c5a17c010c3f9023e7797d
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: Anuj Verma <anujv@iitbhilai.ac.in>

    [sdf] Fix GNU Make build.
    
    * src/sdf/rules.mk (SDF_DRV_H): Manually add source files
      as there is a `ftbsdf.c' file without any `ftbsdf.h'.
    
    * src/sdf/ftbsdf.c: Include `fttrigon.h' for `multi' builds.
---
 [GSoC]ChangeLog  | 9 +++++++++
 src/sdf/ftbsdf.c | 1 +
 src/sdf/rules.mk | 3 ++-
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/[GSoC]ChangeLog b/[GSoC]ChangeLog
index 28a7efb..d53dfd4 100644
--- a/[GSoC]ChangeLog
+++ b/[GSoC]ChangeLog
@@ -1,5 +1,14 @@
 2020-07-26  Anuj Verma  <anujv@iitbhilai.ac.in>
 
+       [sdf] Fix GNU Make build.
+
+       * src/sdf/rules.mk (SDF_DRV_H): Manually add source files
+         as there is a `ftbsdf.c' file without any `ftbsdf.h'.
+
+       * src/sdf/ftbsdf.c: Include `fttrigon.h' for `multi' builds.
+
+2020-07-26  Anuj Verma  <anujv@iitbhilai.ac.in>
+
        [sdf -> bsdf] Added first pass of the '8SED' algorithm.
 
        Added the first pass of the 8SED algorithm. The first pass
diff --git a/src/sdf/ftbsdf.c b/src/sdf/ftbsdf.c
index 46461f5..c48ca98 100644
--- a/src/sdf/ftbsdf.c
+++ b/src/sdf/ftbsdf.c
@@ -2,6 +2,7 @@
 #include <freetype/internal/ftobjs.h>
 #include <freetype/internal/ftdebug.h>
 #include <freetype/internal/ftmemory.h>
+#include <freetype/fttrigon.h>
 
 #include "ftsdf.h"
 #include "ftsdferrs.h"
diff --git a/src/sdf/rules.mk b/src/sdf/rules.mk
index eba66fa..c40b4f5 100644
--- a/src/sdf/rules.mk
+++ b/src/sdf/rules.mk
@@ -22,7 +22,8 @@ SDF_DRV_SRC := $(SDF_DIR)/ftsdfrend.c  \
 
 # sdf driver headers
 #
-SDF_DRV_H := $(SDF_DRV_SRC:%.c=%.h)  \
+SDF_DRV_H := $(SDF_DIR)/ftsdfrend.h  \
+             $(SDF_DIR)/ftsdf.h      \
              $(SDF_DIR)/ftsdferrs.h
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]