summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-21 19:33:52 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-21 19:35:40 -0400
commit93915c28a70bb0189e5e072a3bd119917b5aa0df (patch)
tree62f6f0a565b831f6fd570c4ad502988c3250b01c /sys-apps
parentsys-apps/findutils: make sys/sysmacros.h include more portable #577714 (diff)
downloadgentoo-93915c28a70bb0189e5e072a3bd119917b5aa0df.tar.gz
gentoo-93915c28a70bb0189e5e072a3bd119917b5aa0df.tar.bz2
gentoo-93915c28a70bb0189e5e072a3bd119917b5aa0df.zip
sys-apps/findutils: fix gnulib patch backport #576818
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/findutils/files/findutils-4.6.0-gnulib-mb.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-apps/findutils/files/findutils-4.6.0-gnulib-mb.patch b/sys-apps/findutils/files/findutils-4.6.0-gnulib-mb.patch
index bd695ffa0f6e..925d7cf4422b 100644
--- a/sys-apps/findutils/files/findutils-4.6.0-gnulib-mb.patch
+++ b/sys-apps/findutils/files/findutils-4.6.0-gnulib-mb.patch
@@ -18,16 +18,14 @@ otherwise we always get:
m4/mbrtowc.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4
-index deb9f06..be2e9d6 100644
--- a/configure
-+++ configure
++++ b/configure
@@ -569,7 +569,7 @@ changequote([,])dnl
int
main (void)
{
- return ! mbrtowc (&wc, "", 0, &mbs) == (size_t) -2;
-+ return ! mbrtowc (&wc, "", 0, &mbs) == (size_t) -2;
++ return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :