Skip to content

Commit dbdd95d

Browse files
authored
Merge pull request #1902 from cfengine/update-dependencies-action-3.21.x-1757919928
Updated dependencies (3.21.x)
2 parents cae4152 + b2ba023 commit dbdd95d

File tree

9 files changed

+30
-48
lines changed

9 files changed

+30
-48
lines changed

deps-packaging/libcurl-hub/cfbuild-libcurl-hub.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%define curl_version 8.15.0
1+
%define curl_version 8.16.0
22

33
Summary: CFEngine Build Automation -- libcurl
44
Name: cfbuild-libcurl-hub
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d85cfc79dc505ff800cb1d321a320183035011fa08cb301356425d86be8fc53c curl-8.15.0.tar.gz
1+
a21e20476e39eca5a4fc5cfb00acf84bbc1f5d8443ec3853ad14c26b3c85b970 curl-8.16.0.tar.gz

deps-packaging/libcurl/cfbuild-libcurl.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%define curl_version 8.15.0
1+
%define curl_version 8.16.0
22

33
Summary: CFEngine Build Automation -- libcurl
44
Name: cfbuild-libcurl
@@ -45,6 +45,9 @@ mkdir -p %{_builddir}
4545

4646
%build
4747

48+
# Fix implicit declaration of function 'fopen' after upgrading to curl 8.16.0.
49+
patch -p1 < %{_topdir}/SOURCES/implicit-decl-fopen.patch
50+
4851
make
4952

5053
%install

deps-packaging/libcurl/debian/rules

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ build: build-stamp
2626
build-stamp:
2727
dh_testdir
2828

29-
# Fixes following issue on Windows build
30-
# 15:44:06 url.c: In function 'zonefrom_url':
31-
# 15:44:06 url.c:1802:18: error: implicit declaration of function 'if_nametoindex' [-Werror=implicit-function-declaration]
32-
# 15:44:06 scopeidx = if_nametoindex(zoneid);
33-
# 15:44:06 ^
34-
if [ "$(OS)" = mingw ]; then patch -p1 < "$(CURDIR)"/fix-curl-windows.patch; fi
35-
3629
./configure --with-sysroot=$(PREFIX) \
3730
--host=$(DEB_HOST_GNU_TYPE) \
3831
$(PTHREAD) \
@@ -61,7 +54,7 @@ build-stamp:
6154
CPPFLAGS="-I$(PREFIX)/include" \
6255

6356
make
64-
57+
6558
touch build-stamp
6659

6760
install: build

deps-packaging/libcurl/distfiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d85cfc79dc505ff800cb1d321a320183035011fa08cb301356425d86be8fc53c curl-8.15.0.tar.gz
1+
a21e20476e39eca5a4fc5cfb00acf84bbc1f5d8443ec3853ad14c26b3c85b970 curl-8.16.0.tar.gz

deps-packaging/libcurl/fix-curl-windows.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
diff -ruN curl-8.16.0/lib/curl_mem_undef.h curl-8.16.0-modified/lib/curl_mem_undef.h
2+
--- curl-8.16.0/lib/curl_mem_undef.h 2025-09-10 07:43:43.000000000 +0200
3+
+++ curl-8.16.0-modified/lib/curl_mem_undef.h 2025-09-24 16:51:34.546034324 +0200
4+
@@ -44,6 +44,8 @@
5+
#undef socketpair
6+
#endif
7+
8+
+#ifdef CURLDEBUG
9+
+
10+
#undef fopen
11+
#ifdef CURL_FOPEN
12+
#define fopen(fname, mode) CURL_FOPEN(fname, mode)
13+
@@ -51,5 +53,7 @@
14+
#undef fdopen
15+
#undef fclose
16+
17+
+#endif /* CURLDEBUG */
18+
+
19+
#undef HEADER_CURL_MEMORY_H
20+
#undef HEADER_CURL_MEMDEBUG_H

deps-packaging/libxml2/cfbuild-libxml2.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%define libxml_version 2.14.5
1+
%define libxml_version 2.14.6
22

33
Summary: CFEngine Build Automation -- libxml2
44
Name: cfbuild-libxml2

deps-packaging/libxml2/distfiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
03d006f3537616833c16c53addcdc32a0eb20e55443cba4038307e3fa7d8d44b libxml2-2.14.5.tar.xz
1+
7ce458a0affeb83f0b55f1f4f9e0e55735dbfc1a9de124ee86fb4a66b597203a libxml2-2.14.6.tar.xz

0 commit comments

Comments
 (0)