From 76292a5f43a91c320a753b05c4e47c92149390a3 Mon Sep 17 00:00:00 2001 From: recht Date: Sun, 20 Mar 2005 10:45:48 +0000 Subject: Include sys/types.h and stdint.h if they are available. Fixes the build on DragonFly. patch provided by Todd Willey in PR 29276 --- textproc/libxslt/distinfo | 3 ++- textproc/libxslt/patches/patch-ab | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 textproc/libxslt/patches/patch-ab (limited to 'textproc') diff --git a/textproc/libxslt/distinfo b/textproc/libxslt/distinfo index a5dd4bb8a65..fea6fefd03f 100644 --- a/textproc/libxslt/distinfo +++ b/textproc/libxslt/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.32 2005/02/24 14:48:44 agc Exp $ +$NetBSD: distinfo,v 1.33 2005/03/20 10:45:48 recht Exp $ SHA1 (libxslt-1.1.12.tar.bz2) = 60fcd3d79fca9a499096fdf51c41ea2c4ecb387e RMD160 (libxslt-1.1.12.tar.bz2) = a601ace751bcc98e6ebc6a60c7f3bb4553917c04 Size (libxslt-1.1.12.tar.bz2) = 1778551 bytes SHA1 (patch-aa) = 89c136b41e69b3256291325320d0fa3efbf4f42c +SHA1 (patch-ab) = b1acdc7cadeead599110f3e8185d8469947bae54 diff --git a/textproc/libxslt/patches/patch-ab b/textproc/libxslt/patches/patch-ab new file mode 100644 index 00000000000..a1b0d1b90b7 --- /dev/null +++ b/textproc/libxslt/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.13 2005/03/20 10:45:48 recht Exp $ + +--- libexslt/crypto.c.orig Sun Mar 20 11:32:00 2005 ++++ libexslt/crypto.c Sun Mar 20 11:32:37 2005 +@@ -317,6 +317,13 @@ + #define PLATFORM_MD5 GCRY_MD_MD5 + #define PLATFORM_SHA1 GCRY_MD_SHA1 + ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++ + #include /* needed by gcrypt.h 4 Jul 04 */ + #include + -- cgit v1.2.3