From 4232dbde1dbd2e4a275a192c65fdb12a5e168bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nagy=20K=C3=A1roly=20G=C3=A1briel?= Date: Thu, 29 Oct 2015 16:37:53 +0100 Subject: [PATCH] findutils: finghting the war with charset.alias --- base/findutils/no_charset.alias.patch | 85 +++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 base/findutils/no_charset.alias.patch diff --git a/base/findutils/no_charset.alias.patch b/base/findutils/no_charset.alias.patch new file mode 100644 index 000000000..313b09d4b --- /dev/null +++ b/base/findutils/no_charset.alias.patch @@ -0,0 +1,85 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../findutils/no_charset.alias.patch +# Copyright (C) 2015 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./gnulib/lib/Makefile.in.orig 2009-05-16 17:28:13.000000000 +0200 ++++ ./gnulib/lib/Makefile.in 2015-10-28 14:18:11.787788072 +0100 +@@ -981,7 +981,7 @@ + check-am: all-am + check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +-all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS) all-local ++all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS) + installdirs: + install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +@@ -1041,7 +1041,7 @@ + + install-dvi: install-dvi-am + +-install-exec-am: install-exec-local ++install-exec-am: + + install-html: install-html-am + +@@ -1073,7 +1073,7 @@ + + ps-am: + +-uninstall-am: uninstall-local ++uninstall-am: + + .MAKE: install-am install-strip + +@@ -1227,37 +1227,9 @@ + # On systems with glibc-2.1 or newer, the file is redundant, therefore we + # avoid installing it. + +-all-local: charset.alias ref-add.sed ref-del.sed +-install-exec-local: all-local +- test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir) +- if test -f $(charset_alias); then \ +- sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ +- $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ +- rm -f $(charset_tmp) ; \ +- else \ +- if test $(GLIBC21) = no; then \ +- sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ +- $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ +- rm -f $(charset_tmp) ; \ +- fi ; \ +- fi +- +-uninstall-local: all-local +- if test -f $(charset_alias); then \ +- sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ +- if grep '^# Packages using this file: $$' $(charset_tmp) \ +- > /dev/null; then \ +- rm -f $(charset_alias); \ +- else \ +- $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ +- fi; \ +- rm -f $(charset_tmp); \ +- fi ++all-local: ++install-exec-local: + +-charset.alias: config.charset +- rm -f t-$@ $@ +- $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ +- mv t-$@ $@ + .sin.sed: + rm -f t-$@ $@ + sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@