summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-07-23 14:07:02 +0200
committerJim Meyering <jim@meyering.net>2007-07-23 14:07:02 +0200
commit7326d1f1a67edf21947ae98194f98c38b6e9e527 (patch)
treea1d9840faf619100c590495d0128df04c87634f2 /Makefile.maint
parentcd098ea1997e42e1dfe9633eac2fbee4c545aaf1 (diff)
downloadcoreutils-7326d1f1a67edf21947ae98194f98c38b6e9e527.tar.xz
Update c99/c89 patch for new, copyright-change-induced offsets.
* Makefile.maint (patch-check): Filter out '^Only in...' lines. * src/c99-to-c89.diff: Handle new c99'isms in seq.c.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.maint b/Makefile.maint
index f0c98c876..b1b94ce54 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -4,7 +4,7 @@
## Copyright (C) 2001-2007 Free Software Foundation, Inc.
##
-## This program is free software; you can redistribute it and/or modify
+## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3, or (at your option)
## any later version.
@@ -366,8 +366,9 @@ patch-check:
cp -a src src-c89
(cd src-c89; patch -p1 -V never --fuzz=0) < src/c99-to-c89.diff \
> $@.1 2>&1
- if test "$${REGEN_PATCH+set}" = set; then \
- diff -upr src src-c89 | sed 's,src-c89/,src/,' > new-diff || : ; fi
+ if test "$$REGEN_PATCH" = yes; then \
+ diff -upr src src-c89 | sed 's,src-c89/,src/,' \
+ | grep -v '^Only in' > new-diff || : ; fi
grep -v '^patching file ' $@.1 > $@.2 || :
msg=ok; test -s $@.2 && msg='fuzzy patch' || : ; \
rm -f src-c89/*.o || msg='rm failed'; \