summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-01-23 17:32:40 +0100
committerDavid Seifert <soap@gentoo.org>2024-01-23 17:32:40 +0100
commit4917db41e78e43f9288405745bedd9a6cf679833 (patch)
tree56c25e75da2dcbbf1f2b4b07143ffe3035ccef5f /dev-libs/boost
parentapp-admin/opentofu: new package, add 1.6.0 (diff)
downloadgentoo-4917db41e78e43f9288405745bedd9a6cf679833.tar.gz
gentoo-4917db41e78e43f9288405745bedd9a6cf679833.tar.bz2
gentoo-4917db41e78e43f9288405745bedd9a6cf679833.zip
dev-libs/boost: update patch with upstreamed info
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/boost')
-rw-r--r--dev-libs/boost/boost-1.84.0-r1.ebuild2
-rw-r--r--dev-libs/boost/files/boost-1.79.0-context-x32.patch11
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-libs/boost/boost-1.84.0-r1.ebuild b/dev-libs/boost/boost-1.84.0-r1.ebuild
index 4b95253ac198..a9eadf2838c9 100644
--- a/dev-libs/boost/boost-1.84.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r1.ebuild
@@ -49,7 +49,6 @@ BDEPEND=">=dev-build/b2-4.9.2"
PATCHES=(
"${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
- "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
"${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
# Boost.MPI's __init__.py doesn't work on Py3
"${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
@@ -57,6 +56,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
# upstreamed
+ "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
"${FILESDIR}"/${PN}-1.84.0-signals2-patch1.patch
"${FILESDIR}"/${PN}-1.84.0-signals2-patch2.patch
)
diff --git a/dev-libs/boost/files/boost-1.79.0-context-x32.patch b/dev-libs/boost/files/boost-1.79.0-context-x32.patch
index 9ee3d545d618..625599152328 100644
--- a/dev-libs/boost/files/boost-1.79.0-context-x32.patch
+++ b/dev-libs/boost/files/boost-1.79.0-context-x32.patch
@@ -1,3 +1,10 @@
+https://github.com/boostorg/context/pull/247
+
+From 922e033fa1464e506c82a0d6980103268f7197cf Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Tue, 23 Jan 2024 13:23:29 +0100
+Subject: [PATCH] Fix x32 build on x86-64
+
--- a/libs/context/src/asm/jump_i386_sysv_elf_gas.S
+++ b/libs/context/src/asm/jump_i386_sysv_elf_gas.S
@@ -24,6 +24,10 @@
@@ -11,7 +18,7 @@
.file "jump_i386_sysv_elf_gas.S"
.text
.globl jump_fcontext
-@@ -81,3 +85,5 @@
+@@ -91,3 +95,5 @@ jump_fcontext:
/* Mark that we don't need executable stack. */
.section .note.GNU-stack,"",%progbits
@@ -30,7 +37,7 @@
.file "make_i386_sysv_elf_gas.S"
.text
.globl make_fcontext
-@@ -105,3 +109,5 @@
+@@ -111,3 +115,5 @@ finish:
/* Mark that we don't need executable stack. */
.section .note.GNU-stack,"",%progbits