diff options
Diffstat (limited to 'multimedia/mythtv-frontend/files/patch-configure-toupper')
-rw-r--r-- | multimedia/mythtv-frontend/files/patch-configure-toupper | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/mythtv-frontend/files/patch-configure-toupper b/multimedia/mythtv-frontend/files/patch-configure-toupper new file mode 100644 index 000000000000..b58b9219b71a --- /dev/null +++ b/multimedia/mythtv-frontend/files/patch-configure-toupper @@ -0,0 +1,19 @@ +--- configure.orig 2008-11-10 22:44:26.000000000 +0100 ++++ configure 2008-11-10 22:45:16.000000000 +0100 +@@ -274,13 +274,13 @@ + exit 1 + } + +-# "tr '[a-z]' '[A-Z]'" is a workaround for Solaris tr not grokking "tr a-z A-Z" ++# Avoid locale weirdness, besides we really just want to translate ASCII. + toupper(){ +- echo "$@" | tr '[a-z]' '[A-Z]' ++ echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ + } + + tolower(){ +- echo "$@" | tr '[A-Z]' '[a-z]' ++ echo "$@" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz + } + + set_all(){ |