From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 28 16:00:25 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F681065674 for ; Thu, 28 Jun 2012 16:00:25 +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 6FB5B8FC16 for ; Thu, 28 Jun 2012 16:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5SG0PTG018762 for ; Thu, 28 Jun 2012 16:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5SG0PXQ018758; Thu, 28 Jun 2012 16:00:25 GMT (envelope-from gnats) Resent-Date: Thu, 28 Jun 2012 16:00:25 GMT Resent-Message-Id: <201206281600.q5SG0PXQ018758@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sayetsky Anton Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDC5C106564A for ; Thu, 28 Jun 2012 15:50:17 +0000 (UTC) (envelope-from jason@jw.lds.net.ua) Received: from jw.lds.net.ua (jw.lds.net.ua [193.192.37.74]) by mx1.freebsd.org (Postfix) with ESMTP id 456028FC08 for ; Thu, 28 Jun 2012 15:50:16 +0000 (UTC) Received: from jw.lds.net.ua (localhost [127.0.0.1]) by jw.lds.net.ua (8.14.5/8.14.5) with ESMTP id q5SFo9Lc079777 for ; Thu, 28 Jun 2012 18:50:09 +0300 (EEST) (envelope-from jason@jw.lds.net.ua) Received: (from jason@localhost) by jw.lds.net.ua (8.14.5/8.14.5/Submit) id q5SFo4np079769; Thu, 28 Jun 2012 18:50:04 +0300 (EEST) (envelope-from jason) Message-Id: <201206281550.q5SFo4np079769@jw.lds.net.ua> Date: Thu, 28 Jun 2012 18:50:04 +0300 (EEST) From: Sayetsky Anton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/169523: [patch] x11/xscreensaver: remove forced -O0 from CFLAGS on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sayetsky Anton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2012 16:00:25 -0000 >Number: 169523 >Category: ports >Synopsis: [patch] x11/xscreensaver: remove forced -O0 from CFLAGS on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 28 16:00:25 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sayetsky Anton >Release: FreeBSD 8.3-RELEASE-p1 amd64 >Organization: >Environment: System: FreeBSD j.local 8.3-RELEASE-p1 FreeBSD 8.3-RELEASE-p1 #0 r235504: Wed May 16 14:33:18 EEST 2012 root@j.local:/tmp/obj/mnt/garbage/build/src/sys/JASONW amd64 >Description: >How-To-Repeat: Update ports and take a look to x11/xscreensaver/Makefile You will see there the following: .if ${ARCH} == "amd64" CFLAGS+= -O0 .endif There is no need to add "-O0" to CFLAGS on amd64. I've built xscreensaver successfully with "-O2 -fno-strict-aliasing -pipe -march=core2" >Fix: --- patch-Makefile begins here --- --- Makefile-orig 2012-06-28 18:43:01.000000000 +0300 +++ Makefile 2012-06-28 18:43:08.000000000 +0300 @@ -134,10 +134,6 @@ companioncube.6 hilbert.6 tronbit.6 \ xscreensaver-gl-helper.6 -.if ${ARCH} == "amd64" -CFLAGS+= -O0 -.endif - post-patch: @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \ --- patch-Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted: