diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-01-27 20:26:43 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-01-27 20:26:43 +0000 |
commit | f7f496240926ea673d282e82e6c99abfe03c8517 (patch) | |
tree | a95d556884337a05bf7be282d1c261423b40d071 /app-misc/mc/files | |
parent | Remove dependency on sys-fs/sysfsutils. Bug #377681 (diff) | |
download | gentoo-2-f7f496240926ea673d282e82e6c99abfe03c8517.tar.gz gentoo-2-f7f496240926ea673d282e82e6c99abfe03c8517.tar.bz2 gentoo-2-f7f496240926ea673d282e82e6c99abfe03c8517.zip |
Upstream fix for build failure on MacOSX and various xBSDs (bug #395135 by Denis I. Polukarov). Removed old.
(Portage version: 2.2.0_alpha84_p18/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/mc/files')
-rw-r--r-- | app-misc/mc/files/mc-4.8.1-fix-fallocate-xBSD.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-misc/mc/files/mc-4.8.1-fix-fallocate-xBSD.patch b/app-misc/mc/files/mc-4.8.1-fix-fallocate-xBSD.patch new file mode 100644 index 000000000000..85ce611945b3 --- /dev/null +++ b/app-misc/mc/files/mc-4.8.1-fix-fallocate-xBSD.patch @@ -0,0 +1,28 @@ +From a6ca3c289994a3a9ab8f481582e2632109b759f0 Mon Sep 17 00:00:00 2001 +From: Egmont Koblinger <egmont@gmail.com> +Date: Thu, 19 Jan 2012 14:11:10 +0400 +Subject: [PATCH] Ticket #2689 (fix fallocate detection for xBSD) + + fixed macros 'mc-get-fs-info.m4' for correct 'fallocate' detection under xBSD + +Signed-off-by: Ilia Maslakov <il.smind@gmail.com> +--- + m4.include/mc-get-fs-info.m4 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/m4.include/mc-get-fs-info.m4 b/m4.include/mc-get-fs-info.m4 +index bc0ca54..b1474d8 100644 +--- a/m4.include/mc-get-fs-info.m4 ++++ b/m4.include/mc-get-fs-info.m4 +@@ -5,7 +5,7 @@ dnl + + AC_DEFUN([gl_POSIX_FALLOCATE], [ + dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. +- AC_TRY_COMPILE([ ++ AC_TRY_LINK([ + #define _XOPEN_SOURCE 600 + #include <stdlib.h> + #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7) +-- +1.7.8.3 + |