From owner-freebsd-x11@FreeBSD.ORG Sun Mar 29 09:30:04 2009 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17F831065673 for ; Sun, 29 Mar 2009 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 060AE8FC16 for ; Sun, 29 Mar 2009 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2T9U3jP033887 for ; Sun, 29 Mar 2009 09:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2T9U3JG033884; Sun, 29 Mar 2009 09:30:03 GMT (envelope-from gnats) Date: Sun, 29 Mar 2009 09:30:03 GMT Message-Id: <200903290930.n2T9U3JG033884@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Anonymous Cc: Subject: Re: ports/133175: [patch] x11/pixman: enable SSE2 support autodetection X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anonymous List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 09:30:04 -0000 The following reply was made to PR ports/133175; it has been noted by GNATS. From: Anonymous To: bf Cc: bug-followup@FreeBSD.org Subject: Re: ports/133175: [patch] x11/pixman: enable SSE2 support autodetection Date: Sun, 29 Mar 2009 13:28:50 +0400 bf writes: > Changes of this kind could break binary packages built, > for example, by the FreeBSD package-building cluster, when used > on older machines. Oops, forgot about packages. How about this patch --- pixman-add-simd-option.diff begins here --- Index: x11/pixman/Makefile =================================================================== RCS file: /home/csup/ports/x11/pixman/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- x11/pixman/Makefile 13 Feb 2009 06:39:40 -0000 1.9 +++ x11/pixman/Makefile 29 Mar 2009 09:08:38 -0000 @@ -17,8 +17,21 @@ USE_AUTOTOOLS= libtool:15 USE_PERL5_BUILD=yes USE_GNOME= ltverhack:9 +OPTIONS= SIMD "Enable autodection of SIMD features (MMX, SSE2, VMX)" off + +.include + +.if defined(WITHOUT_SIMD) +CONFIGURE_ARGS= --disable-vmx --disable-arm-simd + +.if ${ARCH:Namd64} +CONFIGURE_ARGS+= --disable-mmx --disable-sse2 +.endif + +.endif + post-patch: @${REINPLACE_CMD} -e 's|gtk+-2\.0|disable-gtk|g' \ - -e 's|-msse||' ${WRKSRC}/configure + ${WRKSRC}/configure -.include +.include --- pixman-add-simd-option.diff ends here ---