Shut up warnings about 6.0 packages on 6.0.1 (and similar).

Welcome to 20130131.
This commit is contained in:
wiz 2013-01-31 10:25:30 +00:00
parent ea1c156826
commit 2e2d576aa2
2 changed files with 8 additions and 4 deletions

View file

@ -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
#include "config.h"
#endif
@ -6,7 +6,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#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>
@ -156,6 +156,10 @@ compatible_platform(const char *opsys, const char *host, const char *package)
if (strcmp(host, package) == 0)
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 */
for (i=0; (host[i] != '\0') && (host[i] == package[i]);)
i++;

View file

@ -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.
@ -27,6 +27,6 @@
#ifndef _INST_LIB_VERSION_H_
#define _INST_LIB_VERSION_H_
#define PKGTOOLS_VERSION 20120221
#define PKGTOOLS_VERSION 20130131
#endif /* _INST_LIB_VERSION_H_ */