pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib Use a workaround to pre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/46d5983575a2
branches: trunk
changeset: 540176:46d5983575a2
user: tron <tron%pkgsrc.org@localhost>
date: Mon Mar 31 16:52:13 2008 +0000
description:
Use a workaround to prevent a linker error on Mac OS X Leopard.
Reviewed by Joerg Sonnenberger and approved by Dieter Baron.
diffstat:
pkgtools/pkg_install/files/lib/vulnerabilities-file.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 8ecf843ff1b2 -r 46d5983575a2 pkgtools/pkg_install/files/lib/vulnerabilities-file.c
--- a/pkgtools/pkg_install/files/lib/vulnerabilities-file.c Mon Mar 31 16:16:00 2008 +0000
+++ b/pkgtools/pkg_install/files/lib/vulnerabilities-file.c Mon Mar 31 16:52:13 2008 +0000
@@ -36,7 +36,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: vulnerabilities-file.c,v 1.2 2008/03/09 22:26:56 joerg Exp $");
+__RCSID("$NetBSD: vulnerabilities-file.c,v 1.3 2008/03/31 16:52:13 tron Exp $");
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
@@ -64,7 +64,11 @@
#include "lib.h"
-const char *gpg_cmd;
+/*
+ * We explicitely initialize this to NULL to stop Mac OS X Leopard's linker
+ * from turning this into a common symbol which causes a link failure.
+ */
+const char *gpg_cmd = NULL;
static void
verify_signature(const char *input, size_t input_len)
Home |
Main Index |
Thread Index |
Old Index