flashrom: update to 0.9.9.
This commit is contained in:
parent
e1b4fc1f30
commit
e99eea9581
|
@ -1,33 +0,0 @@
|
||||||
--- linux_spi.c.orig
|
|
||||||
+++ linux_spi.c
|
|
||||||
@@ -26,6 +26,7 @@
|
|
||||||
#include <errno.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
+#include <asm/ioctl.h>
|
|
||||||
#include <linux/types.h>
|
|
||||||
#include <linux/spi/spidev.h>
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
--- linux_spi.c.orig
|
|
||||||
+++ linux_spi.c
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
-#include <sys/fcntl.h>
|
|
||||||
+#include <fcntl.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
--- hwaccess.h.orig
|
|
||||||
+++ hwaccess.h
|
|
||||||
@@ -25,9 +25,7 @@
|
|
||||||
#define __HWACCESS_H__ 1
|
|
||||||
|
|
||||||
#if IS_X86
|
|
||||||
-#if defined(__GLIBC__)
|
|
||||||
#include <sys/io.h>
|
|
||||||
-#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if NEED_PCI == 1
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'flashrom'
|
# Template file for 'flashrom'
|
||||||
pkgname=flashrom
|
pkgname=flashrom
|
||||||
version=0.9.8
|
version=0.9.9
|
||||||
revision=2
|
revision=1
|
||||||
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
|
short_desc="Utility for reading, writing, erasing and verifying flash ROM chips"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
makedepends="pciutils-devel libusb-compat-devel"
|
makedepends="pciutils-devel libusb-compat-devel"
|
||||||
|
@ -9,7 +9,7 @@ hostmakedepends="pkg-config"
|
||||||
homepage="http://www.flashrom.org"
|
homepage="http://www.flashrom.org"
|
||||||
license="MIT/X11"
|
license="MIT/X11"
|
||||||
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
|
distfiles=http://download.flashrom.org/releases/$pkgname-$version.tar.bz2
|
||||||
checksum=13dc7c895e583111ecca370363a3527d237d178a134a94b20db7df177c05f934
|
checksum=cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i "s:sbin:bin:g" Makefile
|
sed -i "s:sbin:bin:g" Makefile
|
||||||
|
|
Loading…
Reference in New Issue