diff options
Diffstat (limited to 'sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch')
-rw-r--r-- | sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch b/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch new file mode 100644 index 000000000000..f34c412f247b --- /dev/null +++ b/sys-fs/lvm2/files/lvm2-2.02.73-locale-muck.patch @@ -0,0 +1,12 @@ +diff -Nuar LVM2.2.02.73.orig//make.tmpl.in LVM2.2.02.73//make.tmpl.in +--- LVM2.2.02.73.orig//make.tmpl.in 2010-08-16 17:49:26.000000000 +0000 ++++ LVM2.2.02.73//make.tmpl.in 2010-08-20 19:20:43.237413988 +0000 +@@ -362,7 +362,7 @@ + ( cat $(srcdir)/.exported_symbols; \ + if test x$(EXPORTED_HEADER) != x; then \ + $(CC) -E -P $(INCLUDES) $(DEFS) $(CFLAGS) $(EXPORTED_HEADER) | \ +- $(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ ++ LC_ALL=C $(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ + fi \ + ) > $@ + |