summaryrefslogtreecommitdiff
path: root/repo/thunderbird/avoid-redefinition.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-01 18:23:59 +0100
committerdavidovski <david@davidovski.xyz>2022-06-01 18:23:59 +0100
commitfccdaa986f67f820df2914bef851d5fed77abac8 (patch)
tree6bc6503af26cbc32f5db1558c129f7303282172e /repo/thunderbird/avoid-redefinition.patch
parentfa2c7177695d2072d541057a9610e55b51ff4db1 (diff)
added thunderbird and qt5
Diffstat (limited to 'repo/thunderbird/avoid-redefinition.patch')
-rw-r--r--repo/thunderbird/avoid-redefinition.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/thunderbird/avoid-redefinition.patch b/repo/thunderbird/avoid-redefinition.patch
new file mode 100644
index 0000000..af11c50
--- /dev/null
+++ b/repo/thunderbird/avoid-redefinition.patch
@@ -0,0 +1,15 @@
+Author: Rasmus Thomsen <oss@cogitri.dev>
+Reason: FF is mixing userspace net headers (net/if.h) and kernelspace ones
+(linux/if.h), leading to redefinitions. We need to include net/if.h before
+linux/if.h because linux/if.h has redifinition guards whereas net/if.h doesnt
+Upstream: No
+--- a/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c.orig 2020-07-28 19:24:32.359751046 +0200
++++ b/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c 2020-07-28 19:24:37.856343751 +0200
+@@ -31,6 +31,7 @@
+ */
+
+ #if defined(LINUX)
++#include <net/if.h>
+ #include "addrs-netlink.h"
+ #include <csi_platform.h>
+ #include <assert.h>