ol: update to 2.3.6.
This commit is contained in:
parent
8b2776c18d
commit
c1c7091a22
2 changed files with 20 additions and 3 deletions
13
srcpkgs/ol/patches/fmov.patch
Normal file
13
srcpkgs/ol/patches/fmov.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/extensions/ffi.c b/extensions/ffi.c
|
||||
index 45769490..000a355a 100644
|
||||
--- a/extensions/ffi.c
|
||||
+++ b/extensions/ffi.c
|
||||
@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
|
||||
__asm__("BKPT");
|
||||
__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
|
||||
# else
|
||||
- __asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
|
||||
+ __asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
|
||||
# endif
|
||||
#endif
|
||||
return 0; // actually we return st(0)
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'ol'
|
||||
pkgname=ol
|
||||
version=2.3.5
|
||||
version=2.3.6
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="xxd"
|
||||
|
@ -10,9 +10,13 @@ license="LGPL-3.0-or-later, MIT"
|
|||
homepage="https://yuriy-chumak.github.io/ol/"
|
||||
changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
|
||||
distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
|
||||
checksum=1f3da2d3b2e47f5c626bfe2727b649db3fd8f53e700dad2a984314275ee7a6ff
|
||||
checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
|
||||
|
||||
CFLAGS="-lm"
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) makedepends+=" gcc-multilib";;
|
||||
esac
|
||||
|
||||
CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue