diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-10 10:58:07 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-02-10 10:58:07 +0000 |
commit | 6c19fe987946c6e9a7a7b3229e2f70148df62c64 (patch) | |
tree | bc1d5dac2a2025937f3d95ac4fd94cc3099b5f20 /shells | |
parent | c84343942948dacef11f5fafb987637d16f9d7ea (diff) | |
download | ports-6c19fe987946c6e9a7a7b3229e2f70148df62c64.tar.gz ports-6c19fe987946c6e9a7a7b3229e2f70148df62c64.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash1/files/patch-ah | 54 | ||||
-rw-r--r-- | shells/bash1/files/patch-test.c | 18 |
2 files changed, 53 insertions, 19 deletions
diff --git a/shells/bash1/files/patch-ah b/shells/bash1/files/patch-ah index 14fcc43adb85..3033ef25d483 100644 --- a/shells/bash1/files/patch-ah +++ b/shells/bash1/files/patch-ah @@ -1,19 +1,35 @@ -*** machines.h.orig Fri Jun 27 10:54:20 1997 ---- machines.h Fri Jun 27 10:54:22 1997 -*************** -*** 63,69 **** - 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 - - /* This causes the Gnu malloc library (from glibc) to be used. */ - /* #define USE_GNU_MALLOC_LIBRARY */ ---- 63,69 ---- - 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. */ -! #undef USE_GNU_MALLOC - - /* This causes the Gnu malloc library (from glibc) to be used. */ - /* #define USE_GNU_MALLOC_LIBRARY */ +--- 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__) diff --git a/shells/bash1/files/patch-test.c b/shells/bash1/files/patch-test.c new file mode 100644 index 000000000000..d05535c86718 --- /dev/null +++ b/shells/bash1/files/patch-test.c @@ -0,0 +1,18 @@ +--- test.c.orig Fri Dec 23 06:45:12 1994 ++++ test.c Sun Feb 10 02:34:09 2002 +@@ -194,6 +194,7 @@ + return (stat (path, finfo)); + } + ++#if 0 /* use native FreeBSD libc version */ + /* Do the same thing access(2) does, but use the effective uid and gid, + and don't make the mistake of telling root that any file is + executable. */ +@@ -237,6 +238,7 @@ + + return (-1); + } ++#endif + + #if defined (HAVE_GETGROUPS) + /* The number of groups that this user is a member of. */ |