aboutsummaryrefslogtreecommitdiff
path: root/lang/dmd2
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2013-09-28 05:50:51 +0000
committerCy Schubert <cy@FreeBSD.org>2013-09-28 05:50:51 +0000
commitab3e6011fc247aef1fb3751f32106328ca9316e4 (patch)
tree06d3b89364283f88b9d9a3dedd3a694a22cb1152 /lang/dmd2
parent152a5d5f40b7fce1059a95c3f99464396e603196 (diff)
downloadports-ab3e6011fc247aef1fb3751f32106328ca9316e4.tar.gz
ports-ab3e6011fc247aef1fb3751f32106328ca9316e4.zip
Notes
Diffstat (limited to 'lang/dmd2')
-rw-r--r--lang/dmd2/files/patch-src-dmd-root-port.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/dmd2/files/patch-src-dmd-root-port.c b/lang/dmd2/files/patch-src-dmd-root-port.c
new file mode 100644
index 000000000000..f7d6bf72258f
--- /dev/null
+++ b/lang/dmd2/files/patch-src-dmd-root-port.c
@@ -0,0 +1,29 @@
+--- ../../src/dmd/root/port.c.orig 2013-06-12 22:42:08.000000000 -0700
++++ ../../src/dmd/root/port.c 2013-09-27 17:56:26.292841909 -0700
+@@ -406,7 +406,7 @@
+ #else
+ return __inline_isnan(r);
+ #endif
+-#elif __OpenBSD__
++#elif __OpenBSD__ || __FreeBSD__
+ return isnan(r);
+ #else
+ #undef isnan
+@@ -422,7 +422,7 @@
+ #else
+ return __inline_isnan(r);
+ #endif
+-#elif __OpenBSD__
++#elif __OpenBSD__ || __FreeBSD__
+ return isnan(r);
+ #else
+ #undef isnan
+@@ -456,7 +456,7 @@
+ {
+ #if __APPLE__
+ return fpclassify(r) == FP_INFINITE;
+-#elif __OpenBSD__
++#elif __OpenBSD__ || __FreeBSD__
+ return isinf(r);
+ #else
+ #undef isinf