aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-12-25 17:19:40 +0800
committerkwm <kwm@FreeBSD.org>2013-12-25 17:19:40 +0800
commit3a7ad755c38f7c6303c5f14975dae7c736a63e2c (patch)
treed9f1ce781b9b46cb998474fc2a0d8b91d494edce /misc
parent01b30bf40567163979d49efae4905c668613c253 (diff)
downloadfreebsd-ports-gnome-3a7ad755c38f7c6303c5f14975dae7c736a63e2c.tar.gz
freebsd-ports-gnome-3a7ad755c38f7c6303c5f14975dae7c736a63e2c.tar.zst
freebsd-ports-gnome-3a7ad755c38f7c6303c5f14975dae7c736a63e2c.zip
Fix build with freetype 2.5.2.
I forgot this in the big update yesterday.
Diffstat (limited to 'misc')
-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"