Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37704517
en ru br
ALT Linux repositórios
S:2.5.6-alt1
5.0: 1.0.5-alt1
4.1: 1.0.4-alt1
4.0: 1.0.4-alt1
3.0: 0.6.10-alt1

Group :: Sistema/Bibliotecas
RPM: libassuan

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0001-Fix-LFS-on-32-bit-systems.patch
Download


From bd9cbf75187dd62ee5abaa335bcdbe4eed43a80a Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Mon, 28 Dec 2020 03:10:18 +0300
Subject: Fix LFS on 32-bit systems
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 configure.ac   | 1 +
 src/gpgcedev.c | 3 +++
 src/gpgcemgr.c | 4 ++++
 src/mkheader.c | 3 +++
 4 files changed, 11 insertions(+)
diff --git a/configure.ac b/configure.ac
index e0c5ca4..4005a57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,6 +83,7 @@ AC_CANONICAL_HOST
 AM_SILENT_RULES
 AB_INIT
 
+AC_SYS_LARGEFILE
 AC_USE_SYSTEM_EXTENSIONS
 
 # Taken from mpfr-4.0.1, then modified for LDADD_FOR_TESTS_KLUDGE
diff --git a/src/gpgcedev.c b/src/gpgcedev.c
index c841ec2..9711e31 100644
--- a/src/gpgcedev.c
+++ b/src/gpgcedev.c
@@ -17,6 +17,9 @@
  * License along with this program; if not, see <http://www.gnu.org/licenses/>.
  * SPDX-License-Identifier: LGPL-3.0+
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
 #include <stdarg.h>
diff --git a/src/gpgcemgr.c b/src/gpgcemgr.c
index 5b4f56e..f2aae7a 100644
--- a/src/gpgcemgr.c
+++ b/src/gpgcemgr.c
@@ -18,6 +18,10 @@
  * SPDX-License-Identifier: LGPL-3.0+
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #define _WIN32_WCE 0x0500
 
 #include <stdio.h>
diff --git a/src/mkheader.c b/src/mkheader.c
index 0ee0944..aefd3ce 100644
--- a/src/mkheader.c
+++ b/src/mkheader.c
@@ -11,6 +11,9 @@
  * SPDX-License-Identifier: FSFULLR
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
-- 
2.25.4
 
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