From 81b8f20732954c4508baf2f77472b5435e3f851f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 14 Sep 2022 11:10:11 +0100 Subject: gentoo auto-resync : 14:09:2022 - 11:10:10 --- sys-process/Manifest.gz | Bin 9995 -> 9991 bytes sys-process/btop/Manifest | 1 - .../files/btop-1.2.7-respect-cxx-var-839318.patch | 17 --- sys-process/lsof/Manifest | 2 + .../files/lsof-4.95.0-clang-15-configure.patch | 134 +++++++++++++++++++++ sys-process/lsof/lsof-4.95.0-r1.ebuild | 116 ++++++++++++++++++ sys-process/procps/Manifest | 2 +- sys-process/procps/procps-3.3.17-r1.ebuild | 2 + sys-process/time/Manifest | 2 + .../files/time-1.9-implicit-func-decl-clang.patch | 24 ++++ sys-process/time/time-1.9-r1.ebuild | 18 +++ 11 files changed, 299 insertions(+), 19 deletions(-) delete mode 100644 sys-process/btop/files/btop-1.2.7-respect-cxx-var-839318.patch create mode 100644 sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch create mode 100644 sys-process/lsof/lsof-4.95.0-r1.ebuild create mode 100644 sys-process/time/files/time-1.9-implicit-func-decl-clang.patch create mode 100644 sys-process/time/time-1.9-r1.ebuild (limited to 'sys-process') diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz index 6b706799a45f..323b1c5d16ff 100644 Binary files a/sys-process/Manifest.gz and b/sys-process/Manifest.gz differ diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest index 22b8529bcb69..8f1b65f250d0 100644 --- a/sys-process/btop/Manifest +++ b/sys-process/btop/Manifest @@ -1,4 +1,3 @@ -AUX btop-1.2.7-respect-cxx-var-839318.patch 440 BLAKE2B eb2361ad5c594a29145265996bfe175d4929676dd9ec987b2a2e2df42bbe4ea031b40775c0eca6c2bcc6ded4def12625e178a4e007901a724a104ded20564653 SHA512 ced8210a9e2e6cfec90f1c1f4b72c969aa1b5943c16250c30139ab87eebc9e189583c98687036252a819698eccaed09149ec188150db7ce756ce4a90e4bca6e4 DIST btop-1.2.8.tar.gz 976370 BLAKE2B ab71ac322afd84b5b73c5deb9003f319078809d81e2725a7447d2a8fe7539af21c669e7199a3422b2a1cc2ecbd79a46179343e00311f2d56bfa30f51d6340bd3 SHA512 4b5a3685ca5cf301cd7d6556bd365892587e6811f8323ca66728022aba7cc3ff95cf591b452151c9431824dc458bc3d09e10474c7c02a944e8931c4585914f5a DIST btop-1.2.9.tar.gz 978265 BLAKE2B ff80079a393342a2cf3aefad6ead8be8b786fbc2b9445e8e2a8b37386f65f4060c801a6f59d216cd611783f4135a60d64b95ff2b5e1a3d62bb2d40030bde8974 SHA512 424573c8f82d0daf748cba7c82e72232773f145af9792ac78a5f5f18d98a8695f11452de106c72cf685ecb8cc89729471a494f9ea6b4300bdb2fa6acdbf4ac60 EBUILD btop-1.2.8.ebuild 921 BLAKE2B bf11e4951dbabc9100b885f1a82847fc13484208e009c159f6e18db2bd4a2d26f09ce7af596e7b5ebb9ef10b629a81b1718434c8a2d414f0253d907253a8b8dc SHA512 bdaa27a8f0f8ef6a6c5689937bf9eac9ba6193134a151e7e62dbb4f11d9f8fcdef8d81b06db4f880372e519813aa6a358bf3f2dbce42d894f0fe8f71b4a47e80 diff --git a/sys-process/btop/files/btop-1.2.7-respect-cxx-var-839318.patch b/sys-process/btop/files/btop-1.2.7-respect-cxx-var-839318.patch deleted file mode 100644 index 5ec7dca45c1e..000000000000 --- a/sys-process/btop/files/btop-1.2.7-respect-cxx-var-839318.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -55,11 +55,11 @@ endif - - #? Compiler and Linker - ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0) -- CXX := g++-11 -+ CXX ?= g++-11 - else ifeq ($(shell command -v g++11 >/dev/null; echo $$?),0) -- CXX := g++11 -+ CXX ?= g++11 - else ifeq ($(shell command -v g++ >/dev/null; echo $$?),0) -- CXX := g++ -+ CXX ?= g++ - endif - override CXX_VERSION := $(shell $(CXX) -dumpfullversion -dumpversion || echo 0) - diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest index 0c88f441d6d0..6ac7467deb28 100644 --- a/sys-process/lsof/Manifest +++ b/sys-process/lsof/Manifest @@ -1,5 +1,7 @@ AUX lsof-4.85-cross.patch 1061 BLAKE2B 730a02dfcd433bb6d46d3fecd87aa0913800408d67302bd9a9580ab3fec6e4a88e453890dec348796258eccd4c5185cc8f06ab2029347d632037f24dd0aa066e SHA512 9326a2708910a39ba3b81253c21149f8e4fa44b207e4c2a88f86c9322d2b50e6360760fcb13e00f644aba57ad207106c280db00ebc2d1f3d49405b54681548e8 +AUX lsof-4.95.0-clang-15-configure.patch 4940 BLAKE2B 60ae5f75e430621328da88f76702d7a94c53b0e55f35e155d2ecf24da6327ce2f80c19713534562946e13caf64780706ff513f40ef7db439adc20f793461ec1e SHA512 e4462ce4837a73551ef3a431bd98224be91e187f24e72eec25c4a389a38cf2f75f4913315469460148e6c4f4720bc5e22d0a8ee9e47aff90b8e3e4e1f928261d AUX lsof-4.95.0-test-typo.patch 935 BLAKE2B 508728789172985e16ba60a1a28cda07ae186499ed4db8c3085329b823f71861c4a4f402c3657a1730dbb14071c211c35659fbb065b0cea7527f53e36bcc5976 SHA512 c648e5ecee68e5fe9959df50509a43d19af24874604d361bf248ea6c42beb10ca9fcd60831638010a9a38e784cad56b8ff8c29557392e6888646abb358a4e5c6 DIST lsof-4.95.0.tar.gz 1343380 BLAKE2B ffb0a656463f8f0e84ddcba36d78a94a8b4b883f0ff043c3821b3236274fb11e04b8c82f84f4e67ab922f021769c2711c1e97716aef3190d640fc321110521a3 SHA512 09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef +EBUILD lsof-4.95.0-r1.ebuild 3535 BLAKE2B fcc6cb09db26c3d974d94e596ad3aa37eb8d79b5b0428990500faf50bca26a833173a0ef302517ccf8f267bd393a14340a6425cb8b21fbdc64c2c18d7de5f489 SHA512 e732ea3fe2e4cd65a74fff42aa3607f1a4e412384ad51d87c89463653ee611ae3717c67152870d86460af20a7a5b26ce3b940770aedd82d4a57764a84e6a0732 EBUILD lsof-4.95.0.ebuild 3474 BLAKE2B b5073fd31fee0137da8a587436eb551ce44d06e9aa81295c13d4b82520fc0b4da698c503ebaaa8eb51191e0bfda7b600ad58200846cf7b2426064ae184b629d3 SHA512 cdcdc6706007771ed126f153fa7bfb22c4c7e1c856988c679123f3e95d685c03f1e445492c04a2a0c40d74f85829c65d4433f7ee29068183087899931c49c7a5 MISC metadata.xml 474 BLAKE2B d3c6368abc4d7656f3e2b136ffb651465fe7a65d65cb355b675b055ee6aa118d13d08ef224bd31fd17017d2ac3669b35a12dbd85f5375268bd48c099557c6eb1 SHA512 b7f98a413e6eb9fd787725e27c966586fea085ecbde22c84fd01e4fe5582e2e0d2ca18d1cce786d8e979d08e0fbdfed338c22d122d84544c1fc848b61573adfc diff --git a/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch b/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch new file mode 100644 index 000000000000..2e81a089e273 --- /dev/null +++ b/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch @@ -0,0 +1,134 @@ +https://github.com/lsof-org/lsof/pull/248 + +From 52f2c48790ced81aeef98807363ec94a867bbd88 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Mon, 12 Sep 2022 19:02:14 +0100 +Subject: [PATCH] Configure: fix configure tests broken with Clang 15 + (-Wimplicit-int) + +Clang 15 makes -Wimplicit-int an error by default. + +Before this fix, configure would think localtime() and strftime() support +was not present. + +Signed-off-by: Sam James +--- a/Configure ++++ b/Configure +@@ -681,7 +681,7 @@ case $LSOF_TGT in # { + + rm -f ${LSOF_TMPC}.* + echo "#include " > ${LSOF_TMPC}.c +- echo 'main(){ if (__KERNEL_32()) printf("32\\n");' >> ${LSOF_TMPC}.c ++ echo 'int main(){ if (__KERNEL_32()) printf("32\\n");' >> ${LSOF_TMPC}.c + echo 'else if (__KERNEL_64()) printf("64\\n");' >> ${LSOF_TMPC}.c + echo 'else printf("0\\n");' >> ${LSOF_TMPC}.c + echo "return(0); }" >> ${LSOF_TMPC}.c +@@ -778,7 +778,7 @@ case $LSOF_TGT in # { + rm -f ${LSOF_TMPC}.* + echo "#include " > ${LSOF_TMPC}.c + echo "#include " >> ${LSOF_TMPC}.c +- echo "main(){exit((offsetof(struct user, U_irss) & 0x7) ? 1 : 0);}" >>${LSOF_TMPC}.c ++ echo "int main(){exit((offsetof(struct user, U_irss) & 0x7) ? 1 : 0);}" >>${LSOF_TMPC}.c + echo "Testing user.h with $LSOF_CC" + $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x + if ! ${LSOF_TMPC}.x # { +@@ -811,7 +811,7 @@ case $LSOF_TGT in # { + # Get xlc version number + + rm -f ${LSOF_TMPC}.* +- echo "main(){}" > ${LSOF_TMPC}.c ++ echo "int main(){}" > ${LSOF_TMPC}.c + echo "Getting version number of ${LSOF_CC}." + $LSOF_CC -c ${LSOF_TMPC}.c -I${LSOF_INCLUDE} -o ${LSOF_TMPC}.o -qlist > /dev/null 2>&1 + LSOF_CCV=`head -1 ${LSOF_TMPC}.lst | sed 's/\(.*\) ---.*/\1/'` +@@ -1783,7 +1783,7 @@ kernel generation process. + cat > ${LSOF_TMPC}.c << .LSOF_END_HERE_DOC3 + #undef _KERNEL + #include +-main() { ++int main() { + cpumask_t c; + } + .LSOF_END_HERE_DOC3 +@@ -2400,7 +2400,7 @@ LOCKF_OWNER4 + # Test for "const void" support. + + rm -f ${LSOF_TMPC}.* +- echo "main() { const void *x; return(0); }" >> $LSOF_TMPC.c ++ echo "int main() { const void *x; return(0); }" >> $LSOF_TMPC.c + $LSOF_CC $LSOF_TMPC.c -o $LSOF_TMPC.x > /dev/null 2>&1 + if test $? -eq 0 # { + then +@@ -2532,7 +2532,7 @@ LOCKF_OWNER4 + echo "" + echo "Testing $LSOF_CC for 64 bit support" + rm -f ${LSOF_TMPC}.* +- echo "main(){}" > ${LSOF_TMPC}.c ++ echo "int main(){}" > ${LSOF_TMPC}.c + LSOF_TMP1="" + $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1 + if test $? -eq 0 # { +@@ -4605,7 +4605,7 @@ return(0); } + rm -f ${LSOF_TMPC}.* + echo "#define _KMEMUSER" > ${LSOF_TMPC}.c + echo "#include " >> ${LSOF_TMPC}.c +- echo "main(){" >> ${LSOF_TMPC}.c ++ echo "int main(){" >> ${LSOF_TMPC}.c + echo "enum prnodetype p=PR_GWINDOWS;}" >> ${LSOF_TMPC}.c + echo "Testing prdata.h for PR_GWINDOWS, using $LSOF_CC" + echo $LSOF_CC | grep gcc > /dev/null +@@ -4630,7 +4630,7 @@ return(0); } + rm -f ${LSOF_TMPC}.* + echo "#define _KMEMUSER" > ${LSOF_TMPC}.c + echo "#include " >> ${LSOF_TMPC}.c +- echo "main(){" >> ${LSOF_TMPC}.c ++ echo "int main(){" >> ${LSOF_TMPC}.c + echo "enum prnodetype p=PR_LDT;}" >> ${LSOF_TMPC}.c + echo "Testing prdata.h for PR_LDT, using $LSOF_CC" + echo $LSOF_CC | grep gcc > /dev/null +@@ -4675,7 +4675,7 @@ return(0); } + + echo "Testing $LSOF_CC for 64 bit support" + rm -f ${LSOF_TMPC}.* +- echo "main(){}" > ${LSOF_TMPC}.c ++ echo "int main(){}" > ${LSOF_TMPC}.c + LSOF_TMP1="" + + # First try gcc's -m64 option -- it's the most current possibility. +@@ -4695,7 +4695,7 @@ return(0); } + + # Try using the older -mcpu=v9 option with gcc instead of -m64. + +- echo "main(){}" > ${LSOF_TMPC}.c ++ echo "int main(){}" > ${LSOF_TMPC}.c + $LSOF_CC ${LSOF_TMPC}.c -mcpu=v9 -o ${LSOF_TMPC}.x > /dev/null 2>&1 + if test $? -eq 0 # { + then +@@ -4751,7 +4751,7 @@ return(0); } + echo "Testing $LSOF_CC for 64 bit $LSOF_TMP2 support" + rm -f ${LSOF_TMPC}.* + LSOF_TMP3="-xarch=$LSOF_TMP1" +- echo "main(){}" > ${LSOF_TMPC}.c ++ echo "int main(){}" > ${LSOF_TMPC}.c + LSOF_TMP4=`$LSOF_CC ${LSOF_TMPC}.c $LSOF_TMP3 -o ${LSOF_TMPC}.x 2>&1` + if test $? -eq 0 # { + then +@@ -5003,7 +5003,7 @@ return(0); } + then + rm -f ${LSOF_TMPC}.* + echo "#include " > ${LSOF_TMPC}.c +- echo "main(){" >> ${LSOF_TMPC}.c ++ echo "int main(){" >> ${LSOF_TMPC}.c + echo "enum vtype p=VSOCK;}" >> ${LSOF_TMPC}.c + echo "Testing vnode.h for VSOCK, using $LSOF_CC" + echo $LSOF_CC | grep gcc > /dev/null +@@ -5490,7 +5490,7 @@ fi # } + rm -f ${LSOF_TMPC}.* + cat > $LSOF_TMPC.c << .LSOF_END_HERE_DOC2 + #include +-main(){ ++int main(){ + time_t cl; + struct tm *ts; + char bf[32]; + diff --git a/sys-process/lsof/lsof-4.95.0-r1.ebuild b/sys-process/lsof/lsof-4.95.0-r1.ebuild new file mode 100644 index 000000000000..b5cabe286fcd --- /dev/null +++ b/sys-process/lsof/lsof-4.95.0-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +MY_P="${P/-/_}" +DESCRIPTION="Lists open files for running Unix processes" +HOMEPAGE="https://github.com/lsof-org/lsof" +SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="lsof" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="examples ipv6 rpc selinux" + +RDEPEND="rpc? ( net-libs/libtirpc ) + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/groff + rpc? ( virtual/pkgconfig )" + +# Needs fixing first +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120 + "${FILESDIR}"/${P}-test-typo.patch + "${FILESDIR}"/${PN}-4.95.0-clang-15-configure.patch +) + +src_prepare() { + default + # fix POSIX compliance with `echo` + sed -i \ + -e 's:echo -n:printf:' \ + AFSConfig Configure Customize Inventory tests/CkTestDB || die + # Convert `test -r header.h` into a compile test. + # Make sure we convert `test ... -a ...` into two `test` commands + # so we can then convert both over into a compile test. #601432 + sed -i -E \ + -e '/if test .* -a /s: -a : \&\& test :g' \ + -e '/test -r/s:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \ + -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \ + Configure || die + + # "create" man-page (bug #689462) + # inspired by shipped "makeman" ksh script + soelim < Lsof.8 > lsof.8 || die +} + +target() { + case ${CHOST} in + *-darwin*) echo darwin ;; + *-freebsd*) echo freebsd ;; + *-solaris*) echo solaris ;; + *-aix*) echo aixgcc ;; + *) echo linux ;; + esac +} + +src_configure() { + append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || echo "-DHASNOTRPC -DHASNORPC_H") + append-cppflags $(usex ipv6 -{D,U}HASIPv6) + [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX + if [[ ${CHOST} == *-darwin* ]] ; then + # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE + # dummy location -- Darwin needs this for a Configure check to + # succeed + if [[ -e /usr/include/sys/proc_info.h ]] ; then + mkdir -p "${T}"/sys || die + ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) || die + fi + fi + + export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \ + $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)" + + # Set LSOF_INCLUDE to a dummy location so the script doesn't poke + # around in it and mix /usr/include paths with cross-compile/etc. + touch .neverInv + LINUX_HASSELINUX=$(usex selinux y n) \ + LSOF_INCLUDE=${T} \ + LSOF_CC=$(tc-getCC) \ + LSOF_AR="$(tc-getAR) rc" \ + LSOF_RANLIB=$(tc-getRANLIB) \ + LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \ + ./Configure -n $(target) || die +} + +src_compile() { + emake DEBUG="" all +} + +src_install() { + dobin lsof + + if use examples ; then + insinto /usr/share/lsof/scripts + doins scripts/* + fi + + doman lsof.8 + dodoc 00* +} + +pkg_postinst() { + if [[ ${CHOST} == *-solaris* ]] ; then + einfo "Note: to use lsof on Solaris you need read permissions on" + einfo "/dev/kmem, i.e. you need to be root, or to be in the group sys" + elif [[ ${CHOST} == *-aix* ]] ; then + einfo "Note: to use lsof on AIX you need read permissions on /dev/mem and" + einfo "/dev/kmem, i.e. you need to be root, or to be in the group system" + fi +} diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest index 5fb425eb9d0f..c673e4f702ec 100644 --- a/sys-process/procps/Manifest +++ b/sys-process/procps/Manifest @@ -2,5 +2,5 @@ AUX procps-3.3.11-sysctl-manpage.patch 941 BLAKE2B e10b6f85325d1ea23b327dffe4ba3 AUX procps-3.3.12-proc-tests.patch 1835 BLAKE2B 99fe8d63620f37f98cddc60e8bcbaadbe5e7c54c4b0a65abad6ebe8a89f1b8f7f6bd29114b50678aa89cd0c89d26a95a10aa403d48bcc8371f16eaf34c823390 SHA512 ecc94717366a314ac4bba550b84472555f7b217be2174b68778d3364e16586ab9c21756d2041e2ac9d1449856fcd6aa691d8bd1a8558b4653d068dc1d59c2c71 AUX procps-3.3.17-musl-fix.patch 1907 BLAKE2B 211d5512d9546592b23815bf4085447f6d07c0ac07cb03be01b520a56dc60fdfd07e9c055b0b40196efa2748f54eb5d8070cda80c5001d74fa5f261f53bd234c SHA512 5cf9852e54c307fedbf17b3a331ea992ea2c137120b6f89e4eeb7643091c09872e7e3bdcd2e80b83c46c02b2a0e0d56792afb7fe0564fa4f97e56f304b5792bd DIST procps-ng-3.3.17.tar.xz 1008428 BLAKE2B 43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3 SHA512 59e9a5013430fd9da508c4655d58375dc32e025bb502bb28fb9a92a48e4f2838b3355e92b4648f7384b2050064d17079bf4595d889822ebb5030006bc154a1a7 -EBUILD procps-3.3.17-r1.ebuild 2902 BLAKE2B 0771d104edeccf5d454a60a5f43e53db7dff451a7e9258b9bfc1759007990a2cf224d0198d3b6731ae293185473c349e658e09c76ed86029767958beb531ddd7 SHA512 7e05b834db132b8463cde3492059436f12745d0bf191349af922398cd1e6fcf774993d490875ee3398167a6167569805fde030ca76a56dec3f3a28f3ae7f9307 +EBUILD procps-3.3.17-r1.ebuild 2963 BLAKE2B 423e414ab253b3e0196ab34706162a1b82e7f4078fe32a3286e05ddefc14e0974ce2154be20d6acf9a4886a74f53b1c1a1d91ac47fba34da74268e05af0d2492 SHA512 90dcccd0bf6851817d4c34f79f8253db78970c04c4ee377bf134e585c9e12b3ecb4f9943fff71dfea1fc961f5b915e504f35302caf92b7ba5576c3f7d23e5ffb MISC metadata.xml 788 BLAKE2B b8352d682de7ad98344997d344783c444f326153bf5ed479d9e3032dac52b5f938c47ec83ca2d284617f98d0fbde2d9357ee7c205f74d7a2b2c586865a1de756 SHA512 cb6ebcf57a2800ae492fed52ad3de2ba7e767b121ccd6c20f8a0fd6c5fbbc97fb42d20e083ee3d3935fa6fa6e318bccd96d557c9b693507e64b22b8d3c92d1fd diff --git a/sys-process/procps/procps-3.3.17-r1.ebuild b/sys-process/procps/procps-3.3.17-r1.ebuild index 518adc883aaf..79ab60beefd1 100644 --- a/sys-process/procps/procps-3.3.17-r1.ebuild +++ b/sys-process/procps/procps-3.3.17-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +# See https://bugs.gentoo.org/835813 before bumping to 4.x! + inherit flag-o-matic multilib-minimal toolchain-funcs usr-ldscript DESCRIPTION="Standard informational utilities and process-handling tools" diff --git a/sys-process/time/Manifest b/sys-process/time/Manifest index 5dd6bca8399e..ba1d68f70331 100644 --- a/sys-process/time/Manifest +++ b/sys-process/time/Manifest @@ -1,3 +1,5 @@ +AUX time-1.9-implicit-func-decl-clang.patch 745 BLAKE2B 1c57ebd35cec042680f9b8e2751793ff93471be80f6773be20b650e6e43c76a1d8f2f7485aa89622398f500e65d2cb5c3702ece3d55c0a6acfce73cbbf63268f SHA512 571ae944f112ca54273f88f6c9e0b932c67944412195dddc6b52c415ba741239413056fe4125f8250a0ebff0bc4fe657653a3a2f4b92228b0d0d1e845b466e49 DIST time-1.9.tar.gz 596779 BLAKE2B b48c2def2f7aaa79ddb8838ed9e103dd7b1b573b6084d1481838cac86eb7930b3a231469936ad23d5096e576ea728e821defb27fc8b3f9187809e3f5c01b7c57 SHA512 5c6dabbbe71e9103a47b892b86bb914c1704122d4fe7dff1e2cbd28503297163118d295077d8e062b035d673a1f91c36f8a45c7383f374fd766942b32bde4406 +EBUILD time-1.9-r1.ebuild 520 BLAKE2B 46b4298a003a94a3f88ed9272f4543bc9ba1742dfa46d4ea2924b6c33221b4beec38ff59cff1cf3af52073b213db47e7638e29790b2215b62936c870aa5181f9 SHA512 c4a6847d262b10058fbfb07167890c108c38185abe1a014872deca3e60351e509b07477ed9a188e2b3b299b07b6a6063064115cc5dc8db1a6a28c2330f9bd16d EBUILD time-1.9.ebuild 443 BLAKE2B 5b0dd86e6a9d102788dc07aaa993aab1eb72e6ada84aaca2318969e81747bbae9976c4e712571f73bdc3e80150409a1fef86e34301e3f1ae4912b22e14ea09e5 SHA512 9b000d7bb73f3bf656ea243302aed03d36f199cae28779f19b28b180fbf00f730e80c8cf2450559b3473b9492ebdf109ff8147ea1c6c865991908b15423816e3 MISC metadata.xml 258 BLAKE2B b3ebb9691cf2c860b26172c2fc7ead843959a83806b7c06f4eec2ea349a6d2f39afe2f4b08c09bc7f65d18bece520b8b6306c8c7c2075d653f04b09af43db8fd SHA512 02ab38ca1547c68e87cbcad1dd4bb121e90d1fcca941cbfd29583ea803ed50617aa6a29df11915af5e95d63fc817df2250c7b8189157d705ef86e477d6a1685e diff --git a/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch b/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch new file mode 100644 index 000000000000..ca76b5a50050 --- /dev/null +++ b/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch @@ -0,0 +1,24 @@ +https://lists.gnu.org/archive/html/bug-time/2022-08/msg00001.html + +From c8deae54f92d636878097063b411af9fb5262ad3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 15 Aug 2022 07:24:24 -0700 +Subject: [PATCH] include string.h for memset() + +Fixes implicit function declaration warning e.g. + +resuse.c:103:3: error: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)' + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-time/2022-08/msg00001.html] +Signed-off-by: Khem Raj +--- a/src/resuse.c ++++ b/src/resuse.c +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include + #include + #include + #include + diff --git a/sys-process/time/time-1.9-r1.ebuild b/sys-process/time/time-1.9-r1.ebuild new file mode 100644 index 000000000000..30f7e998ff2a --- /dev/null +++ b/sys-process/time/time-1.9-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Displays info about resources used by a program" +HOMEPAGE="https://www.gnu.org/directory/time.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND="sys-apps/texinfo" + +PATCHES=( + "${FILESDIR}"/${PN}-1.9-implicit-func-decl-clang.patch +) -- cgit v1.2.3