index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-14 15:24:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-14 15:24:50 +0200 |
commit | 635e76fd7606e21486928e6a3ea9a030dbf87493 (patch) | |
tree | 247ee30113012fae26390898bba1b34d7ddc10cd /extra/libatomic_ops | |
parent | 5b4153f2eaab114e888664213abaf29c8e9be62a (diff) |
-rw-r--r-- | extra/libatomic_ops/PKGBUILD | 12 | ||||
-rw-r--r-- | extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch | 11 |
diff --git a/extra/libatomic_ops/PKGBUILD b/extra/libatomic_ops/PKGBUILD new file mode 100644 index 00000000..b02be16c --- /dev/null +++ b/extra/libatomic_ops/PKGBUILD @@ -0,0 +1,12 @@ +# missing a -latomic when linking tests +source+=('libatomic_ops-7.6.4-libatomic.patch') +sha256sums+=('9309b11f4794c14c09f49df21aa9adb9e490db1d0bffa707af0a36db40e950cc') + +eval "$( + declare -f prepare | \ + sed ' + /}/ i \ + patch -Np1 -i "$srcdir/libatomic_ops-7.6.4-libatomic.patch" \ + autoreconf + ' +)" diff --git a/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch b/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch new file mode 100644 index 00000000..7b2674c2 --- /dev/null +++ b/extra/libatomic_ops/libatomic_ops-7.6.4-libatomic.patch @@ -0,0 +1,11 @@ +diff -rauN libatomic_ops-7.6.4/tests/Makefile.am libatomic_ops-7.6.4-libatomic-patch/tests/Makefile.am +--- libatomic_ops-7.6.4/tests/Makefile.am 2018-03-27 09:06:11.000000000 +0000 ++++ libatomic_ops-7.6.4-libatomic-patch/tests/Makefile.am 2018-07-18 19:39:32.145989353 +0000 +@@ -11,6 +11,7 @@ + -I$(top_builddir)/tests -I$(top_srcdir)/tests + + CFLAGS += $(CFLAGS_EXTRA) ++LDFLAGS += -latomic + + TESTS = test_atomic$(EXEEXT) test_atomic_generalized$(EXEEXT) \ + test_stack$(EXEEXT) test_malloc$(EXEEXT) |