From cb57f4f89b908ad3d7149ce18204b71448c9d259 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Tue, 1 Sep 2015 16:26:02 +0100 Subject: [PATCH] libdm: Reinstate dm_task_get_info@Base. Move the version script local:* wildcard into a node of its own to avoid conflicting with in-source export macro definitions. --- WHATS_NEW_DM | 1 + make.tmpl.in | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 176759a00..ba89a9d90 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.107 - =================================== + Reinstate dm_task_get_info@Base to libdevmapper exports. (1.02.106) Version 1.02.106 - 26th August 2015 =================================== diff --git a/make.tmpl.in b/make.tmpl.in index 96889b4f4..6fc11958d 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -502,12 +502,13 @@ else set -e;\ R=$$(sort $^ | uniq -u);\ test -z "$$R" || { echo "Mismatch between symbols in shared library and lists in .exported_symbols.* files: $$R"; false; } ;\ - for i in $$(echo $(EXPORTED_SYMBOLS) | tr ' ' '\n' | sort -rnt_ -k5 ); do\ + ( for i in $$(echo $(EXPORTED_SYMBOLS) | tr ' ' '\n' | sort -rnt_ -k5 ); do\ echo "$${i##*.} {"; echo " global:";\ $(SED) "s/^/ /;s/$$/;/" $$i;\ - test "$${i##*.}" = Base && { echo " local:"; echo " *;"; };\ echo "};";\ - done > $@ + done;\ + echo "Local {"; echo " local:"; echo " *;"; echo "};";\ + ) > $@ endif ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov \