lvm2/lvm2-2_02_130-libdm-reinstate-dm_task_get_info-at-base-export.patch

38 lines
1.2 KiB
Diff

WHATS_NEW_DM | 4 ++++
make.tmpl.in | 7 ++++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 8dc5076..ba89a9d 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,3 +1,7 @@
+Version 1.02.107 -
+===================================
+ Reinstate dm_task_get_info@Base to libdevmapper exports. (1.02.106)
+
Version 1.02.106 - 26th August 2015
===================================
Add 'precise' column to statistics reports.
diff --git a/make.tmpl.in b/make.tmpl.in
index 2ce2faf..5ae4c42 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 \