pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29276: PATCH textproc/libxslt includes
>Number: 29276
>Category: pkg
>Synopsis: PATCH textproc/libxslt includes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Feb 07 22:32:00 +0000 2005
>Originator: Todd Willey
>Release:
>Organization:
>Environment:
>Description:
Fix for missing includes resulting in undefined types.
>How-To-Repeat:
>Fix:
I put this in patches/patch-ab
Since, HAVE_SYS_TYPES_H and HAVE_STDINT_H are defined or not in configure.h as
part of the config process, this should work on all platforms.
--- libexslt/crypto.c.bak 2005-02-07 22:20:41.000000000 +0000
+++ libexslt/crypto.c 2005-02-07 22:22:56.000000000 +0000
@@ -317,6 +317,12 @@
#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