summaryrefslogtreecommitdiff
path: root/comms/asterisk19/patches/patch-tests_test__locale.c
blob: 9a0e9ea0f9fe72e054f83711d6162b830c277254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-tests_test__locale.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $

--- tests/test_locale.c.orig	2015-10-09 21:48:48.000000000 +0000
+++ tests/test_locale.c
@@ -81,7 +81,7 @@ static char *handle_cli_test_locales(str
 
 	/* First we run a set of tests with the global locale, which isn't thread-safe. */
 	if (!(localedir = opendir(
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__DragonFly__)
 		"/usr/share/locale"
 #else /* Linux */
 		"/usr/lib/locale"