Skip to content

Commit

Permalink
Updated libcurl from 8.1.2 to 8.4.0
Browse files Browse the repository at this point in the history
needed adjustment for hpux, define _LARGEFILE_SOURCE so fseeko() is available
  • Loading branch information
craigcomstock committed Nov 16, 2023
1 parent 58b11f6 commit 64283a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps-packaging/libcurl/cfbuild-libcurl.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define curl_version 8.1.2
%define curl_version 8.4.0

Summary: CFEngine Build Automation -- libcurl
Name: cfbuild-libcurl
Expand Down
2 changes: 1 addition & 1 deletion deps-packaging/libcurl/distfiles
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e5a9b8fcdc095bdd2f079561f369de71c5eb3b80f00a702fbe9a8b8d9897891 curl-8.1.2.tar.gz
816e41809c043ff285e8c0f06a75a1fa250211bbfb2dc0a037eeef39f1a9e427 curl-8.4.0.tar.gz
5 changes: 4 additions & 1 deletion deps-packaging/libcurl/hpux/build
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ TTD=${BUILD_ROOT}/cfbuild-libcurl-devel${PREFIX}

# Build

# autotools on hpux 11.23 with gcc 4.2.3 uses -std=gnu99 which excludes _LARGEFILE_SOURCE required for fseeko()
# see https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html for reference on _LARGEFILE_SOURCE

./configure --prefix=$PREFIX \
--with-sysroot=$PREFIX \
--with-ssl=$PREFIX \
Expand All @@ -28,7 +31,7 @@ TTD=${BUILD_ROOT}/cfbuild-libcurl-devel${PREFIX}
--without-polarssl \
--without-winidn \
--without-winssl \
CPPFLAGS="-DAF_LOCAL=AF_UNIX"
CPPFLAGS="-DAF_LOCAL=AF_UNIX -D_LARGEFILE_SOURCE"
gmake

# Test
Expand Down

0 comments on commit 64283a8

Please sign in to comment.