diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-07-16 14:59:44 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-16 14:59:44 +0300 |
commit | acc627e27df2b0384c2fac110a92f775da97459c (patch) | |
tree | d7f5d9f2afd1726b4dee800ae6dfa7f15f23b84a /main/flashrom/musl-ffs.patch | |
parent | a7c946f2fb25561976d22cbeb97eaf4db1d37019 (diff) | |
download | aports-acc627e27df2b0384c2fac110a92f775da97459c.tar.bz2 aports-acc627e27df2b0384c2fac110a92f775da97459c.tar.xz |
main/flashrom: fix ffs definition, add support for sst26 spi flash
Diffstat (limited to 'main/flashrom/musl-ffs.patch')
-rw-r--r-- | main/flashrom/musl-ffs.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/flashrom/musl-ffs.patch b/main/flashrom/musl-ffs.patch new file mode 100644 index 0000000000..5af047d5a8 --- /dev/null +++ b/main/flashrom/musl-ffs.patch @@ -0,0 +1,10 @@ +--- flashrom-0.9.9/spi.c.orig 2017-07-16 14:56:35.786503889 +0300 ++++ flashrom-0.9.9/spi.c 2017-07-16 14:58:31.698126720 +0300 +@@ -22,6 +22,7 @@ + * Contains the generic SPI framework + */ + ++#define _BSD_SOURCE + #include <strings.h> + #include <string.h> + #include "flash.h" |