From owner-svn-ports-all@FreeBSD.ORG Sun Jun 14 09:33:31 2015 Return-Path: Delivered-To: svn-ports-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20B6FD85; Sun, 14 Jun 2015 09:33:31 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EB9A9A8; Sun, 14 Jun 2015 09:33:31 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5E9XUDd085426; Sun, 14 Jun 2015 09:33:30 GMT (envelope-from mva@FreeBSD.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5E9XUnW085425; Sun, 14 Jun 2015 09:33:30 GMT (envelope-from mva@FreeBSD.org) Message-Id: <201506140933.t5E9XUnW085425@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mva set sender to mva@FreeBSD.org using -f From: Marcus von Appen Date: Sun, 14 Jun 2015 09:33:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389620 - head/devel/sdl20 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 09:33:31 -0000 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