summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/com_err/files/com_err-1.37-sed-locale.patch')
-rw-r--r--sys-libs/com_err/files/com_err-1.37-sed-locale.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/sys-libs/com_err/files/com_err-1.37-sed-locale.patch b/sys-libs/com_err/files/com_err-1.37-sed-locale.patch
new file mode 100644
index 000000000000..1ba295d6aac3
--- /dev/null
+++ b/sys-libs/com_err/files/com_err-1.37-sed-locale.patch
@@ -0,0 +1,51 @@
+diff -ur e2fsprogs-1.36.orig/config/config.rpath e2fsprogs-1.36/config/config.rpath
+--- e2fsprogs-1.36.orig/config/config.rpath 2005-02-06 18:02:17.000000000 -0500
++++ e2fsprogs-1.36/config/config.rpath 2005-02-06 18:04:13.000000000 -0500
+@@ -478,7 +478,7 @@
+ escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+ escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+
+-sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
++sed -e 's/^\([[:alnum:]_]*\)=/acl_cv_\1=/' <<EOF
+
+ # How to pass a linker flag through the compiler.
+ wl="$escaped_wl"
+diff -ur e2fsprogs-1.36.orig/configure e2fsprogs-1.36/configure
+--- e2fsprogs-1.36.orig/configure 2005-02-06 18:02:17.000000000 -0500
++++ e2fsprogs-1.36/configure 2005-02-06 18:04:07.000000000 -0500
+@@ -1256,7 +1256,7 @@
+ # value.
+ ac_cache_corrupted=false
+ for ac_var in `(set) 2>&1 |
+- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
++ sed -n 's/^ac_env_\([[:alnum:]_]*\)_set=.*/\1/p'`; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val="\$ac_cv_env_${ac_var}_value"
+@@ -7487,7 +7487,7 @@
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+- [\\/]* | [A-Za-z]:[\\/]*)
++ [\\/]* | [[:alpha:]]:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the path of ld
+ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+@@ -15068,7 +15068,7 @@
+ # is no need to browse any of the substitutions).
+ # These are the two extra sed commands mentioned above.
+ (echo ':t
+- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
++ /@[[:alpha:]_][[:alnum:]_]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
+ if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
+ else
+@@ -15258,7 +15258,7 @@
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ :t
+-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++/@[[:alpha:]_][[:alnum:]_]*@/!b
+ s,@configure_input@,$configure_input,;t t
+ s,@srcdir@,$ac_srcdir,;t t
+ s,@abs_srcdir@,$ac_abs_srcdir,;t t