summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2007-03-12 11:57:16 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2007-03-12 11:57:16 +0000
commitbfc8a67a5d6d7ad1425746c63acf3d54420cb6e6 (patch)
treee1322fd95f63c40ab2876f029194d2365970bd26 /app-misc/mc/files
parentPC died just before sending Manifest. (diff)
downloadgentoo-2-bfc8a67a5d6d7ad1425746c63acf3d54420cb6e6.tar.gz
gentoo-2-bfc8a67a5d6d7ad1425746c63acf3d54420cb6e6.tar.bz2
gentoo-2-bfc8a67a5d6d7ad1425746c63acf3d54420cb6e6.zip
Fix for bug 169678.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-misc/mc/files')
-rw-r--r--app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch b/app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch
new file mode 100644
index 000000000000..53aedd0d4a99
--- /dev/null
+++ b/app-misc/mc/files/mc-4.6.1-charset-locale-aliases.patch
@@ -0,0 +1,40 @@
+diff -ruN mc-4.6.1.orig/intl/Makefile.in mc-4.6.1/intl/Makefile.in
+--- mc-4.6.1.orig/intl/Makefile.in 2007-03-06 22:31:02.000000000 +0300
++++ mc-4.6.1/intl/Makefile.in 2007-03-06 22:38:52.000000000 +0300
+@@ -156,12 +156,7 @@
+ test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
+ temp=$(DESTDIR)$(libdir)/t-charset.alias; \
+ dest=$(DESTDIR)$(libdir)/charset.alias; \
+- if test -f $(DESTDIR)$(libdir)/charset.alias; then \
+- orig=$(DESTDIR)$(libdir)/charset.alias; \
+- sed -f ref-add.sed $$orig > $$temp; \
+- $(INSTALL_DATA) $$temp $$dest; \
+- rm -f $$temp; \
+- else \
++ if ! test -f $(libdir)/charset.alias; then \
+ if test @GLIBC21@ = no; then \
+ orig=charset.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+@@ -170,14 +165,14 @@
+ fi; \
+ fi; \
+ $(mkinstalldirs) $(DESTDIR)$(localedir); \
+- test -f $(DESTDIR)$(localedir)/locale.alias \
+- && orig=$(DESTDIR)$(localedir)/locale.alias \
+- || orig=$(srcdir)/locale.alias; \
+- temp=$(DESTDIR)$(localedir)/t-locale.alias; \
+- dest=$(DESTDIR)$(localedir)/locale.alias; \
+- sed -f ref-add.sed $$orig > $$temp; \
+- $(INSTALL_DATA) $$temp $$dest; \
+- rm -f $$temp; \
++ if ! test -f $(localedir)/locale.alias; then \
++ orig=$(srcdir)/locale.alias; \
++ temp=$(DESTDIR)$(localedir)/t-locale.alias; \
++ dest=$(DESTDIR)$(localedir)/locale.alias; \
++ sed -f ref-add.sed $$orig > $$temp; \
++ $(INSTALL_DATA) $$temp $$dest; \
++ rm -f $$temp; \
++ fi; \
+ else \
+ : ; \
+ fi