diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-03-10 20:20:49 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-03-10 20:20:49 +0800 |
commit | d00861081f7baed2b1814bab853e394b1983cb05 (patch) | |
tree | 429a550e5120a8d012611fd120478d51eaecbb75 | |
parent | 4278a2f5c2fed1b33fcf2e659ae0ebeebebc07a3 (diff) | |
download | freebsd-ports-gnome-d00861081f7baed2b1814bab853e394b1983cb05.tar.gz freebsd-ports-gnome-d00861081f7baed2b1814bab853e394b1983cb05.tar.zst freebsd-ports-gnome-d00861081f7baed2b1814bab853e394b1983cb05.zip |
- Change REINPLACE and alfont.c to fix memset(*out, 0, _msize(*out));
implicit declaration of function '_msize', needed for build future
Port games/opensurge
-rw-r--r-- | x11-fonts/alfont/Makefile | 7 | ||||
-rw-r--r-- | x11-fonts/alfont/distinfo | 4 |
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 |