Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-flashrom.c,v 1.1 2014/03/06 15:46:39 joerg Exp $
--- flashrom.c.orig 2014-03-02 13:42:29.000000000 +0000
+++ flashrom.c
@@ -1738,7 +1738,7 @@ int selfcheck(void)
* For 'flashchips' we check the first element to be non-null. In the
* other cases there exist use cases where the first element can be
* null. */
- if (flashchips == NULL || flashchips[0].vendor == NULL) {
+ if (flashchips[0].vendor == NULL) {
msg_gerr("Flashchips table miscompilation!\n");
ret = 1;
}
@@ -1746,7 +1746,7 @@ int selfcheck(void)
if (selfcheck_eraseblocks(chip))
ret = 1;
-#if CONFIG_INTERNAL == 1
+#if 0 && CONFIG_INTERNAL == 1
if (chipset_enables == NULL) {
msg_gerr("Chipset enables table does not exist!\n");
ret = 1;