diff --git a/net/ipsumdump/files/patch-src_aggtree.cc b/net/ipsumdump/files/patch-src_aggtree.cc new file mode 100644 index 000000000000..dc49fccb44f5 --- /dev/null +++ b/net/ipsumdump/files/patch-src_aggtree.cc @@ -0,0 +1,13 @@ +--- src/aggtree.cc.orig 2024-06-01 22:57:34 UTC ++++ src/aggtree.cc +@@ -10,10 +10,6 @@ + + #ifdef HAVE_BYTEORDER_H + #include +-#else +-static inline uint32_t bswap_32(uint32_t u) { +- return ((u >> 24) | ((u & 0xff0000) >> 8) | ((u & 0xff00) << 8) | ((u & 0xff) << 24)); +-} + #endif + + diff --git a/net/ipsumdump/files/patch-src_aggwtree.cc b/net/ipsumdump/files/patch-src_aggwtree.cc new file mode 100644 index 000000000000..ad10f30c1ef9 --- /dev/null +++ b/net/ipsumdump/files/patch-src_aggwtree.cc @@ -0,0 +1,13 @@ +--- src/aggwtree.cc.orig 2024-06-01 22:57:44 UTC ++++ src/aggwtree.cc +@@ -9,10 +9,6 @@ + + #ifdef HAVE_BYTEORDER_H + #include +-#else +-static inline uint32_t bswap_32(uint32_t u) { +- return ((u >> 24) | ((u & 0xff0000) >> 8) | ((u & 0xff00) << 8) | ((u & 0xff) << 24)); +-} + #endif + + typedef AggregateWTree::WNode WNode;