tags 327718 + patch
thanks

I found this patch from ubuntu to fix this issue.  I'm preparing an
NMU to use it.  This is the changelog entry from Ubuntu:

  * Added patch to prevent installation of /usr/share/locale/locale.alias.

#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_no_locale_alias.dpatch by Moritz Breit <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Prevent installation of /usr/share/locale/locale.alias

@DPATCH@
diff -urNad --exclude=CVS --exclude=.svn ./intl/Makefile.in 
/tmp/dpep-work.jyYPGd/pingus-0.6.0/intl/Makefile.in
--- ./intl/Makefile.in  2003-04-10 23:34:16.000000000 +0200
+++ /tmp/dpep-work.jyYPGd/pingus-0.6.0/intl/Makefile.in 2005-08-07 
22:29:28.000000000 +0200
@@ -72,7 +72,7 @@
 plural.$lo plural-exp.$lo localcharset.$lo localename.$lo osdep.$lo
 GETTOBJS = intl-compat.$lo
 DISTFILES.common = Makefile.in \
-config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
+config.charset ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
 DISTFILES.generated = plural.c
 DISTFILES.normal = VERSION
 DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc
@@ -169,15 +169,6 @@
              rm -f $$temp; \
            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; \
        else \
          : ; \
        fi
@@ -251,17 +242,6 @@
            fi; \
            rm -f $$temp; \
          fi; \
-         if test -f $(DESTDIR)$(localedir)/locale.alias; then \
-           temp=$(DESTDIR)$(localedir)/t-locale.alias; \
-           dest=$(DESTDIR)$(localedir)/locale.alias; \
-           sed -f ref-del.sed $$dest > $$temp; \
-           if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
-             rm -f $$dest; \
-           else \
-             $(INSTALL_DATA) $$temp $$dest; \
-           fi; \
-           rm -f $$temp; \
-         fi; \
        else \
          : ; \
        fi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to