mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
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
This commit is contained in:
parent
6bfe58495f
commit
802cf6e3b7
13
news/py-sabyenc3/files/patch-src-yencode-crc.cc
Normal file
13
news/py-sabyenc3/files/patch-src-yencode-crc.cc
Normal file
@ -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>
|
13
news/py-sabyenc3/files/patch-src-yencode-platform.cc
Normal file
13
news/py-sabyenc3/files/patch-src-yencode-platform.cc
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user