Date: Fri, 21 Mar 2014 09:29:40 GMT From: Yamagi Burmeister <yamagi@yamagi.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187809: [PATCH] Fix build of audio/ncmpcpp on FreeBSD 10 Message-ID: <201403210929.s2L9TeCe079068@cgiserv.freebsd.org> Resent-Message-ID: <201403210930.s2L9U1hV070176@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187809 >Category: ports >Synopsis: [PATCH] Fix build of audio/ncmpcpp on FreeBSD 10 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >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: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403210929.s2L9TeCe079068>