$NetBSD: patch-af,v 1.1 2005/12/31 00:39:01 joerg Exp $

--- runtime.c.orig	2005-12-30 23:52:36.000000000 +0000
+++ runtime.c
@@ -7510,6 +7510,9 @@ void C_software_version(C_word c, C_word
 #if defined(__linux__)
   a = C_alloc(2 + C_bytestowords(5));
   s = C_string2(&a, "linux");
+#elif defined(__DragonFly__)
+  a = C_alloc(2 + C_bytestowords(9));
+  s = C_string2(&a, "dragonfly");
 #elif defined(__FreeBSD__)
   a = C_alloc(2 + C_bytestowords(7));
   s = C_string2(&a, "freebsd");
