Shut up warnings about 6.0 packages on 6.0.1 (and similar).
Welcome to 20130131.
This commit is contained in:
parent
ea1c156826
commit
2e2d576aa2
2 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: perform.c,v 1.102 2012/02/21 13:32:24 wiz Exp $ */
|
/* $NetBSD: perform.c,v 1.103 2013/01/31 10:25:30 wiz Exp $ */
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
#if HAVE_SYS_CDEFS_H
|
#if HAVE_SYS_CDEFS_H
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#endif
|
#endif
|
||||||
__RCSID("$NetBSD: perform.c,v 1.102 2012/02/21 13:32:24 wiz Exp $");
|
__RCSID("$NetBSD: perform.c,v 1.103 2013/01/31 10:25:30 wiz Exp $");
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2003 Grant Beattie <grant@NetBSD.org>
|
* Copyright (c) 2003 Grant Beattie <grant@NetBSD.org>
|
||||||
|
@ -156,6 +156,10 @@ compatible_platform(const char *opsys, const char *host, const char *package)
|
||||||
if (strcmp(host, package) == 0)
|
if (strcmp(host, package) == 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
/* accept, if host version is a minor release of package version */
|
||||||
|
if (strncmp(host, package, strlen(package)) == 0)
|
||||||
|
return 1;
|
||||||
|
|
||||||
/* find offset of first difference */
|
/* find offset of first difference */
|
||||||
for (i=0; (host[i] != '\0') && (host[i] == package[i]);)
|
for (i=0; (host[i] != '\0') && (host[i] == package[i]);)
|
||||||
i++;
|
i++;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: version.h,v 1.164 2012/02/21 14:54:41 wiz Exp $ */
|
/* $NetBSD: version.h,v 1.165 2013/01/31 10:25:30 wiz Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001 Thomas Klausner. All rights reserved.
|
* Copyright (c) 2001 Thomas Klausner. All rights reserved.
|
||||||
|
@ -27,6 +27,6 @@
|
||||||
#ifndef _INST_LIB_VERSION_H_
|
#ifndef _INST_LIB_VERSION_H_
|
||||||
#define _INST_LIB_VERSION_H_
|
#define _INST_LIB_VERSION_H_
|
||||||
|
|
||||||
#define PKGTOOLS_VERSION 20120221
|
#define PKGTOOLS_VERSION 20130131
|
||||||
|
|
||||||
#endif /* _INST_LIB_VERSION_H_ */
|
#endif /* _INST_LIB_VERSION_H_ */
|
||||||
|
|
Loading…
Reference in a new issue