pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/libxslt Include sys/types.h and stdint.h if t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f63e3c245945
branches:  trunk
changeset: 490782:f63e3c245945
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Mar 20 10:45:48 2005 +0000

description:
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:

 textproc/libxslt/distinfo         |   3 ++-
 textproc/libxslt/patches/patch-ab |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r a6aad3173c93 -r f63e3c245945 textproc/libxslt/distinfo
--- a/textproc/libxslt/distinfo Sun Mar 20 05:05:59 2005 +0000
+++ b/textproc/libxslt/distinfo Sun Mar 20 10:45:48 2005 +0000
@@ -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 -r a6aad3173c93 -r f63e3c245945 textproc/libxslt/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/libxslt/patches/patch-ab Sun Mar 20 10:45:48 2005 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index