summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-14 12:41:02 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-14 12:41:02 +0000
commit4082030e06b239d709b602cf172cf4fb784f3d92 (patch)
treeeecc096a91f75452b755459025b76685bc6f1306 /mail/thunderbird/patches
parent15ec21e7a0e185fa619eea75db0090a7be01b18b (diff)
downloadpkgsrc-4082030e06b239d709b602cf172cf4fb784f3d92.tar.gz
Add public wrappers for ios, ostream and unwind.h, otherwise linking may
fail due to hidden definitions of system functions.
Diffstat (limited to 'mail/thunderbird/patches')
-rw-r--r--mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ios8
-rw-r--r--mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ostream8
-rw-r--r--mail/thunderbird/patches/patch-mozilla_config_system__wrappers_unwind.h9
3 files changed, 25 insertions, 0 deletions
diff --git a/mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ios b/mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ios
new file mode 100644
index 00000000000..0f17351b177
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ios
@@ -0,0 +1,8 @@
+$NetBSD: patch-mozilla_config_stl__wrappers_ios,v 1.1 2013/05/14 12:41:02 joerg Exp $
+
+--- mozilla/config/stl_wrappers/ios.orig 2013-05-13 18:23:07.000000000 +0000
++++ mozilla/config/stl_wrappers/ios
+@@ -0,0 +1,3 @@
++#pragma GCC visibility push(default)
++#include_next <ios>
++#pragma GCC visibility pop
diff --git a/mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ostream b/mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ostream
new file mode 100644
index 00000000000..c169e0bb38e
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_config_stl__wrappers_ostream
@@ -0,0 +1,8 @@
+$NetBSD: patch-mozilla_config_stl__wrappers_ostream,v 1.1 2013/05/14 12:41:02 joerg Exp $
+
+--- mozilla/config/stl_wrappers/ostream.orig 2013-05-13 18:22:40.000000000 +0000
++++ mozilla/config/stl_wrappers/ostream
+@@ -0,0 +1,3 @@
++#pragma GCC visibility push(default)
++#include_next <ostream>
++#pragma GCC visibility pop
diff --git a/mail/thunderbird/patches/patch-mozilla_config_system__wrappers_unwind.h b/mail/thunderbird/patches/patch-mozilla_config_system__wrappers_unwind.h
new file mode 100644
index 00000000000..d13ed78267d
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_config_system__wrappers_unwind.h
@@ -0,0 +1,9 @@
+$NetBSD: patch-mozilla_config_system__wrappers_unwind.h,v 1.1 2013/05/14 12:41:02 joerg Exp $
+
+--- mozilla/config/system_wrappers/unwind.h.orig 2013-05-13 19:56:18.000000000 +0000
++++ mozilla/config/system_wrappers/unwind.h
+@@ -0,0 +1,4 @@
++#pragma GCC system_header
++#pragma GCC visibility push(default)
++#include_next <unwind.h>
++#pragma GCC visibility pop