fix patch syntax error

This commit is contained in:
laokz 2024-02-26 16:07:50 +08:00 committed by laokz
parent 655ea23186
commit ebe87728c4
2 changed files with 5 additions and 2 deletions

View File

@ -121,7 +121,7 @@ index ec8ace4..03638be 100644
# endif
-# if defined(__alpha__) && (__GNUC__ == 4)
+# if (defined(__alpha__) || define(__sw_64__)) && (__GNUC__ == 4)
+# if (defined(__alpha__) || defined(__sw_64__)) && (__GNUC__ == 4)
/* Workaround __builtin_expect bug found in */
/* gcc-4.6.3/alpha causing test_stack failure. */
# undef AO_EXPECT_FALSE

View File

@ -1,6 +1,6 @@
Name: libatomic_ops
Version: 7.8.2
Release: 1
Release: 2
Summary: Atomic memory update operations
License: GPLv2
URL: https://github.com/ivmai/libatomic_ops/
@ -63,6 +63,9 @@ The devel for %{name}
%doc AUTHORS ChangeLog README.md
%changelog
* Mon Feb 26 2024 laokz <zhangkai@iscas.ac.cn> - 7.8.2-2
- fix patch error
* Thu Feb 08 2024 Weifeng Su <suweifeng1@huawei.com> - 7.8.2-1
- upgrade to version 7.8.2:
-Resolve warning in GCC11