diff options
author | agc <agc@pkgsrc.org> | 1997-10-24 14:14:32 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-24 14:14:32 +0000 |
commit | c1af73ac789097b0369e7f83bbdc6d88b305bb80 (patch) | |
tree | 17704e85e052efa5bb5d390c0f0114e40811e48f /shells/tcsh/patches | |
parent | a623bb1503466be0e1a39148700ba3ef3d1359ca (diff) | |
download | pkgsrc-c1af73ac789097b0369e7f83bbdc6d88b305bb80.tar.gz |
Initial import of FreeBSD's shells ports category into NetBSD package
system.
Diffstat (limited to 'shells/tcsh/patches')
-rw-r--r-- | shells/tcsh/patches/patch-aa | 56 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-ab | 19 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-ac | 19 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-ad | 83 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-ae | 67 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-af | 23 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-ag | 44 |
7 files changed, 311 insertions, 0 deletions
diff --git a/shells/tcsh/patches/patch-aa b/shells/tcsh/patches/patch-aa new file mode 100644 index 00000000000..00182738a6a --- /dev/null +++ b/shells/tcsh/patches/patch-aa @@ -0,0 +1,56 @@ +*** configure.in.orig Sun Oct 27 08:58:56 1996 +--- configure.in Sat Apr 19 21:37:17 1997 +*************** +*** 76,81 **** +--- 76,91 ---- + tcsh_config_file=sysV88 + ;; + ++ ## FreeBSD ++ *-*-freebsd*) ++ tcsh_config_file=bsd4.4 ++ ;; ++ ++ ## OpenBSD ++ *-*-openbsd*) ++ tcsh_config_file=bsd4.4 ++ ;; ++ + ## NetBSD systems + *-*-netbsd*) + tcsh_config_file=bsd4.4 +*** configure.orig Sun Oct 27 08:58:55 1996 +--- configure Sat Apr 19 21:39:29 1997 +*************** +*** 582,587 **** +--- 582,597 ---- + tcsh_config_file=sysV88 + ;; + ++ ## FreeBSD ++ *-*-freebsd*) ++ tcsh_config_file=bsd4.4 ++ ;; ++ ++ ## OpenBSD ++ *-*-openbsd*) ++ tcsh_config_file=bsd4.4 ++ ;; ++ + ## NetBSD systems + *-*-netbsd*) + tcsh_config_file=bsd4.4 +*** config.guess.dist Sat Oct 19 10:54:43 1996 +--- config.guess Sat Apr 19 22:52:46 1997 +*************** +*** 308,313 **** +--- 308,316 ---- + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; ++ *:OpenBSD:*:*) ++ echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ++ exit 0 ;; + *:NetBSD:*:*) + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; diff --git a/shells/tcsh/patches/patch-ab b/shells/tcsh/patches/patch-ab new file mode 100644 index 00000000000..666000918fe --- /dev/null +++ b/shells/tcsh/patches/patch-ab @@ -0,0 +1,19 @@ +*** nls/greek/set20.bak Fri Apr 26 23:24:30 1996 +--- nls/greek/set20 Mon Dec 16 02:56:43 1996 +*************** +*** 13,19 **** + 10 %-15s-> δεν έχει οριστεί\n + 11 BUG!!! το %s δεν είναι συσχετισμένο με τίποτα.\n + 12 Χρήση: bindkey [επιλογές] [--] [ΠΛΗΚΤΡΟ [ΕΝΤΟΛΗ]]\n +! 13 -a εμφάνιση ή συσχέτιση ΠΛΗΚΤΡΟυ στον εναλλακτικό χάρτη πλήκτρων\ν + 14 -b ερμηνεία ΠΛΗΚΤΡΟυ ως C-, M-, F- or X- όνομα πλήκτρου\n + 15 -s ερμηνεία ΕΝΤΟΛΗς ως κυριολεκτικού string γιά εμφάνιση\n + 16 -c ερμηνεία ΕΝΤΟΛΗς ως εσωτερικής ή εξωτερικής εντολής\n +--- 13,19 ---- + 10 %-15s-> δεν έχει οριστεί\n + 11 BUG!!! το %s δεν είναι συσχετισμένο με τίποτα.\n + 12 Χρήση: bindkey [επιλογές] [--] [ΠΛΗΚΤΡΟ [ΕΝΤΟΛΗ]]\n +! 13 -a εμφάνιση ή συσχέτιση ΠΛΗΚΤΡΟυ στον εναλλακτικό χάρτη πλήκτρων\n + 14 -b ερμηνεία ΠΛΗΚΤΡΟυ ως C-, M-, F- or X- όνομα πλήκτρου\n + 15 -s ερμηνεία ΕΝΤΟΛΗς ως κυριολεκτικού string γιά εμφάνιση\n + 16 -c ερμηνεία ΕΝΤΟΛΗς ως εσωτερικής ή εξωτερικής εντολής\n diff --git a/shells/tcsh/patches/patch-ac b/shells/tcsh/patches/patch-ac new file mode 100644 index 00000000000..32a0e6c9522 --- /dev/null +++ b/shells/tcsh/patches/patch-ac @@ -0,0 +1,19 @@ +*** sh.h.bak Sat Oct 19 21:54:12 1996 +--- sh.h Mon Dec 16 03:02:35 1996 +*************** +*** 1085,1091 **** + /* + * To print system call errors... + */ +! #ifdef __NetBSD__ + # include <errno.h> + #else + # ifndef linux +--- 1085,1091 ---- + /* + * To print system call errors... + */ +! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) + # include <errno.h> + #else + # ifndef linux diff --git a/shells/tcsh/patches/patch-ad b/shells/tcsh/patches/patch-ad new file mode 100644 index 00000000000..490b9f6b044 --- /dev/null +++ b/shells/tcsh/patches/patch-ad @@ -0,0 +1,83 @@ +*** glob.c.orig Sat Nov 13 03:40:56 1993 +--- glob.c Mon Dec 16 03:09:07 1996 +*************** +*** 139,144 **** +--- 139,165 ---- + #define M_SET META('[') + #define ismeta(c) (((c)&M_META) != 0) + ++ int collate_range_cmp (c1, c2) ++ int c1, c2; ++ { ++ #if defined(NLS) && defined(LC_COLLATE) ++ static char s1[2], s2[2]; ++ int ret; ++ #endif ++ ++ c1 &= 0xFF; ++ c2 &= 0xFF; ++ #if defined(NLS) && defined(LC_COLLATE) ++ if (c1 == c2) ++ return (0); ++ s1[0] = c1; ++ s2[0] = c2; ++ if ((ret = strcoll(s1, s2)) != 0) ++ return (ret); ++ #endif ++ return (c1 - c2); ++ } ++ + /* + * Need to dodge two kernel bugs: + * opendir("") != opendir(".") +*************** +*** 646,652 **** + ++pat; + while (((c = *pat++) & M_MASK) != M_END) { + if ((*pat & M_MASK) == M_RNG) { +! if (c <= k && k <= pat[1]) + ok = 1; + pat += 2; + } +--- 667,675 ---- + ++pat; + while (((c = *pat++) & M_MASK) != M_END) { + if ((*pat & M_MASK) == M_RNG) { +! if ( collate_range_cmp(CHAR(c), CHAR(k)) <= 0 +! && collate_range_cmp(CHAR(k), CHAR(pat[1])) <= 0 +! ) + ok = 1; + pat += 2; + } +*** sh.glob.c.orig Sun May 14 00:49:17 1995 +--- sh.glob.c Thu Oct 31 18:04:28 1996 +*************** +*** 85,90 **** +--- 85,91 ---- + static void pword __P((int)); + static void psave __P((int)); + static void backeval __P((Char *, bool)); ++ extern int collate_range_cmp __P((int, int)); + + static Char * + globtilde(nv, s) +*************** +*** 1038,1045 **** + if (match) + continue; + if (rangec == '-' && *(pattern-2) != '[' && *pattern != ']') { +! match = (stringc <= (*pattern & TRIM) && +! (*(pattern-2) & TRIM) <= stringc); + pattern++; + } + else +--- 1039,1047 ---- + if (match) + continue; + if (rangec == '-' && *(pattern-2) != '[' && *pattern != ']') { +! match = ( collate_range_cmp(stringc, *pattern & TRIM) <= 0 +! && collate_range_cmp(*(pattern-2) & TRIM, stringc) <= 0 +! ); + pattern++; + } + else diff --git a/shells/tcsh/patches/patch-ae b/shells/tcsh/patches/patch-ae new file mode 100644 index 00000000000..51d93eddeb1 --- /dev/null +++ b/shells/tcsh/patches/patch-ae @@ -0,0 +1,67 @@ +*** tc.os.h.old Sun May 14 00:49:26 1995 +--- tc.os.h Sat Jun 17 06:02:53 1995 +*************** +*** 417,423 **** + # define NEEDgethostname + #endif /* _SEQUENT_ */ + +! #if defined(BSD) && defined(POSIXJOBS) && !defined(__hp_osf) + # define setpgid(pid, pgrp) setpgrp(pid, pgrp) + #endif /* BSD && POSIXJOBS && !__hp_osf */ + +--- 417,423 ---- + # define NEEDgethostname + #endif /* _SEQUENT_ */ + +! #if defined(BSD) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && defined(POSIXJOBS) && !defined(__hp_osf) + # define setpgid(pid, pgrp) setpgrp(pid, pgrp) + #endif /* BSD && POSIXJOBS && !__hp_osf */ + +*************** +*** 468,474 **** + #ifndef POSIX + # define mygetpgrp() getpgrp(0) + #else /* POSIX */ +! # if defined(BSD) || defined(SUNOS4) || defined(IRIS4D) || defined(DGUX) + # define mygetpgrp() getpgrp(0) + # else /* !(BSD || SUNOS4 || IRIS4D || DGUX) */ + # define mygetpgrp() getpgrp() +--- 468,474 ---- + #ifndef POSIX + # define mygetpgrp() getpgrp(0) + #else /* POSIX */ +! # if (defined(BSD) && !defined(__FreeBSD__)) || defined(SUNOS4) || defined(IRIS4D) || defined(DGUX) + # define mygetpgrp() getpgrp(0) + # else /* !(BSD || SUNOS4 || IRIS4D || DGUX) */ + # define mygetpgrp() getpgrp() +*************** +*** 657,670 **** + # endif /* REMOTEHOST */ + #endif /* SUNOS4 && __GNUC__ == 2 */ + +! #if (defined(BSD) && !defined(__386BSD__)) || defined(SUNOS4) + # if defined(__alpha) && defined(__osf__) && DECOSF1 < 200 + extern void bcopy __P((const void *, void *, size_t)); + # define memmove(a, b, c) (bcopy((char *) (b), (char *) (a), (int) (c)), a) + # endif /* __alpha && __osf__ && DECOSF1 < 200 */ + #endif /* (BSD && !__386BSD__) || SUNOS4 */ + +! #if !defined(hpux) && !defined(COHERENT) && ((SYSVREL < 4) || defined(_SEQUENT_)) && !defined(__386BSD__) && !defined(memmove) + # define NEEDmemmove + #endif /* !hpux && !COHERENT && (SYSVREL < 4 || _SEQUENT_) && !__386BSD__ && !memmove */ + +--- 657,670 ---- + # endif /* REMOTEHOST */ + #endif /* SUNOS4 && __GNUC__ == 2 */ + +! #if (defined(BSD) && !defined(__386BSD__) && !defined(__FreeBSD__)) || defined(SUNOS4) + # if defined(__alpha) && defined(__osf__) && DECOSF1 < 200 + extern void bcopy __P((const void *, void *, size_t)); + # define memmove(a, b, c) (bcopy((char *) (b), (char *) (a), (int) (c)), a) + # endif /* __alpha && __osf__ && DECOSF1 < 200 */ + #endif /* (BSD && !__386BSD__) || SUNOS4 */ + +! #if !defined(hpux) && !defined(COHERENT) && ((SYSVREL < 4) || defined(_SEQUENT_)) && !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(memmove) + # define NEEDmemmove + #endif /* !hpux && !COHERENT && (SYSVREL < 4 || _SEQUENT_) && !__386BSD__ && !memmove */ + diff --git a/shells/tcsh/patches/patch-af b/shells/tcsh/patches/patch-af new file mode 100644 index 00000000000..249e9dc2f6d --- /dev/null +++ b/shells/tcsh/patches/patch-af @@ -0,0 +1,23 @@ +*** config_f.h.bak Fri Apr 26 23:17:30 1996 +--- config_f.h Mon Dec 16 03:53:59 1996 +*************** +*** 65,71 **** + * if you don't have <nl_types.h>, you don't want + * to define this. + */ +! #undef NLS_CATALOGS + + /* + * LOGINFIRST Source ~/.login before ~/.cshrc +--- 65,75 ---- + * if you don't have <nl_types.h>, you don't want + * to define this. + */ +! #if defined(__FreeBSD__) || defined(__OpenBSD__) +! # define NLS_CATALOGS +! #else +! # undef NLS_CATALOGS +! #endif + + /* + * LOGINFIRST Source ~/.login before ~/.cshrc diff --git a/shells/tcsh/patches/patch-ag b/shells/tcsh/patches/patch-ag new file mode 100644 index 00000000000..b03604b22b0 --- /dev/null +++ b/shells/tcsh/patches/patch-ag @@ -0,0 +1,44 @@ +*** sh.func.c.bak Sat Oct 5 21:39:10 1996 +--- sh.func.c Mon Dec 16 04:25:04 1996 +*************** +*** 1312,1319 **** + # ifdef LC_COLLATE + (void) setlocale(LC_COLLATE, ""); + # endif +! # if defined(NLS_CATALOGS) && defined(LC_MESSAGES) + (void) setlocale(LC_MESSAGES, ""); + (void) catclose(catd); + nlsinit(); + # endif /* NLS_CATALOGS && LC_MESSAGES */ +--- 1312,1321 ---- + # ifdef LC_COLLATE + (void) setlocale(LC_COLLATE, ""); + # endif +! # ifdef NLS_CATALOGS +! # ifdef LC_MESSAGES + (void) setlocale(LC_MESSAGES, ""); ++ # endif + (void) catclose(catd); + nlsinit(); + # endif /* NLS_CATALOGS && LC_MESSAGES */ +*************** +*** 1475,1482 **** + # ifdef LC_COLLATE + (void) setlocale(LC_COLLATE, ""); + # endif +! # if defined(NLS_CATALOGS) && defined(LC_MESSAGES) + (void) setlocale(LC_MESSAGES, ""); + (void) catclose(catd); + nlsinit(); + # endif /* NLS_CATALOGS && LC_MESSAGES */ +--- 1477,1486 ---- + # ifdef LC_COLLATE + (void) setlocale(LC_COLLATE, ""); + # endif +! # ifdef NLS_CATALOGS +! # ifdef LC_MESSAGES + (void) setlocale(LC_MESSAGES, ""); ++ # endif + (void) catclose(catd); + nlsinit(); + # endif /* NLS_CATALOGS && LC_MESSAGES */ |