aboutsummaryrefslogtreecommitdiff
path: root/misc/magicpoint
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-12-25 09:19:40 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-12-25 09:19:40 +0000
commita70ad6d1b2157a9bdfcc56475ef9f8ef454d3826 (patch)
treed9f1ce781b9b46cb998474fc2a0d8b91d494edce /misc/magicpoint
parent58195ddf5a4487342d585398101e326bea0a9ae8 (diff)
downloadports-a70ad6d1b2157a9bdfcc56475ef9f8ef454d3826.tar.gz
ports-a70ad6d1b2157a9bdfcc56475ef9f8ef454d3826.zip
Fix build with freetype 2.5.2.
I forgot this in the big update yesterday.
Notes
Notes: svn path=/head/; revision=337403
Diffstat (limited to 'misc/magicpoint')
-rw-r--r--misc/magicpoint/Makefile2
-rw-r--r--misc/magicpoint/files/patch-mgp.h11
2 files changed, 13 insertions, 0 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index 19a3bd2b5c91..2f46aa6b30f7 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -68,6 +68,8 @@ post-configure:
${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS}
cd ${WRKSRC}/contrib/xmindpath && \
${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX}
+ @${REINPLACE_CMD} -e 's|freetype1/freetype|freetype1|g' \
+ ${WRKSRC}/Makefile ${WRKSRC}/image/Makefile
post-build:
cd ${WRKSRC}/contrib/xmindpath && \
diff --git a/misc/magicpoint/files/patch-mgp.h b/misc/magicpoint/files/patch-mgp.h
new file mode 100644
index 000000000000..27baa88bb34d
--- /dev/null
+++ b/misc/magicpoint/files/patch-mgp.h
@@ -0,0 +1,11 @@
+--- mgp.h.orig 2013-12-25 10:03:40.000000000 +0100
++++ mgp.h 2013-12-25 10:05:28.000000000 +0100
+@@ -91,7 +91,7 @@
+ #endif /* end of VFLIB */
+
+ #ifdef FREETYPE
+-#include "freetype.h"
++#include "freetype/freetype.h"
+
+ #ifndef FREETYPEFONTDIR
+ #define FREETYPEFONTDIR "/usr/local/share/fonts/ttf"