git: 802cf6e3b785 - main - news/py-sabyenc3: Fix build on aarch64 (at least)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Jun 2022 14:06:37 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=802cf6e3b785d063e0b165f60f9d0d7f72f19ed8 commit 802cf6e3b785d063e0b165f60f9d0d7f72f19ed8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-16 14:00:48 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-16 14:00:48 +0000 news/py-sabyenc3: Fix build on aarch64 (at least) Reported by: pkg-fallout Reference: http://ampere3.nyi.freebsd.org/data/130arm64-default/b44e82e7d313/logs/py38-sabyenc3-5.4.2.log --- news/py-sabyenc3/files/patch-src-yencode-crc.cc | 13 +++++++++++++ news/py-sabyenc3/files/patch-src-yencode-platform.cc | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/news/py-sabyenc3/files/patch-src-yencode-crc.cc b/news/py-sabyenc3/files/patch-src-yencode-crc.cc new file mode 100644 index 000000000000..f6f8ced5e8ad --- /dev/null +++ b/news/py-sabyenc3/files/patch-src-yencode-crc.cc @@ -0,0 +1,13 @@ +--- src/yencode/crc.cc.orig 2022-05-29 12:33:49 UTC ++++ src/yencode/crc.cc +@@ -43,10 +43,8 @@ int cpu_supports_crc_isa(); + # include <cpu-features.h> + # elif defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ >= 12) + # include <sys/auxv.h> +-# include <asm/hwcap.h> + # elif (defined(__FreeBSD__) && __FreeBSD__ < 12) + # include <sys/sysctl.h> +-# include <asm/hwcap.h> + # elif defined(__APPLE__) + # include <sys/types.h> + # include <sys/sysctl.h> diff --git a/news/py-sabyenc3/files/patch-src-yencode-platform.cc b/news/py-sabyenc3/files/patch-src-yencode-platform.cc new file mode 100644 index 000000000000..ada8933dc425 --- /dev/null +++ b/news/py-sabyenc3/files/patch-src-yencode-platform.cc @@ -0,0 +1,13 @@ +--- src/yencode/platform.cc.orig 2022-05-29 12:33:49 UTC ++++ src/yencode/platform.cc +@@ -5,10 +5,8 @@ + # include <cpu-features.h> + # elif defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ >= 12) + # include <sys/auxv.h> +-# include <asm/hwcap.h> + # elif (defined(__FreeBSD__) && __FreeBSD__ < 12) + # include <sys/sysctl.h> +-# include <asm/hwcap.h> + # elif defined(_WIN32) + # define WIN32_LEAN_AND_MEAN + # define NOMINMAX