From nobody@FreeBSD.org  Sun Feb 15 13:48:49 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AEC4A1065677
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Feb 2009 13:48:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 827B68FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Feb 2009 13:48:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1FDmnSo067654
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Feb 2009 13:48:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n1FDmn7W067653;
	Sun, 15 Feb 2009 13:48:49 GMT
	(envelope-from nobody)
Message-Id: <200902151348.n1FDmn7W067653@www.freebsd.org>
Date: Sun, 15 Feb 2009 13:48:49 GMT
From: Andrew Clark <andrewclarkii@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Additional optimizations for Free-SA 1.5.1 port
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131709
>Category:       ports
>Synopsis:       www/free-sa: Additional optimizations for Free-SA 1.5.1 port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 15 13:50:06 UTC 2009
>Closed-Date:    Fri May 01 14:41:55 UTC 2009
>Last-Modified:  Fri May 01 14:41:55 UTC 2009
>Originator:     Andrew Clark
>Release:        7.1-RELEASE-p1
>Organization:
>Environment:
powercharge# uname -a
FreeBSD powercharge.moskb.local 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #0: Sat Jan 10 10:45:40 MSK 2009     andy@powercharge.moskb.local:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Additional optimizations for Free-Sa port. This patch is replace for patch that already present in free-sa port, and it add native compilation and flags for gcc,
>How-To-Repeat:

>Fix:
--- global.mk.orig      2008-12-13 20:02:27.000000000 +0300
+++ global.mk   2009-02-15 13:19:14.000000000 +0300
@@ -10,7 +10,7 @@
 # etc dir
 ETCDIR = $(PREFIX)/etc/$(PROGLNAME)
 # where put reports (you can change it later via free-sa.conf configuration file)
-WWWDIR = $(PREFIX)/var/www/htdocs/$(PROGLNAME)
+WWWDIR = $(PREFIX)/www/data/$(PROGLNAME)
 # dir for temporary data storing (you can change it later via free-sa.conf configuration file)
 TMPDIR = /var/cache/$(PROGLNAME)
 # where localisation files to put (it is safe to leave default value unchanged)
@@ -44,19 +44,19 @@
 ##################################################

 # CPU (allowed by gcc '-march' option: native, i486, pentium3, athlon, nocona, k8 ...)
-GCCARCH = i486
+GCCARCH = native

 # GNU compiler flags (by line number):
 #  1  Optimizations
 #  2  Standard compliance checking
 # 3-7 Warnings flags (recommended by AMD)
-#ADDCFLAGS = \
-#      -O4 -pipe -march=$(GCCARCH) -fomit-frame-pointer                        \
-#      -std=c99                                                                \
-#      -W -Wall -Wextra -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-#      -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual               \
-#      -Wreturn-type -Wswitch -Wshadow -Wcast-align -Wuninitialized            \
-#      -Wchar-subscripts -Wuninitialized -Wbad-function-cast -Wwrite-strings
+ADDCFLAGS = \
+       -O4 -pipe -march=$(GCCARCH) -fomit-frame-pointer                        \
+       -std=c99                                                                \
+       -W -Wall -Wextra -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
+       -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual               \
+       -Wreturn-type -Wswitch -Wshadow -Wcast-align -Wuninitialized            \
+       -Wchar-subscripts -Wuninitialized -Wbad-function-cast -Wwrite-strings

 # GNU linker flags
 #ADDLDFLAGS = --relax -mrelax

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Mon Feb 16 10:07:27 UTC 2009 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131709 

From: Beech Rintoul <beech@freebsd.org>
To: Andrew Clark <andrewclarkii@gmail.com>
Cc: Bug Followup <bug-followup@freebsd.org>,
 Beech Rintoul <beech@freebsd.org>
Subject: Re: ports/131709: www/free-sa: Additional optimizations for Free-SA 1.5.1 port
Date: Mon, 16 Feb 2009 02:02:50 -0900

 Problem with 6.x build:
 
 http://localhost/tb/errors/6.0-FreeBSD/free-sa-1.5.1.log
 
 Beech
 -- 
 ---------------------------------------------------------------------------------------
 Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org
 /"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.1R/announce.html
 ---------------------------------------------------------------------------------------
 
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: beech 
State-Changed-When: Wed Feb 18 20:51:02 UTC 2009 
State-Changed-Why:  
Waiting for additional input from maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131709 

From: Beech Rintoul <beech@freebsd.org>
To: Andrew Clark <andrewclarkii@gmail.com>
Cc: Beech Rintoul <beech@freebsd.org>,
 Bug Followup <bug-followup@freebsd.org>
Subject: Re: ports/131709: www/free-sa: Additional optimizations for Free-SA 1.5.1 port
Date: Sun, 8 Mar 2009 22:47:52 -0800

 Andrew are you planning to address this issue?
 
 http://stargate.akherb.com/tb/errors/6.0-FreeBSD/free-sa-1.5.1.log
 
 Please respond,
 
 Beech
 -- 
 ---------------------------------------------------------------------------------------
 Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org
 /"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.1R/announce.html
 ---------------------------------------------------------------------------------------
 
 
 
 

From: Andrew Clark <andrewclarkii@gmail.com>
To: bug-followup@FreeBSD.org, andrewclarkii@gmail.com
Cc:  
Subject: Re: ports/131709: www/free-sa: Additional optimizations for Free-SA 
	1.5.1 port
Date: Tue, 10 Mar 2009 09:20:14 +0300

 --0015174bde8479aa310464bdbef6
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 7bit
 
 This error arises because FreeBSD 6.X have old
 version of gcc. This version don't have "native" option.
 
 -- 
 Talk is cheap, show me the code (c) Linus Torvalds
 
 --0015174bde8479aa310464bdbef6
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: 7bit
 
 This error arises because FreeBSD 6.X have old<br>version of gcc. This version don&#39;t have &quot;native&quot; option.<br clear="all"><br>-- <br>Talk is cheap, show me the code (c) Linus Torvalds<br>
 
 --0015174bde8479aa310464bdbef6--

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/131709: www/free-sa: Additional optimizations for
 Free-SA 1.5.1 port
Date: Sun, 22 Mar 2009 21:40:36 +0100

 I suggest dropping this whole patch. The flags goes against our policy
 that ports should respect global system cflags.
 
 PS -O4 more rice, ooh yeah. Highest opt.level recognized by gcc is 3.
 Authors have no clue, obviously.
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 In God we trust. All others must use the callback verifier.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: wxs 
State-Changed-When: Fri May 1 14:41:55 UTC 2009 
State-Changed-Why:  
Obsoleted by 133361. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131709 
>Unformatted:
