net-dialup/lrzsz: Sync with Gentoo

It's from Gentoo commit 439bfaff96ed150ecf90a18735ed0842c1281393.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-01-12 07:15:50 +00:00 committed by Krzesimir Nowak
parent a8f25d11b5
commit a89ed8fde1
2 changed files with 12 additions and 1 deletions

View File

@ -96,3 +96,14 @@ https://bugs.gentoo.org/943880
#endif
#ifndef HAVE_ERRNO_DECLARATION
--- a/lib/getopt.h
+++ b/lib/getopt.h
@@ -101,7 +101,7 @@ struct option
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */
-extern int getopt ();
+extern int getopt (int argc, char *const *argv, const char *shortopts);
#endif /* __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
const struct option *longopts, int *longind);

View File

@ -14,7 +14,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="nls"
DEPEND="nls? ( virtual/libintl )"