diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
commit | 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch) | |
tree | 22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /www/firefox35/files/patch-browser_app_mozilla.in | |
parent | Now buildable on 4.x, still broken on >= 5.x. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'www/firefox35/files/patch-browser_app_mozilla.in')
-rw-r--r-- | www/firefox35/files/patch-browser_app_mozilla.in | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/www/firefox35/files/patch-browser_app_mozilla.in b/www/firefox35/files/patch-browser_app_mozilla.in deleted file mode 100644 index 9ad04f41976b..000000000000 --- a/www/firefox35/files/patch-browser_app_mozilla.in +++ /dev/null @@ -1,56 +0,0 @@ ---- browser/app/mozilla.in.orig Tue Oct 26 05:26:11 2004 -+++ browser/app/mozilla.in Mon Dec 27 19:15:52 2004 -@@ -110,6 +110,7 @@ - # Check default compile-time libdir - if [ -x "$moz_libdir/run-mozilla.sh" ]; then - dist_bin="$moz_libdir" -+ run_moz="$dist_bin/run-mozilla.sh" - else - echo "Cannot find mozilla runtime directory. Exiting." - exit 1 -@@ -160,11 +161,11 @@ - _optLast="${i}" - done #last arg - --if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then -+if [ `expr X"${_optLast}" : 'X.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then - # Last argument seems to be a local file/directory - # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file) - # If it is just "relatively" (./file) specified, make it absolutely -- [ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}" -+ [ `expr -- "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}" - fi - ################################################################ Parse Arguments - -@@ -207,12 +208,31 @@ - script_args="$script_args -d $2" - shift 2 - ;; -+ -UILocale) -+ moreargs="$moreargs -UILocale $2" -+ _done_locale="YES" -+ shift 2 -+ ;; -+ -UIRegion) -+ if [ -n "${_done_locale}" ]; then -+ moreargs="$moreargs -UIRegion $2" -+ fi -+ shift 2 -+ ;; - *) - moreargs="$moreargs \"$1\"" - shift 1 - ;; - esac - done -+ -+if [ ! -n "${_done_locale}" -a -n "${MOZILLA_UILOCALE}" ]; then -+ if [ -n "${MOZILLA_UIREGION}" ]; then -+ moreargs="-UIRegion ${MOZILLA_UIREGION} $moreargs" -+ fi -+ moreargs="-UILocale ${MOZILLA_UILOCALE} $moreargs" -+fi -+unset _done_locale - - export MRE_HOME - eval "set -- $moreargs" |