aboutsummaryrefslogtreecommitdiffstats
path: root/main/flashrom/musl-ffs.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-07-16 14:59:44 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-16 14:59:44 +0300
commitacc627e27df2b0384c2fac110a92f775da97459c (patch)
treed7f5d9f2afd1726b4dee800ae6dfa7f15f23b84a /main/flashrom/musl-ffs.patch
parenta7c946f2fb25561976d22cbeb97eaf4db1d37019 (diff)
downloadaports-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.patch10
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"