--- openssh-7.1p2.orig/configure.ac +++ openssh-7.1p2/configure.ac @@ -2873,6 +2873,10 @@ else AC_CHECK_FUNCS([crypt]) fi +AC_CHECK_DECLS([b64_ntop, b64_pton], [], [], [#include ]) +AC_SEARCH_LIBS([__b64_ntop], [resolv]) +AC_SEARCH_LIBS([__b64_pton], [resolv]) + AC_CHECK_FUNCS([ \ arc4random \ arc4random_buf \ --- openssh-7.1p2.orig/Makefile.in +++ openssh-7.1p2/Makefile.in @@ -45,7 +45,7 @@ PATHS= -DSSHDIR=\"$(sysconfdir)\" \ CC=@CC@ LD=@LD@ CFLAGS=@CFLAGS@ -CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ +CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ -include config.h LIBS=@LIBS@ K5LIBS=@K5LIBS@ GSSLIBS=@GSSLIBS@