svn commit: r396162 - head/graphics/grx
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Sep 5 08:44:41 UTC 2015
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
More information about the svn-ports-head
mailing list