File tomahawk-ppc64.patch of Package tomahawk

Index: tomahawk-0.6.0/thirdparty/breakpad/common/memory.h
===================================================================
--- tomahawk-0.6.0.orig/thirdparty/breakpad/common/memory.h
+++ tomahawk-0.6.0/thirdparty/breakpad/common/memory.h
@@ -93,7 +93,7 @@ class PageAllocator {
 
  private:
   uint8_t *GetNPages(unsigned num_pages) {
-#ifdef __x86_64
+#if defined(__x86_64) || defined(__powerpc64__)
     void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE,
                        MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
 #else
openSUSE Build Service is sponsored by