1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00

avrdude/: make patches relative to avrdude-<version> directory

This way, the path names in the patch files stay the same across
avrdude versions.
This commit is contained in:
Werner Almesberger
2012-07-22 02:37:19 -03:00
parent 9942f62cb8
commit b0e83a9202
8 changed files with 41 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
Index: avrdude/avrdude-5.10/avrpart.h
Index: avrdude/avrpart.h
===================================================================
--- avrdude.orig/avrdude-5.10/avrpart.h 2011-03-08 23:40:10.000000000 -0300
+++ avrdude/avrdude-5.10/avrpart.h 2011-03-08 23:40:13.000000000 -0300
--- avrdude.orig/avrpart.h 2011-03-08 23:40:10.000000000 -0300
+++ avrdude/avrpart.h 2011-03-08 23:40:13.000000000 -0300
@@ -185,6 +185,8 @@
unsigned char * buf; /* pointer to memory buffer */
@@ -11,10 +11,10 @@ Index: avrdude/avrdude-5.10/avrpart.h
} AVRMEM;
#ifdef __cplusplus
Index: avrdude/avrdude-5.10/config_gram.y
Index: avrdude/config_gram.y
===================================================================
--- avrdude.orig/avrdude-5.10/config_gram.y 2011-03-08 23:40:10.000000000 -0300
+++ avrdude/avrdude-5.10/config_gram.y 2011-03-08 23:40:13.000000000 -0300
--- avrdude.orig/config_gram.y 2011-03-08 23:40:10.000000000 -0300
+++ avrdude/config_gram.y 2011-03-08 23:40:13.000000000 -0300
@@ -1209,6 +1209,7 @@
}
mem_specs
@@ -23,10 +23,10 @@ Index: avrdude/avrdude-5.10/config_gram.y
ladd(current_part->mem, current_mem);
current_mem = NULL;
} |
Index: avrdude/avrdude-5.10/fileio.c
Index: avrdude/fileio.c
===================================================================
--- avrdude.orig/avrdude-5.10/fileio.c 2011-03-08 23:40:10.000000000 -0300
+++ avrdude/avrdude-5.10/fileio.c 2011-03-08 23:40:13.000000000 -0300
--- avrdude.orig/fileio.c 2011-03-08 23:40:10.000000000 -0300
+++ avrdude/fileio.c 2011-03-08 23:40:13.000000000 -0300
@@ -52,7 +52,7 @@
char * outfile, FILE * outf);