pkgsrc/textproc/libxslt/patches/patch-ae
wiz 9d185dedd7 Update to 1.1.22, provided by Blair Sadewitz in private mail:
* Bug fixes: RVT cleanup problems (William Brack),
      exclude-result-prefix bug (William Brack), stylesheet compilation
      error handling (Rob Richards).
    * Portability fixes: improve build with VS2005 (Rob Richards),
      fixing build on AIX (Bjorn Wiberg), fix the security file checks
      on Windows (Roland Schwarz and Rob Richards).
    * Improvement: add an --encoding option to xsltproc (Drazen Kacar).
2007-08-29 23:26:44 +00:00

12 lines
365 B
Text

$NetBSD: patch-ae,v 1.4 2007/08/29 23:26:45 wiz Exp $
--- libexslt/date.c.orig 2007-08-23 08:20:52.000000000 -0400
+++ libexslt/date.c
@@ -31,6 +31,7 @@
#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */
#ifndef _AIX51 /* but on AIX we're not using gnu libc */
#define _POSIX_SOURCE
+#define _POSIX_C_SOURCE 199506L /* POSIX.1c */
#endif
#endif