From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tlsh/
Date: Sat, 15 Apr 2023 02:17:53 +0000 (UTC) [thread overview]
Message-ID: <1681525029.12faf25bcfc6a5d8419ed0b0024c31cd2f55b5cc.sam@gentoo> (raw)
commit: 12faf25bcfc6a5d8419ed0b0024c31cd2f55b5cc
Author: Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Fri Apr 14 23:54:21 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 02:17:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12faf25b
dev-libs/tlsh: add big-endian fix
See: https://github.com/trendmicro/tlsh/issues/131
Bug: https://bugs.gentoo.org/861710
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/tlsh/tlsh-4.8.2.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-libs/tlsh/tlsh-4.8.2.ebuild b/dev-libs/tlsh/tlsh-4.8.2.ebuild
index dc63ec1c565a..8b6e02c5e549 100644
--- a/dev-libs/tlsh/tlsh-4.8.2.ebuild
+++ b/dev-libs/tlsh/tlsh-4.8.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_IN_SOURCE_BUILD=1
-inherit cmake
+inherit cmake toolchain-funcs flag-o-matic
DESCRIPTION="Fuzzy matching library"
HOMEPAGE="https://github.com/trendmicro/tlsh"
@@ -19,6 +19,12 @@ PATCHES=(
"${FILESDIR}"/${P}-respect-flags.patch
)
+src_prepare() {
+ # https://github.com/trendmicro/tlsh/issues/131
+ [[ "$(tc-endian)" == "big" ]] && append-flags "-D__SPARC"
+ cmake_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DTLSH_CHECKSUM_1B=1
next reply other threads:[~2023-04-15 2:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-15 2:17 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-29 6:34 [gentoo-commits] repo/gentoo:master commit in: dev-libs/tlsh/ Jakov Smolić
2024-08-29 3:15 Sam James
2022-12-31 12:10 Arthur Zamarin
2022-08-30 22:22 Sam James
2022-07-27 4:16 Sam James
2022-07-27 4:16 Sam James
2022-06-24 9:11 Arthur Zamarin
2022-06-14 5:58 Jakov Smolić
2022-06-12 5:11 Sam James
2022-06-08 7:44 Jakov Smolić
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1681525029.12faf25bcfc6a5d8419ed0b0024c31cd2f55b5cc.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox