Skip to content

Commit e5c4528

Browse files
authored
Merge pull request xbmc#27528 from sundermann/heimdal-autoconf-bump
[depends][native] Heimdal and autoconf bump
2 parents dba0acc + 8a8b3b3 commit e5c4528

File tree

7 files changed

+45
-38
lines changed

7 files changed

+45
-38
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
LIBNAME=autoconf
2+
VERSION=2.72
3+
SOURCE=$(LIBNAME)-$(VERSION)
4+
ARCHIVE=$(SOURCE).tar.xz
5+
SHA512=c4e9fbd858666d3e5c3b4fe7f89aa3e8e3a0a00dc7e166f8147d937d911b77ba3ac6a016f9d223ccdd830bc8960b3e60397c0607cc6a1fd2c50c7492839ddd17
6+
7+
BASE_URL=https://ftp.gnu.org/gnu/$(LIBNAME)

tools/depends/native/autoconf/Makefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
include ../../Makefile.include
1+
include ../../Makefile.include AUTOCONF-VERSION ../../download-files.include
22
PREFIX=$(NATIVEPREFIX)
33
PLATFORM=$(NATIVEPLATFORM)
4-
DEPS = ../../Makefile.include Makefile ../../download-files.include
5-
6-
# lib name, version
7-
LIBNAME=autoconf
8-
VERSION=2.71
9-
SOURCE=$(LIBNAME)-$(VERSION)
10-
ARCHIVE=$(SOURCE).tar.xz
11-
SHA512=73d32b4adcbe24e3bafa9f43f59ed3b6efbd3de0f194e5ec90375f35da1199c583f5d3e89139b7edbad35171403709270e339ffa56a2ecb9b3123e9285021ff0
12-
include ../../download-files.include
4+
DEPS = ../../Makefile.include Makefile AUTOCONF-VERSION ../../download-files.include
135

146
# configuration settings
157
CONFIGURE=./configure --prefix=$(PREFIX)

tools/depends/native/heimdal/02-autoconf-2.70-configure.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
From 1b57b62d82a478c1fade350f0fb1d57031a8734e Mon Sep 17 00:00:00 2001
2+
From: Bernd Kuhls <[email protected]>
3+
Date: Sat, 10 Feb 2024 09:33:48 +0100
4+
Subject: [PATCH] cf/largefile.m4: Fix build with autoconf-2.72
5+
6+
Fixes https://github.com/heimdal/heimdal/issues/1201
7+
---
8+
cf/largefile.m4 | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/cf/largefile.m4 b/cf/largefile.m4
12+
index 5c54897be4..cdbbc55431 100644
13+
--- a/cf/largefile.m4
14+
+++ b/cf/largefile.m4
15+
@@ -10,7 +10,7 @@ dnl with generated code, such as lex
16+
if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
17+
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
18+
fi
19+
-if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no; then
20+
+if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no && test -n "$ac_cv_sys_file_offset_bits"; then
21+
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
22+
fi
23+
])
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LIBNAME=heimdal
2+
VERSION=7.8.0
3+
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
4+
SHA512=0167345aca77d65b7a1113874eee5b65ec6e1fec1f196d57e571265409fa35ef95a673a4fd4aafbb0ab5fb5b246b97412353a68d6613a8aff6393a9f1e72999e
5+
6+
FULL_URL=https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz

tools/depends/native/heimdal/Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
include ../../Makefile.include
1+
include ../../Makefile.include HEIMDAL-VERSION ../../download-files.include
22
PREFIX=$(NATIVEPREFIX)
33
PLATFORM=$(NATIVEPLATFORM)
4-
DEPS = ../../Makefile.include Makefile 01-disable-libedit.patch 02-autoconf-2.70-configure.patch ../../download-files.include
5-
6-
# lib name, version
7-
LIBNAME=heimdal
8-
VERSION=7.7.0
9-
SOURCE=$(LIBNAME)-$(VERSION)
10-
ARCHIVE=$(SOURCE).tar.gz
11-
SHA512=6660939b5a36ce36310721a08a089fb671d1e3d2e8ac74ea4775bfa5f8f772d32de805551456200fe96cc486c092c44beb84f5dd877008bc305490ee971bbf99
12-
include ../../download-files.include
4+
DEPS = ../../Makefile.include Makefile HEIMDAL-VERSION ../../download-files.include \
5+
01-disable-libedit.patch \
6+
02-fix-build-with-autoconf-2.72.patch
137

148
APP=$(PLATFORM)/lib/asn1/asn1_compile
159

@@ -20,7 +14,7 @@ $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE)
2014
rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
2115
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
2216
cd $(PLATFORM); patch -p1 -i ../01-disable-libedit.patch
23-
cd $(PLATFORM); patch -p1 -i ../02-autoconf-2.70-configure.patch
17+
cd $(PLATFORM); patch -p1 -i ../02-fix-build-with-autoconf-2.72.patch
2418
cd $(PLATFORM); $(AUTORECONF) -vif
2519
cd $(PLATFORM); ./configure --prefix=$(PREFIX) --disable-shared
2620

tools/depends/pre-depends/autoconf-pre-depends/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
include ../../Makefile.include.in
1+
include ../../Makefile.include.in ../../native/autoconf/AUTOCONF-VERSION
22
PREFIX=$(CURDIR)/../../pre-build-deps
33
PLATFORM=native
44
TARBALLS_LOCATION=$(PREFIX)
55
RETRIEVE_TOOL=curl
66
ARCHIVE_TOOL=tar
7-
# lib name, version
8-
LIBNAME=autoconf
9-
VERSION=2.71
10-
SOURCE=$(LIBNAME)-$(VERSION)
11-
ARCHIVE=$(SOURCE).tar.xz
7+
DEPS = ../../Makefile.include.in Makefile ../../native/autoconf/AUTOCONF-VERSION
128

139
export PATH:=$(CURDIR)/../../pre-build-deps/bin:$(PATH)
1410

0 commit comments

Comments
 (0)