Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 09:33:30 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389620 - head/devel/sdl20
Message-ID:  <201506140933.t5E9XUnW085425@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sun Jun 14 09:33:30 2015
New Revision: 389620
URL: https://svnweb.freebsd.org/changeset/ports/389620

Log:
  - Fix 3Dnow (_m_prefetch) support for clang
  
  PR:		194861
  Reported by:	Dmitry Luhtionov (dmitryluhtionov@gmail.com)
  Submitted by:	tijl

Modified:
  head/devel/sdl20/Makefile

Modified: head/devel/sdl20/Makefile
==============================================================================
--- head/devel/sdl20/Makefile	Sun Jun 14 09:25:14 2015	(r389619)
+++ head/devel/sdl20/Makefile	Sun Jun 14 09:33:30 2015	(r389620)
@@ -2,7 +2,7 @@
 
 PORTNAME=	sdl2
 PORTVERSION=	2.0.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	http://www.libsdl.org/release/
 DISTNAME=	SDL2-${PORTVERSION}
@@ -189,5 +189,8 @@ CONFIGURE_ARGS+=	--disable-video-x11 \
 post-patch:
 	 @${REINPLACE_CMD} -e '/ CheckInputEvents$$/d' \
 		-e 's/-liconv/${ICONV_LIB}/g' ${WRKSRC}/configure
+# Clang does not provide _m_prefetch
+	@${REINPLACE_CMD} 's/_m_prefetch/__builtin_prefetch/' \
+		${WRKSRC}/configure ${WRKSRC}/src/video/SDL_blit_A.c
 
 .include <bsd.port.mk>



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