summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox-debug.patch12
-rw-r--r--firefox.spec7
2 files changed, 18 insertions, 1 deletions
diff --git a/firefox-debug.patch b/firefox-debug.patch
new file mode 100644
index 0000000..b719d26
--- /dev/null
+++ b/firefox-debug.patch
@@ -0,0 +1,12 @@
+diff -up mozilla-release/browser/installer/package-manifest.in.old mozilla-release/browser/installer/package-manifest.in
+--- mozilla-release/browser/installer/package-manifest.in.old 2015-04-03 04:30:05.000000000 +0200
++++ mozilla-release/browser/installer/package-manifest.in 2015-04-07 13:17:44.180343700 +0200
+@@ -608,7 +608,7 @@
+ @RESPATH@/components/MozKeyboard.js
+ @RESPATH@/components/InputMethod.manifest
+
+-#ifdef MOZ_DEBUG
++#ifdef ENABLE_TESTS
+ @RESPATH@/components/TestInterfaceJS.js
+ @RESPATH@/components/TestInterfaceJS.manifest
+ #endif
diff --git a/firefox.spec b/firefox.spec
index 4bd9edb..0adfb38 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -107,7 +107,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 37.0.1
-Release: 1%{?pre_tag}%{?dist}
+Release: 2%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -134,6 +134,7 @@ Patch19: xulrunner-24.0-s390-inlines.patch
Patch20: firefox-build-prbool.patch
Patch21: firefox-ppc64le.patch
Patch23: mozilla-1005535.patch
+Patch24: firefox-debug.patch
# Fedora specific patches
# Unable to install addons from https pages
@@ -284,6 +285,7 @@ cd %{tarballdir}
%patch20 -p1 -b .prbool
%patch21 -p2 -b .ppc64le
%patch23 -p1 -b .1005535
+%patch24 -p1 -b .debug
%patch3 -p2 -b .arm
@@ -803,6 +805,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Tue Apr 7 2015 Martin Stransky <stransky@redhat.com> - 37.0.1-2
+- Fixed debug builds
+
* Tue Apr 7 2015 Martin Stransky <stransky@redhat.com> - 37.0.1-1
- Update to 37.0.1
bgstack15