pkgsrc/devel/gettext/patches/patch-ap

13 lines
559 B
Text

$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__)))