Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37831410
en ru br
ALT Linux repositórios
S:1.25.2-alt1

Group :: Development/Python3
RPM: python3-module-numpy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: numpy-1.21.1-alt-use-system-fallocate-declaration.patch
Download


diff --git a/numpy/core/src/multiarray/convert.c b/numpy/core/src/multiarray/convert.c
index 29a2bb0e8..77aa72033 100644
--- a/numpy/core/src/multiarray/convert.c
+++ b/numpy/core/src/multiarray/convert.c
@@ -20,8 +20,8 @@
 
 #include "convert.h"
 
-int
-fallocate(int fd, int mode, off_t offset, off_t len);
+#define _GNU_SOURCE             /* See feature_test_macros(7) */
+#include <fcntl.h>
 
 /*
  * allocate nbytes of diskspace for file fp
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009