diff options
Diffstat (limited to 'net-p2p/amule/files/amule-2.2.6-fallocate.diff')
-rw-r--r-- | net-p2p/amule/files/amule-2.2.6-fallocate.diff | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/net-p2p/amule/files/amule-2.2.6-fallocate.diff b/net-p2p/amule/files/amule-2.2.6-fallocate.diff deleted file mode 100644 index 8d1485a67786..000000000000 --- a/net-p2p/amule/files/amule-2.2.6-fallocate.diff +++ /dev/null @@ -1,23 +0,0 @@ -Disable fallocate #562992 - -This is only a workaround to fix FTBFS, the configure check is wrong and needs to be fixed: -http://www.amule.org/abugs/view.php?id=1572 - ---- a/src/ThreadTasks.cpp -+++ b/src/ThreadTasks.cpp -@@ -506,6 +506,15 @@ void CCompletionTask::OnExit() - #include <stdlib.h> - #include <errno.h> - -+// #562992 -+#if defined(__alpha__) || defined(__hppa__) -+#undef HAVE_FALLOCATE -+#endif -+ -+#if defined(__hppa__) -+#undef HAVE_SYS_FALLOCATE -+#endif -+ - CAllocateFileTask::CAllocateFileTask(CPartFile *file, bool pause) - // GetPrintable is used to improve the readability of the log. - : CThreadTask(wxT("Allocating"), file->GetFullName().RemoveExt().GetPrintable(), ETP_High), |