From 2af70fad0e54dde993fde5d80b2fe2c5bfcec93b Mon Sep 17 00:00:00 2001 From: Tigro Date: Thu, 1 Sep 2016 15:52:43 +0300 Subject: [PATCH] fix loading plugins --- firefox.spec | 3 +++ mozilla-1282843.patch | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 mozilla-1282843.patch diff --git a/firefox.spec b/firefox.spec index 7605fa8..30e8263 100644 --- a/firefox.spec +++ b/firefox.spec @@ -52,6 +52,7 @@ Patch34: xulrunner_nojit.patch Patch35: firefox-37-build-with-time-independent-uuids.patch Patch36: firefox-38.0-enable-NTLMv1.patch Patch42: mozilla-42.0-libproxy.patch +Patch44: mozilla-1282843.patch # Fedora specific patches # Unable to install addons from https pages @@ -178,6 +179,7 @@ Files and macros mainly for building Firefox extensions. %patch35 -p1 %patch36 -p1 #patch42 -p1 +%patch44 -p1 # Fedora patches %patch204 -p2 -b .966424 @@ -206,6 +208,7 @@ ac_add_options --host=%{_host} ac_add_options --target=%{_target_platform} ac_add_options --enable-optimize ac_add_options --prefix="%{_prefix}" +ac_add_options --libdir="%{_libdir}" ac_add_options --with-system-nspr ac_add_options --with-system-nss ac_add_options --with-system-zlib diff --git a/mozilla-1282843.patch b/mozilla-1282843.patch new file mode 100644 index 0000000..d30642c --- /dev/null +++ b/mozilla-1282843.patch @@ -0,0 +1,24 @@ +Add ability to specify system paths to @old_configure_options + +--- a/build/moz.configure/old.configure 2016-07-04 12:03:37.503301144 -0400 ++++ b/build/moz.configure/old.configure 2016-07-04 12:04:33.443147224 -0400 +@@ -149,16 +149,19 @@ + def all_options(help): + return list(options) + + return depends(prepare_configure, extra_old_configure_args, all_options, + *options) + + + @old_configure_options( ++ '--libdir', ++ '--includedir', ++ '--datadir', + '--cache-file', + '--enable-accessibility', + '--enable-address-sanitizer', + '--enable-alsa', + '--enable-android-omx', + '--enable-android-resource-constrained', + '--enable-approximate-location', + '--enable-b2g-bt',