aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/alfont
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-03-10 12:20:49 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-03-10 12:20:49 +0000
commit381342c523a01c2a9528c170dacd138315c53af1 (patch)
tree429a550e5120a8d012611fd120478d51eaecbb75 /x11-fonts/alfont
parent98c3a036f2760d33ebe68e6bf60fa08eb9cdfffa (diff)
downloadports-381342c523a01c2a9528c170dacd138315c53af1.tar.gz
ports-381342c523a01c2a9528c170dacd138315c53af1.zip
Notes
Diffstat (limited to 'x11-fonts/alfont')
-rw-r--r--x11-fonts/alfont/Makefile7
-rw-r--r--x11-fonts/alfont/distinfo4
2 files changed, 6 insertions, 5 deletions
diff --git a/x11-fonts/alfont/Makefile b/x11-fonts/alfont/Makefile
index 836f93b163b6..2a56d7caa71e 100644
--- a/x11-fonts/alfont/Makefile
+++ b/x11-fonts/alfont/Makefile
@@ -59,9 +59,10 @@ do-extract:
post-patch:
@${CP} -af ${_DISTDIR}/alfont.c ${WRKSRC}/src
- @${REINPLACE_CMD} \
- -e 's|#define ALFONT_WINDOWS|//#define ALFONT_WINDOWS|' \
- -e 's|//#define ALFONT_LINUX|#define ALFONT_LINUX|' \
+ @${REINPLACE_CMD} -e \
+ 's|#define ALFONT_WINDOWS|//#define ALFONT_WINDOWS|; \
+ s|//#define ALFONT_LINUX|#define ALFONT_LINUX|; \
+ s|^ALFONT_DLL_DECLSPEC void alfont_get_string.*||' \
${WRKSRC}/include/alfont.h
do-build:
diff --git a/x11-fonts/alfont/distinfo b/x11-fonts/alfont/distinfo
index 2fd5fc5a5abe..2e7932833ea6 100644
--- a/x11-fonts/alfont/distinfo
+++ b/x11-fonts/alfont/distinfo
@@ -1,4 +1,4 @@
SHA256 (alfont/AlFont209.rar) = 734f7f9758dfb3b80979baf010245d931c9cd2a7557683906c7fc616353f960d
SIZE (alfont/AlFont209.rar) = 3696983
-SHA256 (alfont/alfont.c) = 9d77d1ef5ce7d9c05e7e499d48d404aa51d2c2b3dd03fac7fd75c60e6adeb145
-SIZE (alfont/alfont.c) = 147045
+SHA256 (alfont/alfont.c) = c9117c82131376b99d94d8aa5678b5724f14b3649b42abf08ec46cd9df00e0ae
+SIZE (alfont/alfont.c) = 147298