aports/community/chez-scheme/armhf-64bit-time_t.patch
Sören Tempel 7d30f9cbcf community/chez-scheme: move from testing
Has been in testing/ for almost two years and works quite well in
my experience. Furthermore, the package is now available for all
architectures supported by upstream and tests are enabled and pass.
As such, I don't see any reason to keep it in testing/ any longer
and it is also needed as a dependency of other packages (e.g. idris2)
and hence would be neat to have in community/ to also be able to move
these other packages to community/ in the future.
2022-05-23 17:14:01 +00:00

26 lines
1.0 KiB
Diff

diff -upr csv9.5.8.orig/boot/arm32le/equates.h csv9.5.8/boot/arm32le/equates.h
--- csv9.5.8.orig/boot/arm32le/equates.h 2022-04-26 21:21:41.390449349 +0200
+++ csv9.5.8/boot/arm32le/equates.h 2022-04-26 21:21:50.987106798 +0200
@@ -630,7 +630,7 @@ typedef unsigned long long U64;
#define time_duration 0x2
#define time_monotonic 0x3
#define time_process 0x0
-#define time_t_bits 0x20
+#define time_t_bits 0x40
#define time_thread 0x1
#define time_utc 0x4
#define timer_interrupt_index 0x2
Only in csv9.5.8/boot/arm32le: equates.h.orig
diff -upr csv9.5.8.orig/s/arm32le.def csv9.5.8/s/arm32le.def
--- csv9.5.8.orig/s/arm32le.def 2022-04-26 21:21:41.567115853 +0200
+++ csv9.5.8/s/arm32le.def 2022-04-26 21:21:50.987106798 +0200
@@ -24,7 +24,7 @@
(define-constant size_t-bits 32)
(define-constant ptrdiff_t-bits 32)
(define-constant wchar-bits 32)
-(define-constant time-t-bits 32)
+(define-constant time-t-bits 64)
(define-constant max-float-alignment 8)
(define-constant max-integer-alignment 8)
(define-constant asm-arg-reg-max 5)