pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkg_install-renovation]: pkgsrc/pkgtools/pkg_install/files/lib Define...
details: https://anonhg.NetBSD.org/pkgsrc/rev/825e44b10e54
branches: pkg_install-renovation
changeset: 541545:825e44b10e54
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed May 21 13:08:47 2008 +0000
description:
Define __UNCONST if needed.
diffstat:
pkgtools/pkg_install/files/lib/pkcs7.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 204662bbc12e -r 825e44b10e54 pkgtools/pkg_install/files/lib/pkcs7.c
--- a/pkgtools/pkg_install/files/lib/pkcs7.c Tue May 20 15:00:44 2008 +0000
+++ b/pkgtools/pkg_install/files/lib/pkcs7.c Wed May 21 13:08:47 2008 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pkcs7.c,v 1.1.2.1 2008/05/11 20:20:38 joerg Exp $ */
+/* $NetBSD: pkcs7.c,v 1.1.2.2 2008/05/21 13:08:47 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
#endif
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: pkcs7.c,v 1.1.2.1 2008/05/11 20:20:38 joerg Exp $");
+__RCSID("$NetBSD: pkcs7.c,v 1.1.2.2 2008/05/21 13:08:47 joerg Exp $");
/*-
* Copyright (c) 2004, 2008 The NetBSD Foundation, Inc.
@@ -52,6 +52,10 @@
#include "lib.h"
+#ifndef __UNCONST
+#define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
+#endif
+
static STACK_OF(X509) *
file_to_certs(const char *file)
{
Home |
Main Index |
Thread Index |
Old Index