Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/graphicsmagick/files: graphicsmagick-1.3.20-powerpc.patch
Date: Thu, 04 Sep 2014 21:10:04
Message-Id: 20140904211000.606C94BA9@oystercatcher.gentoo.org
1 radhermit 14/09/04 21:10:00
2
3 Added: graphicsmagick-1.3.20-powerpc.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
8
9 Revision Changes Path
10 1.1 media-gfx/graphicsmagick/files/graphicsmagick-1.3.20-powerpc.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphicsmagick/files/graphicsmagick-1.3.20-powerpc.patch?rev=1.1&view=markup
13 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
14
15 Index: graphicsmagick-1.3.20-powerpc.patch
16 ===================================================================
17 --- GraphicsMagick-1.3.20/magick/studio.h
18 +++ GraphicsMagick-1.3.20/magick/studio.h
19 @@ -51,12 +51,11 @@
20 threads. Most CPUs have cache lines of 32 or 64 bytes. IBM Power CPUs have
21 cache lines of 128 bytes.
22 */
23 -/* FIXME: C pre-processor does not support comparing strings. */
24 -/* #if defined(MAGICK_TARGET_CPU) && (MAGICK_TARGET_CPU == powerpc) */
25 -/* # define MAGICK_CACHE_LINE_SIZE 128 */
26 -/* #else */
27 -# define MAGICK_CACHE_LINE_SIZE 64
28 -/* #endif */
29 +#ifdef __powerpc__
30 +#define MAGICK_CACHE_LINE_SIZE 128
31 +#else
32 +#define MAGICK_CACHE_LINE_SIZE 64
33 +#endif
34
35
36 /*