diff options
author | Yixun Lan <dlan@gentoo.org> | 2023-05-12 07:52:00 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2023-05-12 07:56:50 +0800 |
commit | a411614149262f826b66443e6cf0ad1d7c66db70 (patch) | |
tree | 9b676aa66674d1b31bc7d266bfb6b94daada2847 /net-misc/autossh/files/autossh-1.4g-printf.patch | |
parent | stardict.eclass: Mark @DEAD (diff) | |
download | gentoo-a411614149262f826b66443e6cf0ad1d7c66db70.tar.gz gentoo-a411614149262f826b66443e6cf0ad1d7c66db70.tar.bz2 gentoo-a411614149262f826b66443e6cf0ad1d7c66db70.zip |
net-misc/autossh: fix undefined setproctile & QA issue
update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/861596
Closes: https://bugs.gentoo.org/900252
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-misc/autossh/files/autossh-1.4g-printf.patch')
-rw-r--r-- | net-misc/autossh/files/autossh-1.4g-printf.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/autossh/files/autossh-1.4g-printf.patch b/net-misc/autossh/files/autossh-1.4g-printf.patch new file mode 100644 index 000000000000..362232395dd8 --- /dev/null +++ b/net-misc/autossh/files/autossh-1.4g-printf.patch @@ -0,0 +1,17 @@ +diff --git a/configure.ac b/configure.ac +index 4bb9380..38e2cf6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -133,7 +134,11 @@ AC_CHECK_LIB(socket, connect) + # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [ + AC_TRY_LINK([], +- [ extern char *__progname; printf("%s", __progname); ], ++ [ ++ #include <stdio.h>; ++ extern char *__progname; ++ printf("%s", __progname); ++ ], + [ ac_cv_libc_defines___progname="yes" ], + [ ac_cv_libc_defines___progname="no" ] + ) |