From nobody@FreeBSD.org  Fri Mar 21 09:29:41 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 8AF47FDF
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Mar 2014 09:29:41 +0000 (UTC)
Received: from cgiserv.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 780B5F15
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Mar 2014 09:29:41 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2L9TeSB079072
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Mar 2014 09:29:40 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2L9TeCe079068;
	Fri, 21 Mar 2014 09:29:40 GMT
	(envelope-from nobody)
Message-Id: <201403210929.s2L9TeCe079068@cgiserv.freebsd.org>
Date: Fri, 21 Mar 2014 09:29:40 GMT
From: Yamagi Burmeister <yamagi@yamagi.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] Fix build of audio/ncmpcpp on FreeBSD 10
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187809
>Category:       ports
>Synopsis:       [PATCH] Fix build of audio/ncmpcpp on FreeBSD 10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dhn
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 09:30:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Fri Mar 21 09:30:06 UTC 2014
>Originator:     Yamagi Burmeister
>Release:        FreeBSD 10.0
>Organization:
>Environment:
FreeBSD happy.home.yamagi.org 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r262076M: Mon Feb 17 17:16:33 CET 2014     root@happy.home.yamagi.org:/usr/obj/usr/src/sys/HAPPY  amd64
>Description:
audio/ncmpcpp fails again to build on FreeBSD 10, this time due to a missing include of sys/time.h. See http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-03-20_12h05m42s/logs/ncmpcpp-0.5.10_1.log for details. The attached patch works around this problem by adding an explicit include of sys/time.h to src/visualizer.h. Put it to files/patch-src_visualizer.h.
>How-To-Repeat:
Build audio/ncmpcpp on FreeBSD 10. Make sure that the "visualizer" option is set to on, which is the default.

>Fix:
--- src/visualizer.h_	2014-03-21 10:19:41.558080779 +0100
+++ src/visualizer.h	2014-03-21 10:19:58.932079004 +0100
@@ -29,6 +29,7 @@
 
 #include "window.h"
 #include "screen.h"
+#include <sys/time.h>
 
 #ifdef HAVE_FFTW3_H
 # include <fftw3.h>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dhn 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Mar 21 09:30:05 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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