1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/community/wxwidgets/no-langinfo-h.patch
2023-02-09 23:25:29 +01:00

27 lines
1 KiB
Diff

requires langinfo.h support not present in musl, so use the embedded
localisation facilities instead
diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake
index 365c1f3..89a1610 100644
--- a/build/cmake/setup.cmake
+++ b/build/cmake/setup.cmake
@@ -604,7 +604,7 @@ if(NOT MSVC_VERSION LESS 1600)
check_include_file_cxx(type_traits HAVE_TYPE_TRAITS)
endif()
check_include_file(fcntl.h HAVE_FCNTL_H)
-check_include_file(langinfo.h HAVE_LANGINFO_H)
+#check_include_file(langinfo.h HAVE_LANGINFO_H)
check_include_file(sched.h HAVE_SCHED_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(wchar.h HAVE_WCHAR_H)
diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in
index e4c9e83..5b9cc86 100644
--- a/build/cmake/setup.h.in
+++ b/build/cmake/setup.h.in
@@ -1181,7 +1181,6 @@
#cmakedefine ICONV_CONST @ICONV_CONST@
/* Define if you have the <langinfo.h> header file. */
-#cmakedefine HAVE_LANGINFO_H 1
/* Define if you have the <sys/soundcard.h> header file. */
#cmakedefine HAVE_SYS_SOUNDCARD_H 1