mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
fix build of flashrom when svn to old
This commit is contained in:
parent
0fcae2fa3d
commit
44f7470e02
18
packages/tools/flashrom/patches/flashrom_disable_svn.diff
Normal file
18
packages/tools/flashrom/patches/flashrom_disable_svn.diff
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff -Naur flashrom/Makefile flashrom.patch/Makefile
|
||||||
|
--- flashrom/Makefile 2009-04-14 03:43:10.000000000 +0200
|
||||||
|
+++ flashrom.patch/Makefile 2009-04-17 00:00:43.238159402 +0200
|
||||||
|
@@ -40,8 +40,7 @@
|
||||||
|
|
||||||
|
# Set the flashrom version string from the highest revision number
|
||||||
|
# of the checked out flashrom files.
|
||||||
|
-SVNDEF := -D'FLASHROM_VERSION="$(shell svnversion -cn . \
|
||||||
|
- | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
|
||||||
|
+ SVNDEF := -D'FLASHROM_VERSION="$(shell cat version)"'
|
||||||
|
|
||||||
|
$(PROGRAM): $(OBJS)
|
||||||
|
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
|
||||||
|
diff -Naur flashrom/version flashrom.patch/version
|
||||||
|
--- flashrom/version 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ flashrom.patch/version 2009-04-16 23:59:52.958410419 +0200
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+4107
|
Loading…
x
Reference in New Issue
Block a user