wow
This commit is contained in:
parent
7d47819b9c
commit
ef437d5b15
18 changed files with 222 additions and 86 deletions
33
overlays/breakpad-module-factory.patch
Normal file
33
overlays/breakpad-module-factory.patch
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
diff --git a/src/processor/basic_source_line_resolver.cc b/src/processor/basic_source_line_resolver.cc
|
||||
--- a/src/processor/basic_source_line_resolver.cc
|
||||
+++ b/src/processor/basic_source_line_resolver.cc
|
||||
@@ -109,0 +110,5 @@
|
||||
+BasicSourceLineResolver::Module* BasicModuleFactory::CreateModule(
|
||||
+ const string& name) const {
|
||||
+ return new BasicSourceLineResolver::Module(name);
|
||||
+}
|
||||
+
|
||||
diff --git a/src/processor/fast_source_line_resolver.cc b/src/processor/fast_source_line_resolver.cc
|
||||
--- a/src/processor/fast_source_line_resolver.cc
|
||||
+++ b/src/processor/fast_source_line_resolver.cc
|
||||
@@ -62,0 +63,5 @@
|
||||
+FastSourceLineResolver::Module* FastModuleFactory::CreateModule(
|
||||
+ const string& name) const {
|
||||
+ return new FastSourceLineResolver::Module(name);
|
||||
+}
|
||||
+
|
||||
diff --git a/src/processor/module_factory.h b/src/processor/module_factory.h
|
||||
--- a/src/processor/module_factory.h
|
||||
+++ b/src/processor/module_factory.h
|
||||
@@ -54,4 +54,2 @@
|
||||
virtual BasicSourceLineResolver::Module* CreateModule(
|
||||
- const string& name) const {
|
||||
- return new BasicSourceLineResolver::Module(name);
|
||||
- }
|
||||
+ const string& name) const;
|
||||
@@ -63,4 +61,2 @@
|
||||
virtual FastSourceLineResolver::Module* CreateModule(
|
||||
- const string& name) const {
|
||||
- return new FastSourceLineResolver::Module(name);
|
||||
- }
|
||||
+ const string& name) const;
|
||||
5
overlays/breakpad.nix
Normal file
5
overlays/breakpad.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
final: prev: {
|
||||
breakpad = prev.breakpad.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [ ./breakpad-module-factory.patch ];
|
||||
});
|
||||
}
|
||||
14
overlays/obs-move-transition.nix
Normal file
14
overlays/obs-move-transition.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
final: prev:
|
||||
let
|
||||
oldPackage = prev.obs-studio-plugins.obs-move-transition;
|
||||
oldEnv = oldPackage.env or { };
|
||||
in
|
||||
{
|
||||
obs-studio-plugins = prev.obs-studio-plugins // {
|
||||
obs-move-transition = oldPackage.overrideAttrs (_: {
|
||||
env = oldEnv // {
|
||||
NIX_CFLAGS_COMPILE = (oldEnv.NIX_CFLAGS_COMPILE or "") + " -Wno-error=deprecated-declarations";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue