diff options
author | Björn Bidar | 2020-09-25 22:12:13 +0300 |
---|---|---|
committer | Björn Bidar | 2020-09-26 13:12:41 +0300 |
commit | 2688c941143d0af96cb8cb3bab99429a663e48b9 (patch) | |
tree | 25562ff8d989231f7b34fdd7ca1ce6e661ef9b2e /unity-menubar.patch | |
parent | d7243ec77fafbfcb532f8208b7645d8f148b5364 (diff) | |
download | aur-2688c941143d0af96cb8cb3bab99429a663e48b9.tar.gz |
Upkg
- New upstream release
- Update unity-menubar patch from Ubuntu
- Drop patch to fix MOZILLA#1661096 as its commited upstream
- Add patch to revert MOZILLA#1644409 to fix builds with GCC
- Add patches to fix MOZILLA#1660901 to support fstat-like subset of fstatat
in sandbox and thous prevent spam with recent glib versions.
- Rebase patch reenable system sqlite support
- Rebase system av1 support
- Force mach build system to use system python
Diffstat (limited to 'unity-menubar.patch')
-rw-r--r-- | unity-menubar.patch | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/unity-menubar.patch b/unity-menubar.patch index da9d94036ce3..eb51ab374e51 100644 --- a/unity-menubar.patch +++ b/unity-menubar.patch @@ -319,7 +319,7 @@ +#endif /* __nsDbusmenu_h__ */ --- /dev/null +++ b/widget/gtk/nsMenu.cpp -@@ -0,0 +1,796 @@ +@@ -0,0 +1,795 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* vim:expandtab:shiftwidth=4:tabstop=4: + */ @@ -334,7 +334,6 @@ +#include "mozilla/Assertions.h" +#include "mozilla/ComputedStyleInlines.h" +#include "mozilla/EventDispatcher.h" -+#include "mozilla/GuardObjects.h" +#include "mozilla/MouseEvents.h" +#include "mozilla/PresShell.h" +#include "mozilla/PresShellInlines.h" @@ -3971,7 +3970,7 @@ +#endif /* __nsMenuSeparator_h__ */ --- /dev/null +++ b/widget/gtk/nsNativeMenuDocListener.cpp -@@ -0,0 +1,350 @@ +@@ -0,0 +1,348 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* vim:expandtab:shiftwidth=4:tabstop=4: + */ @@ -4006,10 +4005,9 @@ +public: + DispatchHelper(nsNativeMenuDocListener *aListener, + nsIContent *aContent -+ MOZ_GUARD_OBJECT_NOTIFIER_PARAM) : ++ ) : + mObserver(nullptr) + { -+ MOZ_GUARD_OBJECT_NOTIFIER_INIT; + if (aContent == aListener->mLastSource) { + mObserver = aListener->mLastTarget; + } else { @@ -4029,7 +4027,6 @@ + +private: + nsNativeMenuChangeObserver *mObserver; -+ MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER +}; + +NS_IMPL_ISUPPORTS(nsNativeMenuDocListener, nsIMutationObserver) @@ -4324,7 +4321,7 @@ +} --- /dev/null +++ b/widget/gtk/nsNativeMenuDocListener.h -@@ -0,0 +1,157 @@ +@@ -0,0 +1,154 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* vim:expandtab:shiftwidth=4:tabstop=4: + */ @@ -4336,7 +4333,6 @@ +#define __nsNativeMenuDocListener_h__ + +#include "mozilla/Attributes.h" -+#include "mozilla/GuardObjects.h" +#include "mozilla/RefPtr.h" +#include "mozilla/UniquePtr.h" +#include "nsDataHashtable.h" @@ -4391,9 +4387,8 @@ + class MOZ_STACK_CLASS BlockUpdatesScope + { + public: -+ BlockUpdatesScope(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) ++ BlockUpdatesScope() + { -+ MOZ_GUARD_OBJECT_NOTIFIER_INIT; + nsNativeMenuDocListener::AddUpdateBlocker(); + } + @@ -4403,7 +4398,6 @@ + } + + private: -+ MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER + }; + +private: |