pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/rhash rhash: properly reapply build fix for OSes ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33b6d5816b8c
branches: trunk
changeset: 381049:33b6d5816b8c
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Mon Jun 27 01:19:39 2022 +0000
description:
rhash: properly reapply build fix for OSes without aligned_alloc
This was previously fixed by schmonz@, but was half lost in the update
to 1.4.3. Upstream added their own macro NO_POSIX_ALIGNED_ALLOC to help
deal with this, so a patch was dropped, but our patch to the configure
script wasn't adjusted to match that new macro definition.
Should fix PR pkg/55571 and PR pkg/56902.
Note I have no environment with which to test this, but it seems obvious
from code inspection, and adjusting the patch did not influence test
builds on NetBSD 9.2_STABLE, Fedora 36, or OmniOS r151038.
diffstat:
misc/rhash/distinfo | 4 ++--
misc/rhash/patches/patch-configure | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 8c104152807c -r 33b6d5816b8c misc/rhash/distinfo
--- a/misc/rhash/distinfo Mon Jun 27 00:07:01 2022 +0000
+++ b/misc/rhash/distinfo Mon Jun 27 01:19:39 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.21 2022/06/15 08:54:58 adam Exp $
+$NetBSD: distinfo,v 1.22 2022/06/27 01:19:39 gutteridge Exp $
BLAKE2s (rhash-1.4.3.tar.gz) = fd47c6f7997416d295fa92fa0611dc956596ff91f1199049baf3b6bd2d88a427
SHA512 (rhash-1.4.3.tar.gz) = d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
Size (rhash-1.4.3.tar.gz) = 429290 bytes
-SHA1 (patch-configure) = 6f0c4abf3f487f046feea5aca5866481eda4546a
+SHA1 (patch-configure) = aba3e782bd317504fcb35a4d59b4146ccb944171
SHA1 (patch-librhash_Makefile) = f5a3ccdd8c0467b11f2dda553310bf5a9c8ade0c
diff -r 8c104152807c -r 33b6d5816b8c misc/rhash/patches/patch-configure
--- a/misc/rhash/patches/patch-configure Mon Jun 27 00:07:01 2022 +0000
+++ b/misc/rhash/patches/patch-configure Mon Jun 27 01:19:39 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-configure,v 1.2 2021/07/15 09:39:17 adam Exp $
+$NetBSD: patch-configure,v 1.3 2022/06/27 01:19:40 gutteridge Exp $
Skip compiler detection magic.
Avoid choosing aligned_alloc() when it's not present, such as CentOS 6
-with lang/gcc7.
+with lang/gcc7 and older Solaris releases.
--- configure.orig 2021-07-14 20:55:34.000000000 +0000
+++ configure
@@ -26,7 +26,7 @@
+ HAS_STDC_ALIGNED_ALLOC=yes
+fi
+if test "$HAS_STDC_ALIGNED_ALLOC" = "no"; then
-+ BUILD_EXTRA_CFLAGS=$(join_params $BUILD_EXTRA_CFLAGS -DNOPE_DOES_NOT_HAS_STDC_ALIGNED_ALLOC)
++ BUILD_EXTRA_CFLAGS=$(join_params $BUILD_EXTRA_CFLAGS -DNO_STDC_ALIGNED_ALLOC)
+fi
+finish_check "$HAS_STDC_ALIGNED_ALLOC"
+
Home |
Main Index |
Thread Index |
Old Index