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 @@ -1,14 +1,14 @@ --- src/aggtree.cc.orig 2014-05-02 12:23:53 UTC +++ src/aggtree.cc @@ -11,9 +11,11 @@ #ifdef HAVE_BYTEORDER_H #include #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)); } +#endif #endif 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 @@ -1,14 +1,14 @@ --- src/aggwtree.cc.orig 2014-05-02 12:23:53 UTC +++ src/aggwtree.cc @@ -10,9 +10,11 @@ #ifdef HAVE_BYTEORDER_H #include #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)); } +#endif #endif typedef AggregateWTree::WNode WNode;