Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ol: update to 2.4.
@ 2023-03-04 21:20 yuriy-chumak
  2023-03-04 22:26 ` [PR PATCH] [Updated] " yuriy-chumak
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-04 21:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

There is a new pull request by yuriy-chumak against master on the void-packages repository

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42590.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ol-42590.patch --]
[-- Type: text/x-diff, Size: 2291 bytes --]

From 443a0732f1df87c8758988e877cb3f9738277f44 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 ++++++++++------
 2 files changed, 10 insertions(+), 19 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..76ccf8184959 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,17 @@ 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=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=56a4c90e3622662abea0441890790b2ff086dd880aee90e6d99191fb347b7508
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
+CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
+CFLAGS+=" -DHAS_SOCKETS=1 -DHAS_DLOPEN=1 -DOLVM_FFI"
+CFLAGS+=" -DCAR_CHECK=0 -DCDR_CHECK=0" # disable debug checks
+CFLAGS+=" -lm"
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	make all ffi
+}
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2023-03-08 15:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
2023-03-04 22:26 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-04 23:45 ` yuriy-chumak
2023-03-05  1:16 ` yuriy-chumak
2023-03-05  1:31 ` yuriy-chumak
2023-03-05  1:36 ` yuriy-chumak
2023-03-05  1:45 ` yuriy-chumak
2023-03-05  2:08 ` yuriy-chumak
2023-03-05  2:22 ` yuriy-chumak
2023-03-05 19:54 ` [PR REVIEW] " icp1994
2023-03-05 19:54 ` icp1994
2023-03-05 19:54 ` icp1994
2023-03-06 16:32 ` yuriy-chumak
2023-03-06 16:42 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-06 16:46 ` [PR REVIEW] " yuriy-chumak
2023-03-06 17:10 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-06 17:42 ` [PR REVIEW] " classabbyamp
2023-03-06 17:50 ` yuriy-chumak
2023-03-06 17:51 ` yuriy-chumak
2023-03-06 17:56 ` yuriy-chumak
2023-03-06 17:58 ` yuriy-chumak
2023-03-06 18:06 ` yuriy-chumak
2023-03-06 18:37 ` classabbyamp
2023-03-06 20:25 ` yuriy-chumak
2023-03-06 20:33 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-06 20:39 ` [PR REVIEW] " yuriy-chumak
2023-03-06 21:05 ` yuriy-chumak
2023-03-08 15:50 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).