fix some drug-ery, get patches in shape
This commit is contained in:
parent
1c8f153f2e
commit
3a450dc0dc
@ -1,8 +0,0 @@
|
||||
--- src/s/openbsd.h.~1~ Sat Sep 6 12:33:09 1997
|
||||
+++ src/s/openbsd.h Sat Jan 30 20:26:59 1999
|
||||
@@ -5,3 +5,5 @@
|
||||
|
||||
/* Get the rest of the stuff from that less-POSIX-conformant system */
|
||||
#include "netbsd.h"
|
||||
+
|
||||
+#undef LIBS_TERMCAP
|
@ -1,13 +0,0 @@
|
||||
--- src/m/sparc.h.~1~ Sat Sep 6 11:51:04 1997
|
||||
+++ src/m/sparc.h Sun Jan 31 12:58:22 1999
|
||||
@@ -83,8 +83,10 @@
|
||||
/* Must use the system's termcap, if we use any termcap.
|
||||
It does special things. */
|
||||
|
||||
+#if 0 /* not with OpenBSD 2.4 current */
|
||||
#ifndef TERMINFO
|
||||
#define LIBS_TERMCAP -ltermcap
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
/* Mask for address bits within a memory segment */
|
@ -1,10 +0,0 @@
|
||||
--- src/m/macppc.h.orig Fri Oct 20 17:34:43 2000
|
||||
+++ src/m/macppc.h Fri Oct 20 17:36:35 2000
|
||||
@@ -78,6 +78,7 @@
|
||||
#define ORDINARY_LINK
|
||||
#endif
|
||||
|
||||
+#undef UNEXEC
|
||||
#define UNEXEC unexelf.o
|
||||
|
||||
#define NO_TERMIO
|
@ -1,13 +0,0 @@
|
||||
--- src/s/openbsd.h.orig Tue May 2 06:41:43 2000
|
||||
+++ src/s/openbsd.h Fri Oct 20 17:44:45 2000
|
||||
@@ -3,6 +3,10 @@
|
||||
/* Get most of the stuff from bsd4.3 */
|
||||
#include "bsd4-3.h"
|
||||
|
||||
+#if defined(__OpenBSD__) && defined(__powerpc__)
|
||||
+#define __ELF__
|
||||
+#endif
|
||||
+
|
||||
/* Get the rest of the stuff from that less-POSIX-conformant system */
|
||||
#include "netbsd.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/unexelf.c.orig Sun Feb 7 17:49:47 2021
|
||||
+++ src/unexelf.c Sun Feb 7 20:08:48 2021
|
||||
@@ -466,7 +466,7 @@
|
||||
--- src/unexelf.c.orig Mon May 15 02:14:02 2000
|
||||
+++ src/unexelf.c Sun Mar 17 20:03:34 2002
|
||||
@@ -466,7 +466,7 @@ typedef struct {
|
||||
#define hdrNil ((pHDRR)0)
|
||||
#endif
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
/*
|
||||
* NetBSD does not have normal-looking user-land ELF support.
|
||||
*/
|
||||
@@ -500,6 +500,11 @@
|
||||
@@ -500,6 +500,11 @@ typedef struct {
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
# include <sys/exec_elf.h>
|
||||
@ -21,7 +21,7 @@
|
||||
#endif
|
||||
|
||||
#if __GNU_LIBRARY__ - 0 >= 6
|
||||
@@ -512,10 +517,12 @@
|
||||
@@ -512,10 +517,12 @@ typedef struct {
|
||||
# else
|
||||
# define ElfBitsW(bits, type) Elf/**/bits/**/_/**/type
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user