bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] [PATCH 1/2] maint: update gnulib to latest with accompan


From: Jim Meyering
Subject: [bug-diffutils] [PATCH 1/2] maint: update gnulib to latest with accompanying tight-scope tweaks
Date: Mon, 23 May 2011 19:35:18 +0200

Now that gnulib's rule no longer includes "XTERN",
we configure it to do so here:

>From 91d850a78b100bf78c9f77abf38c0369b877f597 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 23 May 2011 19:20:05 +0200
Subject: [PATCH 1/2] maint: update gnulib to latest with accompanying
 tight-scope tweaks

* cfg.mk: Include $(srcdir)/dist-check.mk using "-include",
to accommodate the new sc_tight_scope rule.
(_gl_TS_extern): Define, to tell gnulib's tight_scope rule that
headers here mark externs with "XTERN".
* gnulib: Update to latest.
---
 cfg.mk |    5 ++++-
 gnulib |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 45f52e0..5f0d836 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -39,7 +39,7 @@ update-copyright-env = \
   UPDATE_COPYRIGHT_USE_INTERVALS=1 \
   UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79

-include $(srcdir)/dist-check.mk
+-include $(srcdir)/dist-check.mk

 gendocs_options_ = -s $(srcdir)/diff.texi

@@ -66,3 +66,6 @@ config-save:
        cp lib/config.h config.status $(_cf_state_dir)/latest

 exclude_file_name_regexp--sc_space_tab = ^gl/lib/.*\.c\.diff$$
+
+# Tell gnulib's tight_scope rule that we mark externs with XTERN
+export _gl_TS_extern = extern|XTERN
diff --git a/gnulib b/gnulib
index 2c25c9e..483bd08 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 2c25c9ebe8db1415bfde25f0a451767332c8cf59
+Subproject commit 483bd08221cccf613ae5bb5738076113150579b0
--
1.7.5.2.1.g56b30



reply via email to

[Prev in Thread] Current Thread [Next in Thread]