OpenSSH 7.3p1 can't be build on Solaris 10

Yuri Voinov yvoinov at gmail.com
Wed Aug 3 04:12:32 AEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
With this change built ok.

But patch must be quite different on my platform (see attached) for
portable version.

And, of course, after autoreconf run.


02.08.2016 10:55, Darren Tucker пишет:
> --- a/configure.ac
> +++ b/configure.ac
> @@ -754,6 +754,9 @@ main() { if (NSVersionOfRunTimeLibrary("System")
>= (60 << 16))
>      use_pie=auto
>      check_for_libcrypt_later=1
>      check_for_openpty_ctty_bug=1
> +    dnl Target SUSv3/POSIX.1-2001 plus BSD specifics.
> +    dnl _DEFAULT_SOURCE is the new name for _BSD_SOURCE
> +    CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-D_DEFAULT_SOURCE"
>      AC_DEFINE([PAM_TTY_KLUDGE], [1],
>          [Work around problematic Linux PAM modules handling of PAM_TTY])
>      AC_DEFINE([LOCKED_PASSWD_PREFIX], ["!"],
> @@ -1789,11 +1792,8 @@ AC_CHECK_FUNCS([ \
>      warn \
>  ])
> 
> -dnl Wide character support.  Linux man page says it needs _XOPEN_SOURCE.
> -saved_CFLAGS="$CFLAGS"
> -CFLAGS="$CFLAGS -D_XOPEN_SOURCE"
> +dnl Wide character support.
>  AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth])
> -CFLAGS="$saved_CFLAGS"
> 
>  AC_LINK_IFELSE(
>          [AC_LANG_PROGRAM(

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXoOKPAAoJENNXIZxhPexGVW0H/31u6MjEkSbE7Zr1hFBh+8q6
EV3IvsZmgQlh+c+mo1/HoT7xKOeQT6kQT9dP/o0sQOE7JBusMi6ggLprwxc1BAPg
rAvihynLOcIJZT+pEmnf9Ov68votwpRa6s1TsiT+g/KYPIwTSFsSAPavxURbmf5o
rIJ0fO4cit37erDD/rfIXd6q1BrhLSbhb2CyWbPJ/WhDTLqUeGAdU2CVAZCJB67o
LgKLdbkvV03WDG6R5FBKmOwI+EJm9DPVgkuMFrQfOY/G60uEF+fi5nwmc6yCyDII
nz/7mzLYAvM8/iGOEnmXlz122qB0hx16n9JX3aIxUTEDjaz6LXIEaO/NAm56Evs=
=sTxS
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 73_solaris10_build_issue.patch
Type: text/x-patch
Size: 831 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160803/a53f8ae2/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160803/a53f8ae2/attachment-0003.bin>


More information about the openssh-unix-dev mailing list