]> git.pld-linux.org Git - packages/gcc.git/blobdiff - branch.sh
8.0.1 requires binutils >= 2.30
[packages/gcc.git] / branch.sh
index 83ff9ac3a4ff8a47e92dc27564f9f863c1142297..786711f3f7d2e32b0078baf51c52c819831e52a9 100755 (executable)
--- a/branch.sh
+++ b/branch.sh
@@ -2,14 +2,16 @@
 set -e
 package=gcc
 svn=svn://gcc.gnu.org/svn/$package
-branch=branches/$package-7-branch
-tag=tags/${package}_7_2_0_release
+branch=branches/$package-9-branch
+tag=tags/${package}_9_2_0_release
 out=$package-branch.diff
 
 # use filterdiff, etc to exclude bad chunks from diff
 filter() {
        # remove revno's for smaller diffs
-       sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
+       # replace svn nonexistend with '0' date, so patch will know that file needs to be removed from disk
+       sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,' | \
+       sed -e 's,^\([-+]\{3\} .*\t\)(nonexistent)$,\11970-01-01 01:00:00.000000000 +0100,'
 }
 
 old=$svn/$tag
This page took 0.031288 seconds and 4 git commands to generate.