commit:     68f6052b7a9d1098e0c6b8dbab223261712be68d
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Aug 23 20:09:39 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 07:33:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f6052b

net-misc/tinyssh: synchronize live ebuild

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/tinyssh/tinyssh-99999999.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild 
b/net-misc/tinyssh/tinyssh-99999999.ebuild
index 4b288ff014ec..0edea200702b 100644
--- a/net-misc/tinyssh/tinyssh-99999999.ebuild
+++ b/net-misc/tinyssh/tinyssh-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,10 +28,11 @@ RDEPEND="
        sys-apps/ucspi-tcp
 "
 
-src_prepare() {
-       # Leave optimization level to user CFLAGS
-       sed -i 's/-Os -fomit-frame-pointer -funroll-loops//g' ./conf-cc || die
+PATCHES=(
+       "${FILESDIR}/tinyssh-20240101_conf_cflags.patch"
+)
 
+src_prepare() {
        # Use make-tinysshcc.sh script, which has no tests and doesn't execute
        # binaries. See https://github.com/janmojzis/tinyssh/issues/2
        sed -i 's/make-tinyssh\.sh/make-tinysshcc.sh/g' ./Makefile || die

Reply via email to