pkgsrc/x11/qt1/patches/patch-af
joerg 32c8dc50e2 Add DragonFly support. Move two methods in qfont.h out of private scope,
GCC 3.4 doesn't allow a private methods as friends.

XXX Should netbsd-g++-static be used for all platforms?
2005-12-12 14:56:07 +00:00

13 lines
421 B
Text

$NetBSD: patch-af,v 1.1 2005/12/12 14:56:07 joerg Exp $
--- src/tools/qglobal.h.orig 2005-12-12 14:10:03.000000000 +0000
+++ src/tools/qglobal.h
@@ -82,7 +82,7 @@
#define _OS_ULTRIX_
#elif defined(linux) || defined(__linux) || defined(__linux__)
#define _OS_LINUX_
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
#define _OS_FREEBSD_
#elif defined(__NetBSD__)
#define _OS_NETBSD_