pkgsrc/lang/brandybasic/patches/patch-aa
2015-12-29 23:34:43 +00:00

18 lines
514 B
Text

$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