ports/shells/bash1/files/patch-ah
2002-02-10 10:58:07 +00:00

35 lines
1.2 KiB
Text

--- machines.h.orig Mon Dec 18 11:13:22 1995
+++ machines.h Sun Feb 10 02:30:49 2002
@@ -63,7 +63,7 @@
some machines, our malloc () cannot be used (because of library
conflicts, for example), and for those, you should specifically
#undef USE_GNU_MALLOC in the machine description. */
-#define USE_GNU_MALLOC
+#undef USE_GNU_MALLOC
/* This causes the Gnu malloc library (from glibc) to be used. */
/* #define USE_GNU_MALLOC_LIBRARY */
@@ -80,6 +80,23 @@
/* Sun Microsystems Machines */
/* */
/* **************************************************************** */
+
+/* FreeBSD running on a 386 or 486. */
+#if defined (__sparc64__) && defined (__FreeBSD__)
+# define M_MACHINE "sun4u"
+# define M_OS "FreeBSD"
+# define SYSDEP_CFLAGS -D__BSD_4_4__ -DRLIMTYPE=quad_t
+# define SYSDEP_LDFLAGS -static
+# define HAVE_SYS_SIGLIST
+# define HAVE_SETLINEBUF
+# define HAVE_GETGROUPS
+# define HAVE_VFPRINTF
+# define HAVE_STRERROR
+# define VOID_SIGHANDLER
+# define HAVE_DIRENT
+# define HAVE_STRCASECMP
+# define GCC_STANDARD
+#endif /* __sparc64__ && __FreeBSD__ */
/* NetBSD running on a sparc. */
#if defined (sparc) && defined (__NetBSD__)