From nobody@FreeBSD.org  Thu Jan  5 21:12:25 2012
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 A62801065670
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Jan 2012 21:12:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 947D88FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Jan 2012 21:12:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q05LCPcN068716
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Jan 2012 21:12:25 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q05LCPpT068715;
	Thu, 5 Jan 2012 21:12:25 GMT
	(envelope-from nobody)
Message-Id: <201201052112.q05LCPpT068715@red.freebsd.org>
Date: Thu, 5 Jan 2012 21:12:25 GMT
From: "Aaron D. Gifford" <agifford@infowest.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Port www/pound fails to build - PATCH linked to
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163838
>Category:       ports
>Synopsis:       Port www/pound fails to build - PATCH linked to
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 05 21:20:09 UTC 2012
>Closed-Date:    Sat Feb 11 22:54:45 UTC 2012
>Last-Modified:  Sat Feb 11 23:00:27 UTC 2012
>Originator:     Aaron D. Gifford
>Release:        FreeBSD 8.2-RELEASE-p5
>Organization:
>Environment:
FreeBSD myfreebsdhost.example.com 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #5: Fri Dec 23 15:36:42 MST 2011     root@myfreebsdhost.example.com:/usr/obj/usr/src/sys/MYCUSTOMIZEDKERNEL  amd64
>Description:
In attempting to build the www/pound port from the port tree updated on 29 Dec. 2011, the following error occurs:


===>  Building for pound-2.5
cc -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.5"\" -DC_SSL=\"""\" -DC_T_RSA=\""0"\"  -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\"  -DC_CERT1L=\"""\" -O2 -pipe -I/usr/local/include -fno-strict-aliasing -D_THREAD_SAFE -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -D_THREAD_SAFE -pthread -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c pound.c
In file included from pound.c:28:
pound.h:341: error: expected specifier-qualifier-list before 'LHASH'
*** Error code 1

Stop in /var/ports/usr/ports/www/pound/work/Pound-2.5.
*** Error code 1

Stop in /usr/ports/www/pound.


A quick Google search turns up this forum thread with a proposed patch:
  http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000

By splitting the supplied patch file and renaming the portions according to the FreeBSD ports /usr/ports/www/pound/files/patch-FILENAME format, then rebuilding, the build worked as expected.

The patches from the forum thread can be directly downloaded here:

http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download

I did merge the existing FreeBSD patch for the pound.h file with the patches from the aforementioned post.

Is there someone who can do this for the port so this problem will not affect FreeBSD users like myself?

Thank you.

Aaron out.
>How-To-Repeat:
Attempt to build pound from ports as of 29 Dec. 2011
>Fix:
See above description.  PATCHES are here: http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->anders 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jan 5 21:20:26 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163838 
Responsible-Changed-From-To: anders->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Wed Feb 8 20:23:12 UTC 2012 
Responsible-Changed-Why:  
committer&maintainer timeout (anders ; 34 days) / last commit: 97 days 
ago 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163838 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sat Feb 11 22:54:44 UTC 2012 
State-Changed-Why:  
Committed, Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163838: commit references a PR
Date: Sat, 11 Feb 2012 22:54:54 +0000 (UTC)

 pgollucci    2012-02-11 22:54:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/pound/files      patch-Makefile.in patch-pound.h 
   Added files:
     www/pound/files      patch-config.c patch-svc.c 
   Log:
   - Fix pound.h:341: error: expected specifier-qualifier-list before 'LHASH'
     by applying http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download
   
   PR:             ports/163838
   Submitted by:   Aaron D. Gifford <agifford@infowest.com>
   Approved by:    maintainer timeout (anders ; 34 days)
   
   Revision  Changes    Path
   1.4       +2 -2      ports/www/pound/files/patch-Makefile.in
   1.1       +37 -0     ports/www/pound/files/patch-config.c (new)
   1.4       +25 -12    ports/www/pound/files/patch-pound.h
   1.1       +225 -0    ports/www/pound/files/patch-svc.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
