pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/cyclone{,-bootstrap}: change patch to use uintptr_t instead of void*
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Thu Jan 8 14:11:54 2026 +0000
Changeset: 22601e77d704ec48bb744f154b522f2db9389182
Modified Files:
cyclone-bootstrap/distinfo
cyclone-bootstrap/patches/patch-gc.c
cyclone/distinfo
cyclone/patches/patch-gc.c
Log Message:
wip/cyclone{,-bootstrap}: change patch to use uintptr_t instead of void*
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=22601e77d704ec48bb744f154b522f2db9389182
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cyclone-bootstrap/distinfo | 2 +-
cyclone-bootstrap/patches/patch-gc.c | 6 +++---
cyclone/distinfo | 2 +-
cyclone/patches/patch-gc.c | 6 +++---
4 files changed, 8 insertions(+), 8 deletions(-)
diffs:
diff --git a/cyclone-bootstrap/distinfo b/cyclone-bootstrap/distinfo
index 2756b39d4a..3a2d0b093b 100644
--- a/cyclone-bootstrap/distinfo
+++ b/cyclone-bootstrap/distinfo
@@ -5,5 +5,5 @@ SHA512 (cyclone-bootstrap/v0.36.0.tar.gz) = 477534602baa4acbae0450e664617ad70302
Size (cyclone-bootstrap/v0.36.0.tar.gz) = 3967729 bytes
SHA1 (patch-Makefile) = ba2033dda259957f2a5f86f786888621193cc51c
SHA1 (patch-Makefile.config) = 26e1276fdf8084327ecd883e62c838fbc3437e07
-SHA1 (patch-gc.c) = 5d7a663c77a19d2feb3c669e7fab6770fb5c54f4
+SHA1 (patch-gc.c) = ef28c26e399d3572239895b89375d85f9133fd07
SHA1 (patch-include_cyclone_types.h) = 22f4ac2fd4cfb63729d5620006dc40143cf2a09b
diff --git a/cyclone-bootstrap/patches/patch-gc.c b/cyclone-bootstrap/patches/patch-gc.c
index b92e7b600b..c77d1b1589 100644
--- a/cyclone-bootstrap/patches/patch-gc.c
+++ b/cyclone-bootstrap/patches/patch-gc.c
@@ -3,7 +3,7 @@ $NetBSD$
Concurrencykit returns an integer as a pointer here, and the warning
-Wint-conversion results in a compiler error. Concurrencykit is
choosing an integer size to match the pointer size (using implementations
-which are per-compiler/architecture), so just cast to (void*) to
+which are per-compiler/architecture), so just cast to (uintptr_t) to
give a valid pointer type for ck_pr_add_ptr.
--- gc.c.orig 2025-12-27 10:58:55.457517996 +0000
@@ -13,10 +13,10 @@ give a valid pointer type for ck_pr_add_ptr.
gc_heap_merge(hdest, hsrc);
ck_pr_add_ptr(&(dest->cached_heap_total_sizes[heap_type]),
- ck_pr_load_ptr(&(src->cached_heap_total_sizes[heap_type])));
-+ (void*)ck_pr_load_ptr(&(src->cached_heap_total_sizes[heap_type])));
++ (uintptr_t)ck_pr_load_ptr(&(src->cached_heap_total_sizes[heap_type])));
ck_pr_add_ptr(&(dest->cached_heap_free_sizes[heap_type]),
- ck_pr_load_ptr(&(src->cached_heap_free_sizes[heap_type])));
-+ (void*)ck_pr_load_ptr(&(src->cached_heap_free_sizes[heap_type])));
++ (uintptr_t)ck_pr_load_ptr(&(src->cached_heap_free_sizes[heap_type])));
}
}
ck_pr_add_int(&(dest->heap_num_huge_allocations),
diff --git a/cyclone/distinfo b/cyclone/distinfo
index b6a88d6657..4ae2cf01e1 100644
--- a/cyclone/distinfo
+++ b/cyclone/distinfo
@@ -6,7 +6,7 @@ Size (cyclone-0.36.0.tar.gz) = 5237987 bytes
SHA1 (patch-Makefile) = d5e8d8a25d9472601708778ec9e220a987da4128
SHA1 (patch-Makefile.config) = b62fb06268ee9dc327ba9d9f75550c70fb2e4bb6
SHA1 (patch-cyclone.scm) = e624dd62369d92b88501f8770d3504e78e311321
-SHA1 (patch-gc.c) = 5d7a663c77a19d2feb3c669e7fab6770fb5c54f4
+SHA1 (patch-gc.c) = ef28c26e399d3572239895b89375d85f9133fd07
SHA1 (patch-include_cyclone_types.h) = caf0f87ec67d42aad59d7041c50de12fac20c932
SHA1 (patch-issue-560) = 8c46b08f5741622de75d26af6920d1f5ba31b39a
SHA1 (patch-scheme_base.sld) = b9aaeb494572eb4fddecf25d30eae7cafe77163f
diff --git a/cyclone/patches/patch-gc.c b/cyclone/patches/patch-gc.c
index b92e7b600b..c77d1b1589 100644
--- a/cyclone/patches/patch-gc.c
+++ b/cyclone/patches/patch-gc.c
@@ -3,7 +3,7 @@ $NetBSD$
Concurrencykit returns an integer as a pointer here, and the warning
-Wint-conversion results in a compiler error. Concurrencykit is
choosing an integer size to match the pointer size (using implementations
-which are per-compiler/architecture), so just cast to (void*) to
+which are per-compiler/architecture), so just cast to (uintptr_t) to
give a valid pointer type for ck_pr_add_ptr.
--- gc.c.orig 2025-12-27 10:58:55.457517996 +0000
@@ -13,10 +13,10 @@ give a valid pointer type for ck_pr_add_ptr.
gc_heap_merge(hdest, hsrc);
ck_pr_add_ptr(&(dest->cached_heap_total_sizes[heap_type]),
- ck_pr_load_ptr(&(src->cached_heap_total_sizes[heap_type])));
-+ (void*)ck_pr_load_ptr(&(src->cached_heap_total_sizes[heap_type])));
++ (uintptr_t)ck_pr_load_ptr(&(src->cached_heap_total_sizes[heap_type])));
ck_pr_add_ptr(&(dest->cached_heap_free_sizes[heap_type]),
- ck_pr_load_ptr(&(src->cached_heap_free_sizes[heap_type])));
-+ (void*)ck_pr_load_ptr(&(src->cached_heap_free_sizes[heap_type])));
++ (uintptr_t)ck_pr_load_ptr(&(src->cached_heap_free_sizes[heap_type])));
}
}
ck_pr_add_int(&(dest->heap_num_huge_allocations),
Home |
Main Index |
Thread Index |
Old Index