1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/devel/xxgdb/files/patch-aa

46 lines
976 B
Plaintext
Raw Normal View History

--- ./global.h.org Tue Nov 15 18:09:55 1994
+++ ./global.h Tue May 2 21:56:19 1995
@@ -68,7 +68,7 @@
#define alloca __builtin_alloca
#endif
-#ifndef __alpha
+#if !defined(__alpha) && !defined(__FreeBSD__)
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
--- ./calldbx.c.org Mon Dec 5 17:21:36 1994
+++ ./calldbx.c Tue May 2 22:06:38 1995
@@ -137,13 +137,17 @@
#ifndef sco
for (c='p'; c<'t'; c++) {
+#ifdef __FreeBSD__
+ for (i=0; i<32; i++) {
+#else
for (i=0; i<16; i++) {
+#endif
#else
c = 'p';
for (i=0; i<8; i++) {
#endif
pty[8] = c;
- pty[9] = "0123456789abcdef"[i];
+ pty[9] = "0123456789abcdefghijklmnopqrstuv"[i];
if ((master = open(pty, O_RDWR)) >= 0)
return (master);
}
--- ./Imakefile.org Thu Mar 23 14:49:32 1995
+++ ./Imakefile Tue May 2 22:14:58 1995
@@ -50,6 +50,10 @@
DEFINES = -DSYSV $(DEFGDB)
#endif
+#ifdef FreeBSDArchitecture
+DEFINES = $(DEFGDB)
+#endif
+
mallocc = #malloc.c
malloco = #malloc.o