mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-13 11:42:13 +01:00
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:
parent
a8f25d11b5
commit
a89ed8fde1
@ -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);
|
||||
|
||||
@ -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 )"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user