diff --git a/utils/flashrom/Makefile b/utils/flashrom/Makefile index cbb0ff3c1..df0561a2a 100644 --- a/utils/flashrom/Makefile +++ b/utils/flashrom/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010-2016 OpenWrt.org +# Copyright (C) 2010-2017 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=flashrom -PKG_VERSION:=0.9.9 -PKG_RELEASE:=2 +PKG_VERSION:=0.9.9.1 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://download.flashrom.org/releases PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_HASH:=cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45 +PKG_HASH:=0e145a5b9b18c98752acf0f8329a9a260ddf030abf687416daab9f05a0f508d0 PKG_MAINTAINER:=Álvaro Fernández Rojas PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR) diff --git a/utils/flashrom/patches/0001-fix_internal_bitbang.patch b/utils/flashrom/patches/0001-fix_internal_bitbang.patch index 376d6b285..581e0704a 100644 --- a/utils/flashrom/patches/0001-fix_internal_bitbang.patch +++ b/utils/flashrom/patches/0001-fix_internal_bitbang.patch @@ -1,6 +1,6 @@ --- a/programmer.h +++ b/programmer.h -@@ -557,7 +557,7 @@ enum spi_controller { +@@ -584,7 +584,7 @@ enum spi_controller { #if CONFIG_DEDIPROG == 1 SPI_CONTROLLER_DEDIPROG, #endif diff --git a/utils/flashrom/patches/0002-fix-io-h-include.patch b/utils/flashrom/patches/0002-fix-io-h-include.patch index 50aa2a8fa..63109e1f1 100644 --- a/utils/flashrom/patches/0002-fix-io-h-include.patch +++ b/utils/flashrom/patches/0002-fix-io-h-include.patch @@ -1,12 +1,10 @@ -diff -uprN a/linux_spi.c b/linux_spi.c ---- a/flash.h 2015-02-08 16:57:52.000000000 -0500 -+++ b/flash.h 2016-01-08 20:09:51.599387507 -0500 +--- a/flash.h ++++ b/flash.h @@ -30,6 +30,7 @@ #include #include #include +#include + #include #include #if IS_WINDOWS - #include -