radhermit    14/09/04 21:10:00

  Added:                graphicsmagick-1.3.20-powerpc.patch
  Log:
  Version bump.
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
4F064CA3)

Revision  Changes    Path
1.1                  
media-gfx/graphicsmagick/files/graphicsmagick-1.3.20-powerpc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/files/graphicsmagick-1.3.20-powerpc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/files/graphicsmagick-1.3.20-powerpc.patch?rev=1.1&content-type=text/plain

Index: graphicsmagick-1.3.20-powerpc.patch
===================================================================
--- GraphicsMagick-1.3.20/magick/studio.h
+++ GraphicsMagick-1.3.20/magick/studio.h
@@ -51,12 +51,11 @@
   threads.  Most CPUs have cache lines of 32 or 64 bytes.  IBM Power CPUs have
   cache lines of 128 bytes.
 */
-/* FIXME: C pre-processor does not support comparing strings. */
-/* #if defined(MAGICK_TARGET_CPU) && (MAGICK_TARGET_CPU == powerpc) */
-/* #  define MAGICK_CACHE_LINE_SIZE 128 */
-/* #else */
-#  define MAGICK_CACHE_LINE_SIZE 64
-/* #endif */
+#ifdef __powerpc__
+#define MAGICK_CACHE_LINE_SIZE 128
+#else
+#define MAGICK_CACHE_LINE_SIZE 64
+#endif
 
 
 /*




Reply via email to