From 7326d1f1a67edf21947ae98194f98c38b6e9e527 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 23 Jul 2007 14:07:02 +0200 Subject: 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. --- Makefile.maint | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile.maint') 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'; \ -- cgit v1.2.3-54-g00ecf