pkgsrc-wip/dmd/patches/patch-ai

14 lines
314 B
Plaintext

$NetBSD: patch-ai,v 1.1.1.1 2011/02/16 17:10:41 thomasklausner Exp $
--- src/dmd/builtin.c.orig 2010-12-20 20:02:36.000000000 +0000
+++ src/dmd/builtin.c
@@ -12,7 +12,7 @@
#include <assert.h>
#include <math.h>
-#if __FreeBSD__
+#if __FreeBSD__ || __NetBSD__
extern "C"
{
long double sinl(long double);