summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/graphicsmagick/files/graphicsmagick-1.3.18-powerpc.patch')
-rw-r--r--media-gfx/graphicsmagick/files/graphicsmagick-1.3.18-powerpc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-gfx/graphicsmagick/files/graphicsmagick-1.3.18-powerpc.patch b/media-gfx/graphicsmagick/files/graphicsmagick-1.3.18-powerpc.patch
new file mode 100644
index 000000000000..30a67fdc3e2d
--- /dev/null
+++ b/media-gfx/graphicsmagick/files/graphicsmagick-1.3.18-powerpc.patch
@@ -0,0 +1,11 @@
+--- a/magick/studio.h
++++ b/magick/studio.h
+@@ -51,7 +51,7 @@
+ threads. Most CPUs have cache lines of 32 or 64 bytes. IBM Power CPUs have
+ cache lines of 128 bytes.
+ */
+-#if defined(MAGICK_TARGET_CPU) && (MAGICK_TARGET_CPU == powerpc)
++#ifdef __powerpc__
+ # define MAGICK_CACHE_LINE_SIZE 128
+ #else
+ # define MAGICK_CACHE_LINE_SIZE 64