diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/vilistextum/files/vilistextum-2.6.9-darwin11.patch |
reinit the tree, so we can have metadata
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) + { |