diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes
index fc32a1b..a018dec 100644
--- a/MozillaFirefox.changes
+++ b/MozillaFirefox.changes
@@ -1,18 +1,10 @@
-------------------------------------------------------------------
-Thu Aug 27 06:03:51 UTC 2015 - wr@rosenauer.org
+Sat Sep 19 20:23:29 UTC 2015 - wr@rosenauer.org
-- update to Firefox 40.0.3 (bnc#943550)
- * Disable the asynchronous plugin initialization (bmo#1198590)
- * Fix a segmentation fault in the GStreamer support (bmo#1145230)
- * Fix a regression with some Japanese fonts used in the
- field (bmo#1194055)
- * On some sites, the selection in a select combox box using the
- mouse could be broken (bmo#1194733)
- security fixes
- * MFSA 2015-94/CVE-2015-4497 (bmo#1164766, bmo#1175278)
- Use-after-free when resizing canvas element during restyling
- * MFSA 2015-95/CVE-2015-4498 (bmo#1042699)
- Add-on notification bypass through data URLs
+- update to Firefox 41.0 (bnc#)
+- rebased patches
+- removed obsolete patches
+ * mozilla-arm64-libjpeg-turbo.patch
-------------------------------------------------------------------
Fri Aug 7 07:49:49 UTC 2015 - wr@rosenauer.org
diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec
index 90a8745..e34cb9b 100644
--- a/MozillaFirefox.spec
+++ b/MozillaFirefox.spec
@@ -18,10 +18,10 @@
# changed with every update
-%define major 40
-%define mainver %major.0.3
+%define major 41
+%define mainver %major.0
%define update_channel release
-%define releasedate 2015082600
+%define releasedate 2015091800
# general build definitions
%if "%{update_channel}" != "aurora"
@@ -146,8 +146,7 @@ Patch11: mozilla-arm-disable-edsp.patch
Patch12: mozilla-openaes-decl.patch
Patch14: mozilla-skia-be-le.patch
Patch15: mozilla-bmo1005535.patch
-Patch16: mozilla-arm64-libjpeg-turbo.patch
-Patch17: mozilla-no-stdcxx-check.patch
+Patch16: mozilla-no-stdcxx-check.patch
# Firefox/browser
Patch101: firefox-kde.patch
Patch102: firefox-no-default-ualocale.patch
@@ -261,7 +260,6 @@ cd $RPM_BUILD_DIR/mozilla
%patch14 -p1
%patch15 -p1
%patch16 -p1
-%patch17 -p1
# Firefox
%patch101 -p1
%patch102 -p1
diff --git a/compare-locales.tar.xz b/compare-locales.tar.xz
index 276eb28..41cb69e 100644
--- a/compare-locales.tar.xz
+++ b/compare-locales.tar.xz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4212c9293d8e7e44579b557f631ca452d85cb28df4ea9e87c4dda3eaebeb64e2
-size 28424
+oid sha256:7bf01b5736a498d49a3c5a09b5791f47a1399fcfa42d2a64fc8f23e405e02e72
+size 28416
diff --git a/create-tar.sh b/create-tar.sh
index 4539091..bce134e 100644
--- a/create-tar.sh
+++ b/create-tar.sh
@@ -2,8 +2,8 @@
CHANNEL="release"
BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="FIREFOX_40_0_3_RELEASE"
-VERSION="40.0.3"
+RELEASE_TAG="FIREFOX_41_0_RELEASE"
+VERSION="41.0"
# mozilla
if [ -d mozilla ]; then
diff --git a/firefox-40.0.3-source.tar.xz b/firefox-40.0.3-source.tar.xz
deleted file mode 100644
index ed17237..0000000
--- a/firefox-40.0.3-source.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4be159f556c5c151e39fb4a8f9f346f453f57d8921d0eba03115798348496dc4
-size 152796164
diff --git a/firefox-41.0-source.tar.xz b/firefox-41.0-source.tar.xz
new file mode 100644
index 0000000..15e875b
--- /dev/null
+++ b/firefox-41.0-source.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4150c3ddb79bf4e97d7c7ff953376b8d0aa2bdc195d0d8dba0b65cfb7e22158f
+size 168011256
diff --git a/firefox-kde.patch b/firefox-kde.patch
index a3273b4..a7194a4 100644
--- a/firefox-kde.patch
+++ b/firefox-kde.patch
@@ -1,11 +1,11 @@
# HG changeset patch
-# Parent c6048238765dab77cd0c9a45e7afb1157316938b
+# Parent 8d1e0e3997402b94742eded6477abed4b559f373
diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
new file mode 100644
--- /dev/null
+++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1314 @@
+@@ -0,0 +1,1264 @@
+#filter substitution
+
+# -*- Mode: HTML -*-
@@ -17,6 +17,7 @@ new file mode 100644
+
+
+
++
+
+
+
@@ -159,7 +160,11 @@ new file mode 100644
+ work correctly on the menupopup. ContentSelectDropdown expects the
+ popuponly menulist to be its immediate parent. -->
+
-+
++
+
+
+
@@ -414,67 +419,6 @@ new file mode 100644
+
+
+
-+
-+
-+
+
+
+
@@ -557,6 +501,7 @@ new file mode 100644
+#include popup-notifications.inc
+
+#include ../../components/customizableui/content/panelUI.inc.xul
++#include ../../components/controlcenter/content/panel.inc.xul
+
+
+
@@ -791,6 +736,7 @@ new file mode 100644
+
+
+
++
+
+
+
@@ -883,6 +829,8 @@ new file mode 100644
+ ondrop="PlacesMenuDNDHandler.onDrop(event);"
+ cui-areatype="toolbar"
+ oncommand="BookmarkingUI.onCommand(event);">
++
++
+
@@ -1342,7 +1292,7 @@ diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul