summaryrefslogtreecommitdiff
path: root/lang/brandybasic/patches/patch-aa
blob: 90699261f9b42c98307a243fd9eff18165b0f5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.4 2015/12/29 23:34:44 dholland Exp $

Dragonfly support.

--- src/target.h.orig	2004-01-25 19:01:20.000000000 +0000
+++ src/target.h
@@ -66,6 +66,11 @@ typedef double float64;			/* Type for 64
 #define IDSTRING "Brandy Basic V Interpreter Version 1.0.16 (FreeBSD) 25/01/2004"
 #endif
 
+#ifdef __DragonFly__
+#define TARGET_FREEBSD
+#define IDSTRING "Brandy Basic V Interpreter Version 1.0.16 (DragonFly) 25/01/2004"
+#endif
+
 #ifdef __OpenBSD__
 #define TARGET_OPENBSD
 #define TARGET_UNIX