From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58E19158012 for ; Tue, 21 Sep 2021 19:45:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97CA9E07F9; Tue, 21 Sep 2021 19:45:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75C70E07F9 for ; Tue, 21 Sep 2021 19:45:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B728342DDB for ; Tue, 21 Sep 2021 19:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00C269B for ; Tue, 21 Sep 2021 19:45:28 +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: <1632252338.5461f1137c410777343daf6c6f688ab8d5422116.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libjpeg-turbo/files/, media-libs/libjpeg-turbo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libjpeg-turbo/files/libjpeg-turbo-2.1.1-arm64-relro.patch media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r1.ebuild media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r2.ebuild X-VCS-Directories: media-libs/libjpeg-turbo/files/ media-libs/libjpeg-turbo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5461f1137c410777343daf6c6f688ab8d5422116 X-VCS-Branch: master Date: Tue, 21 Sep 2021 19:45:28 +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: 3d434ac6-bde6-43e2-b419-6272692d02b9 X-Archives-Hash: 1c62c319d1770effa425a248fe80746b commit: 5461f1137c410777343daf6c6f688ab8d5422116 Author: Sam James gentoo org> AuthorDate: Tue Sep 21 19:25:20 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 21 19:25:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5461f113 media-libs/libjpeg-turbo: add patch for arm64 writable sections Bug: https://bugs.gentoo.org/814206 Signed-off-by: Sam James gentoo.org> .../files/libjpeg-turbo-2.1.1-arm64-relro.patch | 20 ++++++++++++++++++++ ...2.1.1-r1.ebuild => libjpeg-turbo-2.1.1-r2.ebuild} | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/media-libs/libjpeg-turbo/files/libjpeg-turbo-2.1.1-arm64-relro.patch b/media-libs/libjpeg-turbo/files/libjpeg-turbo-2.1.1-arm64-relro.patch new file mode 100644 index 00000000000..7784ae513d1 --- /dev/null +++ b/media-libs/libjpeg-turbo/files/libjpeg-turbo-2.1.1-arm64-relro.patch @@ -0,0 +1,20 @@ +https://github.com/libjpeg-turbo/libjpeg-turbo/commit/129f0cb76346ceede8f4d8d87dea8acb0809056c + +From: DRC +Date: Wed, 25 Aug 2021 12:07:58 -0500 +Subject: [PATCH] Neon/AArch64: Don't put GAS functions in .rodata + +Regression introduced by 240ba417aa4b3174850d05ea0d22dbe5f80553c1 + +Closes #546 +--- a/simd/arm/aarch64/jsimd_neon.S ++++ b/simd/arm/aarch64/jsimd_neon.S +@@ -182,6 +182,8 @@ Ljsimd_huff_encode_one_block_neon_consts: + .byte 4, 5, 6, 7, 255, 255, 255, 255, \ + 255, 255, 255, 255, 255, 255, 255, 255 /* L7 : 1 line OK */ + ++.text ++ + + /*****************************************************************************/ + diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r1.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r2.ebuild similarity index 97% rename from media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r1.ebuild rename to media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r2.ebuild index 9fa04496082..f8495413e2e 100644 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r1.ebuild +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.1.1-r2.ebuild @@ -41,6 +41,11 @@ RDEPEND="${COMMON_DEPEND} MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) +PATCHES=( + # Upstream patch + "${FILESDIR}"/${P}-arm64-relro.patch +) + src_prepare() { local FILE ln -snf ../debian/extra/*.c . || die