From nobody@FreeBSD.org  Tue Feb 11 13:23:58 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id C9F434C4
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Feb 2014 13:23:58 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B381F1203
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Feb 2014 13:23:58 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1BDNwHr084541
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 11 Feb 2014 13:23:58 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1BDNvaE084532;
	Tue, 11 Feb 2014 13:23:57 GMT
	(envelope-from nobody)
Message-Id: <201402111323.s1BDNvaE084532@cgiserv.freebsd.org>
Date: Tue, 11 Feb 2014 13:23:57 GMT
From: Vsevolod Volkov <vvv@colocall.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net-im/licq: net-im/licq-icq fails to build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186649
>Category:       ports
>Synopsis:       [PATCH] net-im/licq: net-im/licq-icq fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 11 13:30:00 UTC 2014
>Closed-Date:    Thu Feb 13 21:43:23 CET 2014
>Last-Modified:  Thu Feb 13 20:50:00 UTC 2014
>Originator:     Vsevolod Volkov
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD tea.colocall.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Can't build net-im/licq-icq with clang due to missing include <time.h> in /usr/local/include/licq/icq/filetransfer.h.
Related pr: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185067
>How-To-Repeat:
cd /usr/ports/net-im/licq-icq && make
>Fix:
Put the attached patch to /usr/ports/net-im/licq/files.
Rebuild net-im/licq.
Then build net-im/licq-icq.

Patch attached with submission follows:

--- include/licq/icq/filetransfer.h.orig
+++ include/licq/icq/filetransfer.h
@@ -76,6 +76,7 @@
 #include <cstring>
 #include <list>
 #include <string>
+#include <time.h>
 
 #include <licq/userid.h>
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 11 13:30:08 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186649 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Thu Feb 13 21:36:55 CET 2014 
State-Changed-Why:  
committed, thanks. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186649: commit references a PR
Date: Thu, 13 Feb 2014 20:43:02 +0000 (UTC)

 Author: dinoex
 Date: Thu Feb 13 20:42:54 2014
 New Revision: 344141
 URL: http://svnweb.freebsd.org/changeset/ports/344141
 QAT: https://qat.redports.org/buildarchive/r344141/
 
 Log:
   - fix build with clang
   PR:		186649
   Submitted by:	Vsevolod Volkov
 
 Added:
   head/net-im/licq-icq/files/
   head/net-im/licq-icq/files/patch-filetransfer.h   (contents, props changed)
 
 Added: head/net-im/licq-icq/files/patch-filetransfer.h
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/net-im/licq-icq/files/patch-filetransfer.h	Thu Feb 13 20:42:54 2014	(r344141)
 @@ -0,0 +1,10 @@
 +--- ../../include/licq/icq/filetransfer.h.orig	2013-08-25 11:45:17.000000000 +0200
 ++++ ../../include/licq/icq/filetransfer.h	2014-02-13 21:38:18.000000000 +0100
 +@@ -76,6 +76,7 @@
 + #include <cstring>
 + #include <list>
 + #include <string>
 ++#include <time.h>
 + 
 + #include <licq/userid.h>
 + 
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
