diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-09 23:42:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-09 23:42:15 +0100 |
commit | 12de738b83927a4b71c3ad067edbb6279d15b368 (patch) | |
tree | 87b2ef3927262a0aba7a923512909bdbadd71b8b /net-libs | |
parent | 7b7a5ff63901698b7b993201e07bcaf8d0e5db2f (diff) |
gentoo auto-resync : 09:05:2023 - 23:42:14
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 32458 -> 32457 bytes | |||
-rw-r--r-- | net-libs/rpcsvc-proto/Manifest | 2 | ||||
-rw-r--r-- | net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch | 70 | ||||
-rw-r--r-- | net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r2.ebuild | 50 |
4 files changed, 122 insertions, 0 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 92c2e357c59d..e086521a4479 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/rpcsvc-proto/Manifest b/net-libs/rpcsvc-proto/Manifest index 008c7830efe2..624d7d7a6fff 100644 --- a/net-libs/rpcsvc-proto/Manifest +++ b/net-libs/rpcsvc-proto/Manifest @@ -1,4 +1,6 @@ +AUX rpcsvc-proto-1.4.3-lfs64.patch 1766 BLAKE2B 45b3fc79c0a78c2b354290155e03b6fe8e440af9341bc61b1d8e53db514eabaf17ddacf204cba48bc1877a01a524f09eb871011b2bb12ddff54a633f7371980c SHA512 62c6eb36ebdd7690b00fd3886883985d4b5262c812ae00ddfcb515bacf02c593ef17e07cbb832712858f2ee3594170d3da1fdcb1f304f105a573f78b6c6b445b DIST rpcsvc-proto-1.4.3.tar.xz 167964 BLAKE2B dc15392fd68b76ffa92c08039076aed293834b047ebea4a418dc767ea13e3a04b19e5108ebda808dfa4356ca426db610847758d69b23cc66981eb4ea844eb218 SHA512 e46ba9ccdd6c520128bf3a154db90742f288a4d593b094a630141cdc5aeb834ffebf9b0eb6d5d0aad9faef3c445c75e2355cbc3e1382b50d29f4d2799441c6e9 EBUILD rpcsvc-proto-0-r1.ebuild 471 BLAKE2B b0b4ceaa115b11ede6f31697b22ef19201a61918b8b64efa5e46e859f9e566459e3d9e3e12199eb93075d7d01b3fa21b0b81155f1ebbd3ecf85ac2ba212b2f1e SHA512 2259a0d8b0a1357c882de4d3d1db7cb95cc2756e8d83a2677e42418a5c6549a90e6da0a870cc04935951623cb713c9eb15077f5680e011087e78ef0d14ca80f0 EBUILD rpcsvc-proto-1.4.3-r1.ebuild 1098 BLAKE2B 174b875d821f49c18f8f952bfb6c644a950d77b7f83b7a8b78f6cd562f057bcda7645ba179fc33cce4ab9ea9d57d9e644a25aa56b8dd292f15385d3b40b37197 SHA512 28a94298d2bacd886a64cfc2f3362e73db3f6f09d2b6cdf86e829563480215af1504781df137dbdf8d9cd8aa6d26cc28eba2ebcf9f778b6b2a486c0831ad0e27 +EBUILD rpcsvc-proto-1.4.3-r2.ebuild 1218 BLAKE2B 9192266391b4ff70f7b713ecb130afe0299fe331a5dc5c9b15d20641d2e232e838dbb96addc411a9e80aa4b408b7bd2d026737046e4f3444540ee28b5590cd8e SHA512 8e3cf35d5f3d405b719aebfee11131c2f9900ae50158deb4d0db67630870896ac0bfb703ec2292e649197a24ab341d1b5db511e8fdae14abe3f98d69de18e709 MISC metadata.xml 473 BLAKE2B 698516ac72d10ef9da180c90077a04520ba92e66ff8750a8666e799171414cd8ab1a8c0211cac51fbae458e92b55b1627a1d018d3aae71c3ec9f33dd673af775 SHA512 aca1897bf12f0f821170c9b5734f1d990e8efa645481049e989aabad3eea722f9bce410f769f953121b8a2be942fdbca1100514e253fba0c9e356d703c234004 diff --git a/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch b/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch new file mode 100644 index 000000000000..8d45fac6151b --- /dev/null +++ b/net-libs/rpcsvc-proto/files/rpcsvc-proto-1.4.3-lfs64.patch @@ -0,0 +1,70 @@ +From https://github.com/thkukuk/rpcsvc-proto/commit/2527c37f956aa38408e251587556a6c8389af319.patch Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sun, 11 Dec 2022 21:42:59 -0800 +Subject: [PATCH] Use AC_SYS_LARGEFILE macro to control largefile support + +The autoconf macro AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS=64 +where necessary to ensure that off_t and all interfaces using off_t +are 64bit, even on 32bit systems. + +replace stat64 by equivalent stat struct/func + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/configure.ac ++++ b/configure.ac +@@ -8,6 +8,7 @@ AC_PREFIX_DEFAULT(/usr) + AC_SUBST(PACKAGE) + AC_SUBST(VERSION) + ++AC_SYS_LARGEFILE + AC_PROG_CC + AC_GNU_SOURCE + AM_PROG_CC_C_O +--- a/rpcgen/rpc_main.c ++++ b/rpcgen/rpc_main.c +@@ -62,12 +62,6 @@ + #define EXTEND 1 /* alias for TRUE */ + #define DONT_EXTEND 0 /* alias for FALSE */ + +-#ifdef __APPLE__ +-# if __DARWIN_ONLY_64_BIT_INO_T +-# define stat64 stat +-# endif +-#endif +- + struct commandline + { + int cflag; /* xdr C routines */ +@@ -337,9 +331,9 @@ clear_args (void) + static void + find_cpp (void) + { +- struct stat64 buf; ++ struct stat buf; + +- if (stat64 (CPP, &buf) == 0) ++ if (stat (CPP, &buf) == 0) + return; + + if (cppDefined) /* user specified cpp but it does not exist */ +@@ -1125,17 +1119,17 @@ putarg (int whereto, const char *cp) + static void + checkfiles (const char *infile, const char *outfile) + { +- struct stat64 buf; ++ struct stat buf; + + if (infile) /* infile ! = NULL */ +- if (stat64 (infile, &buf) < 0) ++ if (stat (infile, &buf) < 0) + { + perror (infile); + crash (); + } + if (outfile) + { +- if (stat64 (outfile, &buf) < 0) ++ if (stat (outfile, &buf) < 0) + return; /* file does not exist */ + else + { diff --git a/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r2.ebuild b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r2.ebuild new file mode 100644 index 000000000000..5905665d8edf --- /dev/null +++ b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="rpcsvc protocol definitions from glibc" +HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto" +SRC_URI="https://github.com/thkukuk/rpcsvc-proto/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+ BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND="!<sys-libs/glibc-2.26 + virtual/libintl" +# sys-devel/gettext is only for libintl detection macros. +BDEPEND="sys-devel/gettext" + +PATCHES=( + "${FILESDIR}/${P}-lfs64.patch" +) + +src_prepare() { + default + + # Only needed for musl LFS patch + eautoreconf + + # Search for a valid 'cpp' command. + # The CPP envvar might contain '${CC} -E', which does not work for rpcgen. + # Bug 718138, 870031, 870061. + local x cpp= + for x in {${CHOST}-,}{,clang-}cpp; do + if type -P "${x}" >/dev/null; then + cpp=${x} + break + fi + done + [[ -n ${cpp} ]] || die "Unable to find cpp" + sed -i -e "s/CPP = \"cpp\";/CPP = \"${cpp}\";/" rpcgen/rpc_main.c || die +} + +src_install() { + default + + # provided by sys-fs/quota[rpc] + rm "${ED}"/usr/include/rpcsvc/rquota.{x,h} || die +} |