Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2014 12:20:50 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347748 - head/x11-fonts/alfont
Message-ID:  <201403101220.s2ACKo1K032596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Mon Mar 10 12:20:49 2014
New Revision: 347748
URL: http://svnweb.freebsd.org/changeset/ports/347748
QAT: https://qat.redports.org/buildarchive/r347748/

Log:
  - Change REINPLACE and alfont.c to fix memset(*out, 0, _msize(*out));
    implicit declaration of function '_msize', needed for build future
    Port games/opensurge

Modified:
  head/x11-fonts/alfont/Makefile
  head/x11-fonts/alfont/distinfo   (contents, props changed)

Modified: head/x11-fonts/alfont/Makefile
==============================================================================
--- head/x11-fonts/alfont/Makefile	Mon Mar 10 12:18:02 2014	(r347747)
+++ head/x11-fonts/alfont/Makefile	Mon Mar 10 12:20:49 2014	(r347748)
@@ -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:

Modified: head/x11-fonts/alfont/distinfo
==============================================================================
--- head/x11-fonts/alfont/distinfo	Mon Mar 10 12:18:02 2014	(r347747)
+++ head/x11-fonts/alfont/distinfo	Mon Mar 10 12:20:49 2014	(r347748)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403101220.s2ACKo1K032596>