diff options
author | recht <recht@pkgsrc.org> | 2005-03-20 10:45:48 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2005-03-20 10:45:48 +0000 |
commit | 76292a5f43a91c320a753b05c4e47c92149390a3 (patch) | |
tree | f9e83401cb4b822d39a48dd1f58d247a0ec3edac /textproc/libxslt | |
parent | 4baf3520bd158aad8e2c7f5296da78a98ad5e03d (diff) | |
download | pkgsrc-76292a5f43a91c320a753b05c4e47c92149390a3.tar.gz |
Include sys/types.h and stdint.h if they are available.
Fixes the build on DragonFly.
patch provided by Todd Willey in PR 29276
Diffstat (limited to 'textproc/libxslt')
-rw-r--r-- | textproc/libxslt/distinfo | 3 | ||||
-rw-r--r-- | textproc/libxslt/patches/patch-ab | 18 |
2 files changed, 20 insertions, 1 deletions
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 <sys/types.h> ++#endif ++#ifdef HAVE_STDINT_H ++# include <stdint.h> ++#endif ++ + #include <sys/select.h> /* needed by gcrypt.h 4 Jul 04 */ + #include <gcrypt.h> + |