8 changed files with 105 additions and 11 deletions
			
			
		@ -0,0 +1,20 @@ | 
				
			|||
diff --git a/builds/unix/freetype-config.in b/builds/unix/freetype-config.in
 | 
				
			|||
index 2d5b90d..1c14aab 100644
 | 
				
			|||
--- a/builds/unix/freetype-config.in
 | 
				
			|||
+++ b/builds/unix/freetype-config.in
 | 
				
			|||
@@ -35,11 +35,11 @@ if test $? -eq 0 ; then
 | 
				
			|||
   dynamic_libs=`%PKG_CONFIG% --libs freetype2` | 
				
			|||
   static_libs=`%PKG_CONFIG% --static --libs freetype2` | 
				
			|||
 else | 
				
			|||
-  prefix="%prefix%"
 | 
				
			|||
-  exec_prefix="%exec_prefix%"
 | 
				
			|||
+prefix="%prefix%"
 | 
				
			|||
+  exec_prefix="${prefix}"
 | 
				
			|||
  | 
				
			|||
-  includedir="%includedir%"
 | 
				
			|||
-  libdir="%libdir%"
 | 
				
			|||
+  includedir="${prefix}/include"
 | 
				
			|||
+  libdir="${exec_prefix}/lib"
 | 
				
			|||
  | 
				
			|||
   version=%ft_version% | 
				
			|||
  | 
				
			|||
@ -0,0 +1,14 @@ | 
				
			|||
--- a/builds/unix/freetype2.in
 | 
				
			|||
+++ b/builds/unix/freetype2.in
 | 
				
			|||
@@ -1,7 +1,7 @@
 | 
				
			|||
 prefix=%prefix% | 
				
			|||
-exec_prefix=%exec_prefix%
 | 
				
			|||
-libdir=%libdir%
 | 
				
			|||
-includedir=%includedir%
 | 
				
			|||
+exec_prefix=${prefix}
 | 
				
			|||
+libdir=${exec_prefix}/lib
 | 
				
			|||
+includedir=${prefix}/include
 | 
				
			|||
  | 
				
			|||
 Name: FreeType 2 | 
				
			|||
 URL: https://freetype.org | 
				
			|||
 | 
				
			|||
@ -0,0 +1,11 @@ | 
				
			|||
--- a/include/freetype/config/ftoption.h
 | 
				
			|||
+++ b/include/freetype/config/ftoption.h
 | 
				
			|||
@@ -126,7 +126,7 @@
 | 
				
			|||
    * macro is not defined, FreeType offers alternative LCD rendering | 
				
			|||
    * technology that produces excellent output without LCD filtering. | 
				
			|||
    */ | 
				
			|||
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
 | 
				
			|||
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
 | 
				
			|||
  | 
				
			|||
  | 
				
			|||
   /************************************************************************** | 
				
			|||
@ -0,0 +1,46 @@ | 
				
			|||
From 9901cac770d0d81ccf1ee8e5a02abf54d18e3a04 Mon Sep 17 00:00:00 2001 | 
				
			|||
Message-Id: <9901cac770d0d81ccf1ee8e5a02abf54d18e3a04.1509108606.git.thomas.harfmann@gmail.com> | 
				
			|||
From: gixxpunk <thomas.harfmann@gmail.com> | 
				
			|||
Date: Fri, 27 Oct 2017 14:50:01 +0200 | 
				
			|||
Subject: [PATCH] - valgrind-fix-build-hd51 | 
				
			|||
 | 
				
			|||
---
 | 
				
			|||
 Makefile.all.am | 6 +++--- | 
				
			|||
 configure.ac    | 2 +- | 
				
			|||
 2 files changed, 4 insertions(+), 4 deletions(-) | 
				
			|||
 | 
				
			|||
diff --git a/Makefile.all.am b/Makefile.all.am
 | 
				
			|||
index 1859a51..648a197 100644
 | 
				
			|||
--- a/Makefile.all.am
 | 
				
			|||
+++ b/Makefile.all.am
 | 
				
			|||
@@ -199,11 +199,11 @@ AM_CCASFLAGS_PPC64LE_LINUX  = @FLAG_M64@ -g
 | 
				
			|||
  | 
				
			|||
 AM_FLAG_M3264_ARM_LINUX   = @FLAG_M32@ | 
				
			|||
 AM_CFLAGS_ARM_LINUX       = @FLAG_M32@ \ | 
				
			|||
-			 	$(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
 | 
				
			|||
+			 	$(AM_CFLAGS_BASE) -mlittle-endian -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mhard-float
 | 
				
			|||
 AM_CFLAGS_PSO_ARM_LINUX   = @FLAG_M32@ $(AM_CFLAGS_BASE) \ | 
				
			|||
-				-marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE)
 | 
				
			|||
+				-mlittle-endian -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mhard-float $(AM_CFLAGS_PSO_BASE)
 | 
				
			|||
 AM_CCASFLAGS_ARM_LINUX    = @FLAG_M32@ \ | 
				
			|||
-				-marm -mcpu=cortex-a8 -g
 | 
				
			|||
+				-mlittle-endian -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mhard-float -g
 | 
				
			|||
  | 
				
			|||
 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ | 
				
			|||
 AM_CFLAGS_ARM64_LINUX     = @FLAG_M64@ $(AM_CFLAGS_BASE) | 
				
			|||
diff --git a/configure.ac b/configure.ac
 | 
				
			|||
index 3874296..0fc12f7 100644
 | 
				
			|||
--- a/configure.ac
 | 
				
			|||
+++ b/configure.ac
 | 
				
			|||
@@ -234,7 +234,7 @@ case "${host_cpu}" in
 | 
				
			|||
         ARCH_MAX="s390x" | 
				
			|||
         ;; | 
				
			|||
  | 
				
			|||
-     armv7*)
 | 
				
			|||
+     arm*)
 | 
				
			|||
 	AC_MSG_RESULT([ok (${host_cpu})]) | 
				
			|||
 	ARCH_MAX="arm" | 
				
			|||
 	;; | 
				
			|||
-- 
 | 
				
			|||
2.15.0.rc2 | 
				
			|||
 | 
				
			|||
					Loading…
					
					
				
		Reference in new issue