freebsd-ports/sysutils/bareos-server/files/patch-core-src-include_baconfig.h
Jose Alonso Cardenas Marquez b08635660d - Fix pthread error [1]
- Fix build when python 2.x is not default version [2]
- Fix build when NLS option is not selected [3]
- Fix pkg-plist
- Few other modifications

PR:		237818 237823 237825
Submitted by:	Trond.Endrestol _ at _ ximalas.info [1][3], beldin _ at _ beldin.org [2]
Reported by:	pkg-fallout
2019-05-10 20:19:42 +00:00

25 lines
584 B
C

--- core/src/include/baconfig.h 2019-05-10 14:32:06.160940000 -0500
+++ core/src/include/baconfig.h 2019-05-10 14:32:32.142847000 -0500
@@ -120,11 +120,11 @@
#define N_(s) (s)
#endif /* N_ */
#else /* !ENABLE_NLS */
+ #include <locale.h>
#undef _
#undef N_
#undef textdomain
#undef bindtextdomain
- #undef setlocale
#ifndef _
#define _(s) (s)
@@ -137,9 +137,6 @@
#endif
#ifndef bindtextdomain
#define bindtextdomain(p, d)
- #endif
- #ifndef setlocale
- #define setlocale(p, d)
#endif
#endif /* ENABLE_NLS */