From 7cc62d99e96a3b809a4f94d869fe67960c336667 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 30 Jul 2016 20:05:39 +0000 Subject: [PATCH] Enabled overriding of OpenBSD default for Immed usage --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/os-netbsd.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 841c6ec..4c3d0b1 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2016.07.30.140859" +#define Cdrskin_timestamP "2016.07.30.200623" diff --git a/libburn/os-netbsd.h b/libburn/os-netbsd.h index 9303c7a..892a1f4 100644 --- a/libburn/os-netbsd.h +++ b/libburn/os-netbsd.h @@ -49,8 +49,14 @@ on Immed bit with BLANK and SYNCHRONIZE CACHE. Until it is clear that the drive is to blame, the OpenBSD default is not to use Immed. + + This may be overridden at ./configure time by + export CFLAGS + CFLAGS="$CFLAGS -DLibburn_do_no_immed_defaulT=0" */ +#ifndef Libburn_do_no_immed_defaulT #define Libburn_do_no_immed_defaulT 1 +#endif #else /* __OpenBSD__ */