pkgsrc/lang/drscheme/patches/patch-aa
joerg 498e7d191b Add DragonFly support based on patch by Jeffrey Hsu.
Fix build with X11BASE!=/usr/X11R6.
2006-08-22 20:17:23 +00:00

42 lines
855 B
Text

$NetBSD: patch-aa,v 1.5 2006/08/22 20:17:23 joerg Exp $
--- ../include/sconfig.h.orig 2004-12-19 08:38:25.000000000 +0000
+++ ../include/sconfig.h
@@ -288,6 +288,37 @@
#endif
+ /************** x86/DragonFly with gcc ****************/
+
+# if defined(__DragonFly__) && defined(i386)
+
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "dragonfly"
+
+# include "uconfig.h"
+# undef HAS_STANDARD_IOB
+
+# define HAS_BSD_IOB
+
+# define STACK_GROWS_DOWN
+
+# define USE_UNDERSCORE_SETJMP
+
+# define USE_IEEE_FP_PREDS
+# define FREEBSD_CONTROL_387
+# define POW_HANDLES_INF_CORRECTLY
+
+# define USE_DYNAMIC_FDSET_SIZE
+
+# define SIGSET_IS_SIGNAL
+
+# define USE_TM_GMTOFF_FIELD
+
+# define REGISTER_POOR_MACHINE
+
+# define FLAGS_ALREADY_SET
+
+#endif
+
/************** x86/FreeBSD with gcc ****************/
# if defined(__FreeBSD__) && defined(i386)