summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-05-13 11:51:58 +0000
committerwiz <wiz@pkgsrc.org>2022-05-13 11:51:58 +0000
commit93e5f70f00873ee6ec935a1fa036eb0bf19b61d1 (patch)
treeff6da8c3f5a146d504e19b67bcb1d2bf585368bc
parentcf945e76a42c09a2b0ff7ab3fb153cfb289fde3f (diff)
downloadpkgsrc-93e5f70f00873ee6ec935a1fa036eb0bf19b61d1.tar.gz
libatomic: update to 12.1.0.
Changes: not found.
-rw-r--r--devel/libatomic/Makefile4
-rw-r--r--devel/libatomic/distinfo10
-rw-r--r--devel/libatomic/patches/patch-gcc_config_nvptx_gen-opt.sh15
-rw-r--r--devel/libatomic/patches/patch-gcc_configure15
4 files changed, 38 insertions, 6 deletions
diff --git a/devel/libatomic/Makefile b/devel/libatomic/Makefile
index 7e177c0fca3..c08be3af188 100644
--- a/devel/libatomic/Makefile
+++ b/devel/libatomic/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2022/04/24 19:48:52 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2022/05/13 11:51:58 wiz Exp $
-DISTNAME= gcc-11.2.0
+DISTNAME= gcc-12.1.0
PKGNAME= ${DISTNAME:S/gcc/libatomic/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/${DISTNAME}/}
diff --git a/devel/libatomic/distinfo b/devel/libatomic/distinfo
index 5505d1d02b0..d880af5ad53 100644
--- a/devel/libatomic/distinfo
+++ b/devel/libatomic/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.7 2021/11/08 13:00:33 wiz Exp $
+$NetBSD: distinfo,v 1.8 2022/05/13 11:51:58 wiz Exp $
-BLAKE2s (gcc-11.2.0.tar.xz) = 528c6e78fd9ace664e49c25ffbccc8f3a7b45aa70e50ea9744b36f5719f4f11e
-SHA512 (gcc-11.2.0.tar.xz) = d53a0a966230895c54f01aea38696f818817b505f1e2bfa65e508753fcd01b2aedb4a61434f41f3a2ddbbd9f41384b96153c684ded3f0fa97c82758d9de5c7cf
-Size (gcc-11.2.0.tar.xz) = 80888824 bytes
+BLAKE2s (gcc-12.1.0.tar.xz) = 286450a2355504683b6ce4e027ea609e790b83868fed0bfbc89041673ae02e0c
+SHA512 (gcc-12.1.0.tar.xz) = 2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900
+Size (gcc-12.1.0.tar.xz) = 82701928 bytes
+SHA1 (patch-gcc_config_nvptx_gen-opt.sh) = 194d39d95354dd83d2182bbca0ad77b94902faac
+SHA1 (patch-gcc_configure) = 5519993521040b70d3e7c33d4f7a5d2a15436410
SHA1 (patch-libatomic_configure) = 9ca952bc6e48dc37dd79d3fb050194de460f0898
diff --git a/devel/libatomic/patches/patch-gcc_config_nvptx_gen-opt.sh b/devel/libatomic/patches/patch-gcc_config_nvptx_gen-opt.sh
new file mode 100644
index 00000000000..0fc5da40ce5
--- /dev/null
+++ b/devel/libatomic/patches/patch-gcc_config_nvptx_gen-opt.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-gcc_config_nvptx_gen-opt.sh,v 1.1 2022/05/13 11:51:58 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- gcc/config/nvptx/gen-opt.sh.orig 2022-05-06 07:30:57.000000000 +0000
++++ gcc/config/nvptx/gen-opt.sh
+@@ -56,7 +56,7 @@ EnumValue
+ Enum(ptx_isa) String(sm_$sm) Value(PTX_ISA_SM$sm)
+ EOF
+
+- if [ "$sm" == "$last" ]; then
++ if [ "$sm" = "$last" ]; then
+ # Don't end with trailing empty line.
+ continue
+ fi
diff --git a/devel/libatomic/patches/patch-gcc_configure b/devel/libatomic/patches/patch-gcc_configure
new file mode 100644
index 00000000000..bb7708fa6a6
--- /dev/null
+++ b/devel/libatomic/patches/patch-gcc_configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-gcc_configure,v 1.1 2022/05/13 11:51:58 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- gcc/configure.orig 2022-05-06 07:30:57.000000000 +0000
++++ gcc/configure
+@@ -6395,7 +6395,7 @@ _ACEOF
+ if test "$enable_largefile" != no; then
+ case "$host, $build" in
+ *-*-aix*,*|*,*-*-aix*)
+- if test "$ac_cv_sizeof_ino_t" == "4" -a "$ac_cv_sizeof_dev_t" == 4; then
++ if test "$ac_cv_sizeof_ino_t" = "4" -a "$ac_cv_sizeof_dev_t" = 4; then
+
+ $as_echo "#define HOST_STAT_FOR_64BIT_INODES stat64x" >>confdefs.h
+