Bugzilla – Attachment 202 Details for
Bug 465
patches for NEC SX6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SX6 port patches
sx6diffs (text/plain), 5.74 KB, created by
wendy palm
on 2003-01-11 10:49:25 AEDT
(
hide
)
Description:
SX6 port patches
Filename:
MIME Type:
Creator:
wendy palm
Created:
2003-01-11 10:49:25 AEDT
Size:
5.74 KB
patch
obsolete
>diff -cr openssh-3.5p1.orig/config.guess openssh-3.5p1.sx6/config.guess >*** openssh-3.5p1.orig/config.guess Wed Jul 24 23:40:23 2002 >--- openssh-3.5p1.sx6/config.guess Tue Jan 7 17:15:28 2003 >*************** >*** 1081,1086 **** >--- 1084,1092 ---- > exit 0 ;; > SX-5:SUPER-UX:*:*) > echo sx5-nec-superux${UNAME_RELEASE} >+ exit 0 ;; >+ SX-6:SUPER-UX:*:*) >+ echo sx6-nec-superux${UNAME_RELEASE} > exit 0 ;; > Power*:Rhapsody:*:*) > echo powerpc-apple-rhapsody${UNAME_RELEASE} >diff -cr openssh-3.5p1.orig/config.h.in openssh-3.5p1.sx6/config.h.in >*** openssh-3.5p1.orig/config.h.in Thu Oct 3 20:31:57 2002 >--- openssh-3.5p1.sx6/config.h.in Fri Jan 10 16:53:29 2003 >*************** >*** 375,380 **** >--- 375,383 ---- > /* Define if you have the `b64_ntop' function. */ > #undef HAVE_B64_NTOP > >+ /* Define if you have the `b64_pton' function. */ >+ #undef HAVE_B64_PTON >+ > /* Define if you have the `bcopy' function. */ > #undef HAVE_BCOPY >diff -cr openssh-3.5p1.orig/config.sub openssh-3.5p1.sx6/config.sub >*** openssh-3.5p1.orig/config.sub Wed Jul 24 23:40:24 2002 >--- openssh-3.5p1.sx6/config.sub Tue Jan 7 17:17:32 2003 >*************** >*** 886,891 **** >--- 890,899 ---- > sv1) > basic_machine=sv1-cray > os=-unicos >+ ;; >+ sx*-nec) >+ basic_machine=sx6-nec >+ os=-sysv > ;; > symmetry) > basic_machine=i386-sequent >diff -cr openssh-3.5p1.orig/configure.ac openssh-3.5p1.sx6/configure.ac >*** openssh-3.5p1.orig/configure.ac Wed Sep 25 19:38:47 2002 >--- openssh-3.5p1.sx6/configure.ac Tue Oct 15 19:24:05 2002 >*** configure.ac.orig Fri Jan 10 17:36:24 2003 >--- configure.ac Fri Jan 10 17:38:02 2003 >*************** >*** 596,602 **** > ) > > dnl Checks for library functions. >!AC_CHECK_FUNCS(arc4random b64_ntop bcopy bindresvport_sa \ > clock fchmod fchown freeaddrinfo futimes gai_strerror \ > getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\ > getrlimit getrusage getttyent glob inet_aton inet_ntoa \ >--- 596,602 ---- > ) > > dnl Checks for library functions. >!AC_CHECK_FUNCS(arc4random b64_ntop b64_pton bcopy bindresvport_sa \ > clock fchmod fchown freeaddrinfo futimes gai_strerror \ > getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\ > getrlimit getrusage getttyent glob inet_aton inet_ntoa \ >*************** >*** 606,612 **** > setenv seteuid setgroups setlogin setproctitle setresgid setreuid \ > setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \ > socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \ >! truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) > > dnl Make sure strsep prototype is defined before defining HAVE_STRSEP > AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) >--- 606,612 ---- > setenv seteuid setgroups setlogin setproctitle setresgid setreuid \ > setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \ > socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \ >! truncate utimes vhangup vsnprintf waitpid __b64_ntop __b64_pton _getpty) > > dnl Make sure strsep prototype is defined before defining HAVE_STRSEP > AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) >diff -cr openssh-3.5p1.orig/openbsd-compat/base64.c openssh-3.5p1.sx6/openbsd-compat/base64.c >*** openssh-3.5p1.orig/openbsd-compat/base64.c Tue Sep 10 19:29:12 2002 >--- openssh-3.5p1.sx6/openbsd-compat/base64.c Fri Jan 10 17:03:26 2003 >*************** >*** 44,50 **** > > #include "includes.h" > >!#if !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) > > #include <sys/types.h> > #include <sys/param.h> >--- 44,50 ---- > > #include "includes.h" > >!#if (!defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP)) || (!defined(HAVE_B64_PTON) && !defined(HAVE___B64_PTON)) > > #include <sys/types.h> > #include <sys/param.h> >*************** >*** 130,135 **** >--- 130,136 ---- > characters followed by one "=" padding character. > */ > >+ #if !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) > int > b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) > { >*************** >*** 190,196 **** >--- 191,200 ---- > target[datalength] = '\0'; /* Returned value doesn't count \0. */ > return (datalength); > } >+ #endif /* !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) */ > >+ #if !defined(HAVE_B64_PTON) && !defined(HAVE___B64_PTON) >+ > /* skips all whitespace anywhere. > converts characters, four at a time, starting at (or after) > src from base - 64 numbers into three 8 bit bytes in the target area. >*************** >*** 314,317 **** > return (tarindex); > } > >!#endif /* !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) */ >--- 318,322 ---- > return (tarindex); > } > >!#endif /* !defined(HAVE_B64_PTON) && !defined(HAVE___B64_PTON) */ >!#endif >diff -cr openssh-3.5p1.orig/openbsd-compat/base64.h openssh-3.5p1.sx6/openbsd-compat/base64.h >*** openssh-3.5p1.orig/openbsd-compat/base64.h Tue Feb 26 10:59:59 2002 >--- openssh-3.5p1.sx6/openbsd-compat/base64.h Fri Jan 10 16:46:05 2003 >*************** >*** 9,18 **** > # ifndef HAVE_B64_NTOP > int b64_ntop(u_char const *src, size_t srclength, char *target, > size_t targsize); >- int b64_pton(char const *src, u_char *target, size_t targsize); > # endif /* !HAVE_B64_NTOP */ > # define __b64_ntop b64_ntop >- # define __b64_pton b64_pton > #endif /* HAVE___B64_NTOP */ > > #endif /* _BSD_BASE64_H */ >--- 9,23 ---- > # ifndef HAVE_B64_NTOP > int b64_ntop(u_char const *src, size_t srclength, char *target, > size_t targsize); > # endif /* !HAVE_B64_NTOP */ > # define __b64_ntop b64_ntop > #endif /* HAVE___B64_NTOP */ >+ >+ #ifndef HAVE___B64_PTON >+ # ifndef HAVE_B64_PTON >+ int b64_pton(char const *src, u_char *target, size_t targsize); >+ # endif /* !HAVE_B64_PTON */ >+ # define __b64_pton b64_pton >+ #endif /* HAVE___B64_PTON */ > > #endif /* _BSD_BASE64_H */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 465
: 202