summaryrefslogtreecommitdiff
path: root/Ports/libatomic_ops
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/libatomic_ops')
-rwxr-xr-xPorts/libatomic_ops/package.sh7
-rw-r--r--Ports/libatomic_ops/patches/fix-autoconf.patch12
2 files changed, 19 insertions, 0 deletions
diff --git a/Ports/libatomic_ops/package.sh b/Ports/libatomic_ops/package.sh
new file mode 100755
index 0000000000..cc6be68384
--- /dev/null
+++ b/Ports/libatomic_ops/package.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+
+port=libatomic_ops
+version=7.6.10
+useconfigure=true
+files="https://www.hboehm.info/gc/gc_source/libatomic_ops-${version}.tar.gz libatomic_ops-${version}.tar.gz 587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af"
+auth_type=sha256
diff --git a/Ports/libatomic_ops/patches/fix-autoconf.patch b/Ports/libatomic_ops/patches/fix-autoconf.patch
new file mode 100644
index 0000000000..12fb5ff6c1
--- /dev/null
+++ b/Ports/libatomic_ops/patches/fix-autoconf.patch
@@ -0,0 +1,12 @@
+--- libatomic_ops-7.6.10/config.sub 2021-07-18 14:24:53.950762337 +0100
++++ libatomic_ops-7.6.10/config.sub 2021-07-18 14:25:19.341651925 +0100
+@@ -1393,7 +1393,8 @@
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
++ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos* \
++ | -serenity* )
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)