ports/187809: [PATCH] Fix build of audio/ncmpcpp on FreeBSD 10

Yamagi Burmeister yamagi at yamagi.org
Fri Mar 21 09:30:02 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list