Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37732726
en ru br
Репозитории ALT
S:1.10.2-alt1
5.1: 1.4.6-alt0.M51.1
4.1: 1.4.1-alt1
4.0: 1.2.4-alt1
3.0: 1.2.1-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libgcrypt

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

Патч: 0001-Fix-LFS-on-32-bit-systems.patch
Скачать


From d1bac75039ce86125e1c5c4a20e3a39eb4324a7e Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Tue, 29 Dec 2020 01:08:10 +0300
Subject: Fix LFS on 32-bit systems
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 configure.ac  | 2 ++
 src/hmac256.c | 1 +
 2 files changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 10ed8ce4..49510dc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,6 +82,8 @@ AC_CANONICAL_HOST
 AM_MAINTAINER_MODE
 AM_SILENT_RULES
 
+AC_SYS_LARGEFILE
+
 AC_ARG_VAR(SYSROOT,[locate config scripts also below that directory])
 
 AH_TOP([
diff --git a/src/hmac256.c b/src/hmac256.c
index 2d66079c..5722fce1 100644
--- a/src/hmac256.c
+++ b/src/hmac256.c
@@ -44,6 +44,7 @@
                            identically to the one used by Libcgrypt
                            for testing this included module.
  */
+#include <config.h>
 
 #ifdef STANDALONE
 #include <stdint.h>
-- 
2.25.4
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin