pkgsrc/audio/ardour/patches/patch-libs_pbd_fpu.cc
kamil 0edd75ba4a Import Ardour-4.7 (ardour4) as audio/ardour
Ardour is a multi-channel digital audio workstation, allowing users to record,
edit, mix and master audio and MIDI projects. It is targeted at audio
engineers, musicians, soundtrack editors and composers.

Originally packaged in pkgsrc-wip by:
- myself,
- <coypu>,
- Thomas Klausner.
2016-06-20 08:17:42 +00:00

16 lines
420 B
C++

$NetBSD: patch-libs_pbd_fpu.cc,v 1.1 2016/06/20 08:17:43 kamil Exp $
There are problems with C++11 heavy code on NetBSD when building against _XOPEN_SOURCE.
--- libs/pbd/fpu.cc.orig 2016-02-19 01:28:56.000000000 +0000
+++ libs/pbd/fpu.cc
@@ -19,7 +19,9 @@
#include "libpbd-config.h"
+#ifndef __NetBSD__
#define _XOPEN_SOURCE 600
+#endif
#include <cstring> // for memset
#include <cstdlib>
#include <stdint.h>