From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B34A7158094 for ; Sat, 25 Jun 2022 19:03:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E3F9E09C1; Sat, 25 Jun 2022 19:03:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7030CE09C1 for ; Sat, 25 Jun 2022 19:03:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71ACE340CEF for ; Sat, 25 Jun 2022 19:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9B0650C for ; Sat, 25 Jun 2022 19:03:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1656183804.c74bbd229907063446180084e47f9fa8056e543a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/mirdir/files/, app-backup/mirdir/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch app-backup/mirdir/mirdir-2.1-r3.ebuild X-VCS-Directories: app-backup/mirdir/ app-backup/mirdir/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c74bbd229907063446180084e47f9fa8056e543a X-VCS-Branch: master Date: Sat, 25 Jun 2022 19:03:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6aa94a2e-f346-48a1-94df-7a41ad93c66a X-Archives-Hash: 923073dc3227da49c53b42407644b9db commit: c74bbd229907063446180084e47f9fa8056e543a Author: Sam James gentoo org> AuthorDate: Sat Jun 25 09:21:44 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jun 25 19:03:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74bbd22 app-backup/mirdir: fix build with LTO Seems to be a dodgy old autoconf bug. No source configure.in/.ac in the tarball so can't easily fix it either, sadly. Just force off the test as lutime doesn't ever exist on Linux but I'm not sure if lutime is even a thing anyway (lutimeS, perhaps?). Closes: https://bugs.gentoo.org/854213 Signed-off-by: Sam James gentoo.org> .../files/mirdir-2.1-implicit-function-decl.patch | 11 ++++++ app-backup/mirdir/mirdir-2.1-r3.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch b/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch new file mode 100644 index 000000000000..e9e824d9f019 --- /dev/null +++ b/app-backup/mirdir/files/mirdir-2.1-implicit-function-decl.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/854213 +--- a/mirdir.c ++++ b/mirdir.c +@@ -88,6 +88,7 @@ + #include + #include + #include ++#include + + /* + #include diff --git a/app-backup/mirdir/mirdir-2.1-r3.ebuild b/app-backup/mirdir/mirdir-2.1-r3.ebuild new file mode 100644 index 000000000000..ac0a24f319bd --- /dev/null +++ b/app-backup/mirdir/mirdir-2.1-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Synchronize two directory trees in a fast way" +HOMEPAGE="https://sourceforge.net/projects/mirdir/" +SRC_URI="mirror://sourceforge/${PN}/${P}-Unix.tar.gz" +S="${WORKDIR}/${P}-UNIX" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1-implicit-function-decl.patch +) + +src_prepare() { + default + + # Disable stripping, bug #239939 + sed -i -e 's:strip .*::' Makefile.in || die +} + +src_configure() { + # Old autoconf gets this test wrong with -flto(!) and there's + # no source configure.in/.ac in the tarball. bug #854213 + export ac_cv_func_lutime=no + + econf +} + +src_install() { + dobin bin/${PN} + doman ${PN}.1 + + einstalldocs +}