summaryrefslogtreecommitdiff
path: root/package/freetype
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-17 16:22:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-17 16:24:39 +0200
commita70d9038ebf607ca60232471cabbb3dab21ab68b (patch)
treec039a9c16282c65710cfe789fd1378cd38a961ec /package/freetype
parent957b443c78310f844aee28867d55da4b835a7c0b (diff)
readd patch
Diffstat (limited to 'package/freetype')
-rw-r--r--package/freetype/Makefile2
-rw-r--r--package/freetype/patches/patch-builds_unix_freetype2_in20
2 files changed, 21 insertions, 1 deletions
diff --git a/package/freetype/Makefile b/package/freetype/Makefile
index 472d401e9..2c6886df6 100644
--- a/package/freetype/Makefile
+++ b/package/freetype/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= freetype
PKG_VERSION:= 2.5.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= cafe9f210e45360279c730d27bf071e9
PKG_DESCR:= free, high-quality and portable font engine
PKG_SECTION:= libs/fonts
diff --git a/package/freetype/patches/patch-builds_unix_freetype2_in b/package/freetype/patches/patch-builds_unix_freetype2_in
new file mode 100644
index 000000000..5c78955eb
--- /dev/null
+++ b/package/freetype/patches/patch-builds_unix_freetype2_in
@@ -0,0 +1,20 @@
+--- freetype-2.5.3.orig/builds/unix/freetype2.in 2014-03-02 18:00:45.527427412 +0100
++++ freetype-2.5.3/builds/unix/freetype2.in 2014-06-17 15:12:31.708066779 +0200
+@@ -1,7 +1,7 @@
+-prefix="%prefix%"
+-exec_prefix="%exec_prefix%"
+-libdir="%libdir%"
+-includedir="%includedir%/freetype2"
++prefix=%prefix%
++exec_prefix=${prefix}
++libdir=${prefix}/lib
++includedir=${prefix}/include
+
+ Name: FreeType 2
+ URL: http://freetype.org
+@@ -11,4 +11,4 @@ Requires:
+ Requires.private: %REQUIRES_PRIVATE%
+ Libs: -L${libdir} -lfreetype
+ Libs.private: %LIBS_PRIVATE%
+-Cflags: -I${includedir}
++Cflags: -I${includedir} -I${includedir}/freetype2