diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch')
-rw-r--r-- | app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch b/app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch new file mode 100644 index 000000000000..bda9f5d39c3e --- /dev/null +++ b/app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch @@ -0,0 +1,23 @@ +OSX Lion has wcscasecmp, but is not GNU + +--- configure.in ++++ configure.in +@@ -67,6 +67,7 @@ + dnl Checks for library functions. + AC_CHECK_FUNCS(strstr) + AC_CHECK_FUNCS(strcasecmp) ++AC_CHECK_FUNCS(wcscasecmp) + + dnl create testsuite + dnl AC_CONFIG_TESTDIR([tests]) +--- src/html.c ++++ src/html.c +@@ -40,7 +40,7 @@ + link_inline[DEF_STR_LEN]; /* Link of a HTML-Tag */ + + /* ------------------------------------------------ */ +-#if defined(MULTIBYTE) && ! defined(__GNU_LIBRARY__) ++#if defined(MULTIBYTE) && ! defined(HAVE_WCSCASECMP) + #include <wchar.h> + static int wcscasecmp(const wchar_t *s1, const wchar_t *s2) + { |