Index: head/devel/py-game/Makefile =================================================================== --- head/devel/py-game/Makefile (revision 381322) +++ head/devel/py-game/Makefile (revision 381323) @@ -1,56 +1,56 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= game PORTVERSION= 1.9.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel python MASTER_SITES= http://pygame.seul.org/ftp/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION}release MAINTAINER= mva@FreeBSD.org COMMENT= Module designed to write games in Python LICENSE= LGPL21 LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg RUN_DEPENDS= ${PYNUMPY} -USES= python +USES= dos2unix python +DOS2UNIX_FILES= src/scale_mmx64.c USE_SDL= ttf image mixer sdl -USE_GCC= any USE_PYTHON= autoplist distutils SDLNOX11= sdl-nox11-[0-9]* DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|^_camera|#_camera|' \ -e 's|^pypm|#pypm|' ${WRKSRC}/Setup.in @${REINPLACE_CMD} -e "s|Dependency('PORT|#Dependency('PORT|" \ ${WRKSRC}/config_unix.py pre-configure: @invalid=`${PKG_INFO} -I ${SDLNOX11:C/.+/'&'/} 2>/dev/null | ${AWK} '{print $$1}'` @if [ ! -z "$$invalid" ]; then \ ${ECHO_MSG} "${PKGNAME} is marked as broken: devel/sdl12 needs to be built with X11 support enabled."; \ exit 1; \ fi do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py -auto post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${TAR} -C ${WRKSRC}/examples -cf - . | \ ${TAR} --unlink -C ${STAGEDIR}${EXAMPLESDIR} -xf - ${MKDIR} ${STAGEDIR}${DOCSDIR} ${TAR} -C ${WRKSRC}/docs -cf - . | \ ${TAR} --unlink -C ${STAGEDIR}${DOCSDIR} -xf - .include Index: head/devel/py-game/files/patch-src_scale__mmx64.c =================================================================== --- head/devel/py-game/files/patch-src_scale__mmx64.c (nonexistent) +++ head/devel/py-game/files/patch-src_scale__mmx64.c (revision 381323) @@ -0,0 +1,28 @@ +# HG changeset patch +# User Rene Dudfield +# Date 1343499364 -7200 +# Node ID e296ada67fad8e01e017ed6ede554fabb1402d26 +# Parent d2c7ea7488013b87c483f4df0b5ca80bdc87e065 +Fix for scale_mmx64.c with clang. Thanks Joshua Root. Closes #94 + +diff --git a/src/scale_mmx64.c b/src/scale_mmx64.c +--- src/scale_mmx64.c.orig 2008-10-22 20:54:59 UTC ++++ src/scale_mmx64.c +@@ -425,7 +425,7 @@ filter_expand_X_MMX(Uint8 *srcpix, Uint8 + " movl %5, %%ecx; " + " pxor %%mm0, %%mm0; " + "1: " +- " movsxl (%3), %%rax; " /* get xidx0[x] */ ++ " movslq (%3), %%rax; " /* get xidx0[x] */ + " add $4, %3; " + " movq (%0), %%mm1; " /* load mult0 */ + " add $8, %0; " +@@ -500,7 +500,7 @@ filter_expand_X_SSE(Uint8 *srcpix, Uint8 + " movl %5, %%ecx; " + " pxor %%mm0, %%mm0; " + "1: " +- " movsxl (%3), %%rax; " /* get xidx0[x] */ ++ " movslq (%3), %%rax; " /* get xidx0[x] */ + " add $4, %3; " + " movq (%0), %%mm1; " /* load mult0 */ + " add $8, %0; " Property changes on: head/devel/py-game/files/patch-src_scale__mmx64.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property