summaryrefslogtreecommitdiff
path: root/lang/sather/patches/patch-ba
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-12 00:05:04 +0000
committerjoerg <joerg>2006-01-12 00:05:04 +0000
commit791f254d7e6eb2eebccd5344ba54379390b378f0 (patch)
tree34f320d19c7c79ef74b9e855e5ef8264aee34335 /lang/sather/patches/patch-ba
parent5a868cacd93126e52ac6780fb34c883e3e2aee16 (diff)
downloadpkgsrc-791f254d7e6eb2eebccd5344ba54379390b378f0.tar.gz
Add DragonFly. Be a bit nicer to CPP and add trailing \ to mask the
embedded newlines.
Diffstat (limited to 'lang/sather/patches/patch-ba')
-rw-r--r--lang/sather/patches/patch-ba13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/sather/patches/patch-ba b/lang/sather/patches/patch-ba
new file mode 100644
index 00000000000..8d322a44d31
--- /dev/null
+++ b/lang/sather/patches/patch-ba
@@ -0,0 +1,13 @@
+$NetBSD: patch-ba,v 1.1 2006/01/12 00:05:04 joerg Exp $
+
+--- System/Common/runtime.h.orig 2006-01-11 22:04:54.000000000 +0000
++++ System/Common/runtime.h
+@@ -179,7 +179,7 @@ void rt_file_close(INT fd);
+ #define isnormal(f) ((int)1) /* these two are hacks esc*/
+ #define issubnormal(f) ((int)0)
+
+-#elif defined(_AIX) || defined(SUNOS5) || defined(__NeXT__) || defined(__sgi) || defined(ALPHA) || defined(__hpux) || defined(__FreeBSD__) || defined(__alpha) || defined(__CYGWIN32__)
++#elif defined(_AIX) || defined(SUNOS5) || defined(__NeXT__) || defined(__sgi) || defined(ALPHA) || defined(__hpux) || defined(__FreeBSD__) || defined(__alpha) || defined(__CYGWIN32__) || defined(__DragonFly__)
+ # define FLTDEXP10(f) pow(10.0,f)
+ #else
+ # define FLTDEXP10(f) exp10(f)