rc_cmd_INIT_package.sh sed 's/^X//' >ksh93/files/patch-src_cmd_INIT_package.sh << 'END-of-ksh93/files/patch-src_cmd_INIT_package.sh' X--- src/cmd/INIT/package.sh.orig Mon Nov 13 15:21:36 2000 X+++ src/cmd/INIT/package.sh Thu Dec 28 18:26:19 2000 X@@ -1972,11 +1972,6 @@ X # $INSTALLROOT may be an obsolete shipment X X PAX= X-if executable pax X-then case `pax --?meter 2>&1` in X- *--meter*) PAX=pax ;; X- esac X-fi X X # finalize the views X END-of-ksh93/files/patch-src_cmd_INIT_package.sh echo x - ksh93/files/patch-src_cmd_INIT_mamake.c sed 's/^X//' >ksh93/files/patch-src_cmd_INIT_mamake.c << 'END-of-ksh93/files/patch-src_cmd_INIT_mamake.c' X--- src/cmd/INIT/mamake.c.orig Fri Sep 22 00:38:32 2000 X+++ src/cmd/INIT/mamake.c Thu Dec 28 18:26:19 2000 X@@ -98,6 +98,8 @@ X #endif X X #include X+#include X+#include X #include X #include X #include END-of-ksh93/files/patch-src_cmd_INIT_mamake.c echo x - ksh93/files/patch-src_cmd_INIT_proto.c sed 's/^X//' >ksh93/files/patch-src_cmd_INIT_proto.c << 'END-of-ksh93/files/patch-src_cmd_INIT_proto.c' X--- src/cmd/INIT/proto.c.orig Thu Oct 26 16:00:44 2000 X+++ src/cmd/INIT/proto.c Thu Dec 28 18:26:19 2000 X@@ -1531,6 +1531,7 @@ X X X X+extern __MANGLE__ __V_* realloc __PROTO__((__V_*, int)); X extern __MANGLE__ __V_* calloc __PROTO__((int, int)); X extern __MANGLE__ char* ctime __PROTO__((time_t*)); X extern __MANGLE__ void free __PROTO__((__V_*)); X@@ -3965,7 +3966,7 @@ X if ((n = ip - bp - 1) > 0) X { X ip = bp; X- do switch( n) { default : memcpy( op, ip, n); op += n; ip += n; break; case 7 : * op++ = * ip++; case 6 : * op++ = * ip++; case 5 : * op++ = * ip++; case 4 : * op++ = * ip++; case 3 : * op++ = * ip++; case 2 : * op++ = * ip++; case 1 : * op++ = * ip++; case 0 : break; } while (0); X+ do switch( n) { default : memcopy( op, ip, n); op += n; ip += n; break; case 7 : * op++ = * ip++; case 6 : * op++ = * ip++; case 5 : * op++ = * ip++; case 4 : * op++ = * ip++; case 3 : * op++ = * ip++; case 2 : * op++ = * ip++; case 1 : * op++ = * ip++; case 0 : break; } while (0); X ip++; X } X state = ~state; X@@ -5835,11 +5836,11 @@ X pppclose(b); X return flags | ((1<<13)<<0); X } X- strcpy(buf, copy); X+ strcopy(buf, copy); X e = buf + n; X if (*file != '/') X *e++ = '/'; X- strcpy(e, file); X+ strcopy(e, file); X if ((fd = creat(buf, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) < 0) X { X for (e = buf; *e == '/'; e++); X@@ -5882,7 +5883,7 @@ X if (file && (flags & ((1<<13)<<1))) X { X *e = '_'; X- strcpy(b, file); X+ strcopy(b, file); X *e = x; X if (replace(b, file, !(flags & (1<<0)))) X proto_error(b, 2, "cannot rename to", file); X@@ -5977,7 +5978,7 @@ X else X { X *op++ = '\n'; X- memcpy(op, b, n + 1); X+ memcopy(op, b, n + 1); X op += n; X } X break; END-of-ksh93/files/patch-src_cmd_INIT_proto.c echo x - ksh93/files/patch-src_cmd_ksh93_Mamefile sed 's/^X//' >ksh93/files/patch-src_cmd_ksh93_Mamefile << 'END-of-ksh93/files/patch-src_cmd_ksh93_Mamefile' X--- src/cmd/ksh93/Mamfile.orig Mon Nov 13 16:56:53 2000 X+++ src/cmd/ksh93/Mamfile Thu Dec 28 18:26:19 2000 X@@ -1111,12 +1111,12 @@ X done sh/shcomp.c X prev sh/shcomp.c X setv _BLD_shell -U_BLD_shell X-exec - ${CC} -O -I. -Iinclude -I${INSTALLROOT}/include/ast -DSH_DICT='(void*)e_dict' -DKSHELL -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_ESH -c sh/shcomp.c X+exec - ${CC} ${CCFLAGS} -I. -Iinclude -I${INSTALLROOT}/include/ast -DSH_DICT='(void*)e_dict' -DKSHELL -D_PACKAGE_ast -DSHOPT_SUID_EXEC -DSHOPT_VSH -DSHOPT_ESH -c sh/shcomp.c X done shcomp.o generated X prev libshell.a archive X setv mam_libshell `sed -e 's,-lshell,libshell.a,' shell.req` X prev ${mam_libdl} X-exec - ${CC} -O ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o shcomp shcomp.o ${mam_libshell} ${mam_libm} ${mam_cc_static} ${mam_cc_dynamic} ${mam_libast} X+exec - ${CC} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o shcomp shcomp.o ${mam_libshell} ${mam_libm} ${mam_cc_static} ${mam_cc_dynamic} ${mam_libast} X done shcomp generated X make sh/suid_exec.c X prev ${INSTALLROOT}/include/ast/error.h implicit X@@ -1133,10 +1133,10 @@ X make suid_exec.o X prev sh/suid_exec.c X prev sh/suid_exec.c X-exec - ${CC} -O -I. -I${INSTALLROOT}/include/ast -D_PACKAGE_ast -c sh/suid_exec.c X+exec - ${CC} ${CCFLAGS} -I. -I${INSTALLROOT}/include/ast -D_PACKAGE_ast -c sh/suid_exec.c X done suid_exec.o generated X prev ${mam_libdl} X-exec - ${CC} -O ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o suid_exec suid_exec.o ${mam_cc_static} ${mam_libast} ${mam_cc_dynamic} ${mam_libm} ${mam_cc_static} ${mam_cc_dynamic} ${mam_libast} X+exec - ${CC} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o suid_exec suid_exec.o ${mam_cc_static} ${mam_libast} ${mam_cc_dynamic} ${mam_libm} ${mam_cc_static} ${mam_cc_dynamic} ${mam_libast} X done suid_exec generated X make ${INSTALLROOT}/bin X exec - set - END-of-ksh93/files/patch-src_cmd_ksh93_Mamefile echo x - ksh93/files/patch-src_cmd_ksh93_sh.1 sed 's/^X//' >ksh93/files/patch-src_cmd_ksh93_sh.1 << 'END-of-ksh93/files/patch-src_cmd_ksh93_sh.1' X--- src/cmd/ksh93/sh.1.orig Wed Dec 27 23:10:30 2000 X+++ src/cmd/ksh93/sh.1 Wed Dec 27 23:10:44 2000 X@@ -4,7 +4,7 @@ X .\" X .\" @(#)sh.1 (research!dgk) 12/28/93 X .\" X-.nr Z 0 \" set to 1 when command name is ksh rather than sh X+.nr Z 1 \" set to 1 when command name is ksh rather than sh X .nr Y 0 \" set to 1 for R&D UNIX X .if \nY=1 .nr Z 1 X .ds OK [\| END-of-ksh93/files/patch-src_cmd_ksh93_sh.1 echo x - ksh93/files/patch-src_lib_libast_vmalloc_vmhdr.h sed 's/^X//' >ksh93/files/patch-src_lib_libast_vmalloc_vmhdr.h << 'END-of-ksh93/files/patch-src_lib_libast_vmalloc_vmhdr.h' X--- src/lib/libast/vmalloc/vmhdr.h.orig Thu Dec 28 00:07:39 2000 X+++ src/lib/libast/vmalloc/vmhdr.h Thu Dec 28 00:08:18 2000 X@@ -56,12 +56,12 @@ X #include X #include "FEATURE/vmalloc" X X+#endif /*_PACKAGE_ast*/ X+ X #if !_UWIN X #define _npt_getpagesize 1 X #define _npt_sbrk 1 X #endif X- X-#endif /*_PACKAGE_ast*/ X X #undef free X #undef malloc END-of-ksh93/files/patch-src_lib_libast_vmalloc_vmhdr.h echo x - ksh93/files/patch-src_lib_libast_features_sfio sed 's/^X//' >ksh93/files/patch-src_lib_libast_features_sfio << 'END-of-ksh93/files/patch-src_lib_libast_features_sfio' X--- src/lib/libast/features/sfio.orig Thu Dec 28 02:40:45 2000 X+++ src/lib/libast/features/sfio Thu Dec 28 02:40:52 2000 X@@ -1,4 +1,4 @@ X-hdr float,floatingpoint,math,values X+hdr float,floatingpoint,math X sys filio,ioctl X lib qfrexp,qldexp X END-of-ksh93/files/patch-src_lib_libast_features_sfio echo x - ksh93/files/patch-src_lib_libast_features_limits.c sed 's/^X//' >ksh93/files/patch-src_lib_libast_features_limits.c << 'END-of-ksh93/files/patch-src_lib_libast_features_limits.c' X--- src/lib/libast/features/limits.c.orig Tue Feb 9 15:23:43 1999 X+++ src/lib/libast/features/limits.c Thu Dec 28 19:35:20 2000 X@@ -122,6 +122,7 @@ X while (uc >>= 1) val++; X #endif X printf("#define CHAR_BIT %lu\n", val); X+#undef MB_LEN_MAX X #ifdef MB_LEN_MAX X val = MB_LEN_MAX; X printf("#undef MB_LEN_MAX\n"); X@@ -392,6 +393,9 @@ X #endif X #ifdef _LIMITS_H_ X printf("#define _LIMITS_H_\n"); X+#endif X+#ifdef _MACHINE_LIMITS_H X+ printf("#define _MACHINE_LIMITS_H_"); X #endif X #ifdef __LIMITS_H X printf("#define __LIMITS_H\n"); END-of-ksh93/files/patch-src_lib_libast_features_limits.c exit --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message