mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/ocaml: fix mcontext patch on s390x
The context patch was just wrong from the beginning. No pkgrel bump.
This commit is contained in:
parent
0af557e86d
commit
da68172df5
@ -6,7 +6,7 @@ pkgver=4.08.1
|
||||
pkgrel=1
|
||||
pkgdesc="Main implementation of the Caml programming language"
|
||||
url="http://ocaml.org/"
|
||||
arch="aarch64 ppc64le x86_64"
|
||||
arch="all !x86 !armhf !armv7"
|
||||
license="LGPL-2.1-or-later-WITH-linking-exception"
|
||||
depends="$pkgname-runtime=$pkgver-r$pkgrel gcc"
|
||||
makedepends="gdbm-dev libc-dev ncurses-dev zlib-dev binutils-dev"
|
||||
@ -120,6 +120,6 @@ _submv() {
|
||||
|
||||
sha512sums="8239c1879926e59c3d9611ad0d97618ce21b0528f1bd59db3df9c24287ad180ffa74f34e52e1fab39e71cbf8113a9a4ee5037cc33ae64ca6a9a109fe4ada0256 ocaml-4.08.1.tar.gz
|
||||
49cbd6df3a70d00df33d34ab4508dd04d52cbc94efc6c8cac8668758e7346be3c7acedf5b8af38a0adb18c69b8d0859667b12cc11699002c048af962cf283ad2 compile-without-debug-info.patch
|
||||
cd0b9a8c3dc8d952a40eb1758cc74dc388ec4bcc5fe5a25c3f073f0088bf51027b53ea1b9f6d02a84b11bd3964bec1c50b5da28caa7c1e31ec76f9930ea7d527 fix-mcontext-fields.patch
|
||||
e853f609006bd2514bbf63cf9215150496ec62ceee3e55f6f719b19453c97251ad935245578528fab798e626dab5a6c4e2fd5fb652f99ddd5cfd261ac0c4c9bb fix-mcontext-fields.patch
|
||||
e65b647427d9c94933d5be97857daf8cdc65e25c10066740dbcbab7a4e6f8ddb2277ee7d5796abf5916e5bdd59b057de736190432c480fc8ff2a4b2a94d46eca fix-segfault-in-ppc64le.patch
|
||||
b3362906c23ecdb084db7dbf18cae22f0a54ba968f1ecf9c8d13c230ca221b3f77fa820a52e091ce7b71b1cb4a91faf1346692aa6fa411bb46fca784500def25 fix-check-parser-uptodate-or-warn.sh.patch"
|
||||
|
||||
@ -25,20 +25,3 @@ diff -Nru a/runtime/signals_osdep.h b/runtime/signals_osdep.h
|
||||
+ #endif
|
||||
|
||||
/****************** PowerPC, NetBSD */
|
||||
|
||||
@@ -354,11 +362,11 @@
|
||||
sigact.sa_flags = 0
|
||||
|
||||
typedef unsigned long context_reg;
|
||||
- #define CONTEXT_PC (context->sregs->regs.psw.addr)
|
||||
- #define CONTEXT_EXCEPTION_POINTER (context->sregs->regs.gprs[13])
|
||||
- #define CONTEXT_YOUNG_LIMIT (context->sregs->regs.gprs[10])
|
||||
- #define CONTEXT_YOUNG_PTR (context->sregs->regs.gprs[11])
|
||||
- #define CONTEXT_SP (context->sregs->regs.gprs[15])
|
||||
+ #define CONTEXT_PC (context->sregs->psw.addr)
|
||||
+ #define CONTEXT_EXCEPTION_POINTER (context->sregs->gregs[13])
|
||||
+ #define CONTEXT_YOUNG_LIMIT (context->sregs->gregs[10])
|
||||
+ #define CONTEXT_YOUNG_PTR (context->sregs->gregs[11])
|
||||
+ #define CONTEXT_SP (context->sregs->gregs[15])
|
||||
|
||||
/******************** Default */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user