summaryrefslogtreecommitdiff
path: root/graphics/png/patches/patch-ab
blob: 4a0c259089e87d07543eb3d20b2b7e98e551a271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.12 2007/08/31 15:35:08 minskim Exp $

http://sourceforge.net/tracker/index.php?func=detail&aid=1777158&group_id=5624&atid=105624

--- pnggccrd.c.orig	2007-08-18 03:33:42.000000000 -0700
+++ pnggccrd.c
@@ -465,7 +465,7 @@ static PNG_CONST int FARDATA png_pass_wi
 /* djgpp, Win32, Cygwin, and OS2 add their own underscores to global variables,
  * so define them without: */
 #if defined(__DJGPP__) || defined(WIN32) || defined(__CYGWIN__) || \
-    defined(__OS2__)
+    defined(__OS2__) || defined(__APPLE__)
 #  define _mmx_supported  mmx_supported
 #  define _mask8_0        mask8_0
 #  define _mask16_1       mask16_1