summaryrefslogtreecommitdiff
path: root/devel/gettext/patches/patch-ap
blob: f35f7241b26e1379eefc261410d6e6d621a9b4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ap,v 1.4 2006/02/21 20:04:03 jschauma Exp $

--- gettext-tools/src/po-lex.c.orig	2005-05-20 16:43:18.000000000 -0400
+++ gettext-tools/src/po-lex.c	2006-02-21 15:00:22.000000000 -0500
@@ -70,7 +70,7 @@
 /* Error handling during the parsing of a PO file.
    These functions can access gram_pos and gram_pos_column.  */
 
-#if !(__STDC__ && \
+#if !defined __sgi && !(__STDC__ && \
       ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC) \
        || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__)))