pkgsrc/devel/gettext-tools/patches/patch-ar
rillig 67645c1c07 Fixed the patches to _never_ use the varargs macros. This fixes the
build on Mac OS X, where the inconsistent preprocessor conditions made
the compilation fail.
2007-03-12 23:59:47 +00:00

17 lines
694 B
Text

$NetBSD: patch-ar,v 1.2 2007/03/12 23:59:47 rillig Exp $
See patch-aq.
--- gettext-tools/src/po-lex.c.orig 2005-05-20 23:03:44.000000000 +0200
+++ gettext-tools/src/po-lex.c 2007-03-12 23:26:10.000000000 +0100
@@ -70,9 +70,7 @@ int gram_pos_column;
/* Error handling during the parsing of a PO file.
These functions can access gram_pos and gram_pos_column. */
-#if !(__STDC__ && \
- ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __DECC) \
- || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__)))
+#if 1
/* CAUTION: If you change this function, you must also make identical
changes to the macro of the same name in src/po-lex.h */