This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
flashrom: fix build with musl
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
lilik-openwrt-22.03
Álvaro Fernández Rojas
10 years ago
parent
81f9889bb0
commit
fc959cf5b8
2 changed files
with
13 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
utils/flashrom/Makefile
+12
-0
utils/flashrom/patches/0002-fix-musl-compatibility.patch
+ 1
- 1
utils/flashrom/Makefile
View File
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
flashrom
PKG_VERSION
:=
0.9.8
PKG_RELEASE
:=
2
PKG_RELEASE
:=
3
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.bz2
PKG_SOURCE_URL
:=
http://download.flashrom.org/releases
+ 12
- 0
utils/flashrom/patches/0002-fix-musl-compatibility.patch
View File
@ -0,0 +1,12 @@
diff -uprN a/linux_spi.c b/linux_spi.c
--- a/linux_spi.c 2015-06-17 20:50:36.492963100 +0200
+++ b/linux_spi.c 2015-06-17 20:50:00.444860800 +0200
@@ -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>
Write
Preview
Loading…
Cancel
Save