git: b4b5f03ae766 - main - net/ipsumdump: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:49 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b4b5f03ae7668a6949b0e54b82385cedb040f64c commit b4b5f03ae7668a6949b0e54b82385cedb040f64c Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-06 04:06:24 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-12 21:36:13 +0000 net/ipsumdump: fix build on powerpc --- net/ipsumdump/files/patch-src_aggtree.cc | 2 +- net/ipsumdump/files/patch-src_aggwtree.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipsumdump/files/patch-src_aggtree.cc b/net/ipsumdump/files/patch-src_aggtree.cc index 1cbb8328fc40..23173ae98a0c 100644 --- a/net/ipsumdump/files/patch-src_aggtree.cc +++ b/net/ipsumdump/files/patch-src_aggtree.cc @@ -4,7 +4,7 @@ #ifdef HAVE_BYTEORDER_H #include <byteorder.h> #else -+#if !defined(__powerpc64__) && !defined(POWERPC64) ++#if !defined(__powerpc__) && !defined(POWERPC64) static inline uint32_t bswap_32(uint32_t u) { return ((u >> 24) | ((u & 0xff0000) >> 8) | ((u & 0xff00) << 8) | ((u & 0xff) << 24)); } diff --git a/net/ipsumdump/files/patch-src_aggwtree.cc b/net/ipsumdump/files/patch-src_aggwtree.cc index 18eb0e674202..bea7755f858f 100644 --- a/net/ipsumdump/files/patch-src_aggwtree.cc +++ b/net/ipsumdump/files/patch-src_aggwtree.cc @@ -4,7 +4,7 @@ #ifdef HAVE_BYTEORDER_H #include <byteorder.h> #else -+#if !defined(__powerpc64__) && !defined(POWERPC64) ++#if !defined(__powerpc__) && !defined(POWERPC64) static inline uint32_t bswap_32(uint32_t u) { return ((u >> 24) | ((u & 0xff0000) >> 8) | ((u & 0xff00) << 8) | ((u & 0xff) << 24)); }