Date: Sat, 5 Sep 2015 08:44:41 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396162 - head/graphics/grx Message-ID: <201509050844.t858ifOH049234@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sat Sep 5 08:44:40 2015 New Revision: 396162 URL: https://svnweb.freebsd.org/changeset/ports/396162 Log: Fix the build on big-endian architectures (powerpc and hopefully sparc64). Modified: head/graphics/grx/Makefile Modified: head/graphics/grx/Makefile ============================================================================== --- head/graphics/grx/Makefile Sat Sep 5 08:20:49 2015 (r396161) +++ head/graphics/grx/Makefile Sat Sep 5 08:44:40 2015 (r396162) @@ -57,10 +57,6 @@ IGNORE= PNG support requires ZLIB suppo CONFIGURE_ARGS+=--enable-x86_64 .endif -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - post-patch: @${GREP} -ERl '<(malloc|alloca)\.h>' ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -Ee 's|<(malloc\|alloca)\.h>|<stdlib.h>|' @@ -72,6 +68,8 @@ post-patch: s|-m64|| ; \ s|-m32||' \ ${WRKSRC}/makedefs.grx + @${REINPLACE_CMD} -e '/_GR_swap32u/s|length|numchars|' \ + ${WRKSRC}/src/fonts/fdv_raw.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgrx20X.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509050844.t858ifOH049234>