summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c b/mail/thunderbird45/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c
new file mode 100644
index 00000000000..f45f04cca2a
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c,v 1.1 2017/04/27 13:38:19 ryoon Exp $
+
+--- mozilla/media/mtransport/third_party/nICEr/src/util/mbslen.c.orig 2016-04-07 21:33:22.000000000 +0000
++++ mozilla/media/mtransport/third_party/nICEr/src/util/mbslen.c
+@@ -47,6 +47,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ #define HAVE_XLOCALE
+ #endif
+
++#ifdef __DragonFly__
++#include <osreldate.h>
++# if __DragonFly_version > 300502
++# define HAVE_XLOCALE
++# endif
++#endif
++
+ #ifdef HAVE_XLOCALE
+ #include <xlocale.h>
+ #endif /* HAVE_XLOCALE */