$NetBSD: patch-an,v 1.2 2007/10/13 12:02:15 adam Exp $

--- src/script/qscriptlexer.cpp.orig	2007-10-01 15:06:09.000000000 +0200
+++ src/script/qscriptlexer.cpp
@@ -706,7 +706,7 @@ int QScript::Lexer::lex()
 
     double dval = 0;
     if (state == Number) {
-#if defined(Q_WS_WIN) || defined(Q_OS_SOLARIS) || defined(Q_OS_IRIX) || defined(Q_CC_HPACC) || defined(Q_OS_AIX) || defined(Q_OS_OPENBSD)
+#if defined(Q_WS_WIN) || defined(Q_OS_SOLARIS) || defined(Q_OS_IRIX) || defined(Q_CC_HPACC) || defined(Q_OS_AIX) || defined(Q_OS_OPENBSD) || defined(__DragonFly__)
         // ### This may cause autotest failure, but that's just plain weird...
         dval = strtod(buffer8, 0L);
 #else
