Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37636593
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-numpy

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: numpy-1.21.1-alt-use-system-fallocate-declaration.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin