Skip to content

Commit

Permalink
Merge pull request #53 from risoflora/version-3.4.1
Browse files Browse the repository at this point in the history
Bump v3.4.1
  • Loading branch information
silvioprog authored Mar 12, 2023
2 parents 3aa958f + 3b1c9a4 commit 53e719c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
15 changes: 5 additions & 10 deletions cmake/SgMHD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
# Cross-platform library which helps to develop web servers or frameworks.
#
# Copyright (C) 2016-2021 Silvio Clecio <[email protected]>
# Copyright (C) 2016-2023 Silvio Clecio <[email protected]>
#
# Sagui library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -43,16 +43,11 @@ endif()
set(__SG_MHD_INCLUDED ON)

set(MHD_NAME "libmicrohttpd")
set(MHD_VER "0.9.74")
set(MHD_VER "0.9.76")
set(MHD_FULL_NAME "${MHD_NAME}-${MHD_VER}")
set(MHD_URL
"https://github.com/Karlson2k/libmicrohttpd/releases/download/v${MHD_VER}/${MHD_FULL_NAME}.tar.gz"
)
set(MHD_URL_MIRROR
"https://ftp.gnu.org/gnu/libmicrohttpd/${MHD_FULL_NAME}.tar.gz"
)
set(MHD_SHA256
"42035d0261373324bfb434018f4ab892514b10253d1af232e41b4cc2c11e650b")
set(MHD_URL "https://ftp.gnu.org/gnu/libmicrohttpd/${MHD_FULL_NAME}.tar.gz")
set(MHD_URL_MIRROR "https://ftp.gnu.org/gnu/libmicrohttpd/${MHD_FULL_NAME}.tar.gz")
set(MHD_SHA256 "f0b1547b5a42a6c0f724e8e1c1cb5ce9c4c35fb495e7d780b9930d35011ceb4c")
set(_libdir ${CMAKE_BINARY_DIR}/${MHD_FULL_NAME}/lib)
if(${CMAKE_VERSION} VERSION_LESS "3.7")
unset(MHD_URL_MIRROR)
Expand Down
11 changes: 5 additions & 6 deletions cmake/SgPCRE2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#
# Cross-platform library which helps to develop web servers or frameworks.
#
# Copyright (C) 2016-2021 Silvio Clecio <[email protected]>
# Copyright (C) 2016-2023 Silvio Clecio <[email protected]>
#
# Sagui library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -46,16 +46,15 @@ set(__SG_PCRE2_INCLUDED ON)
option(PCRE2_JIT_SUPPORT "Enable JIT support" ON)

set(PCRE2_NAME "pcre2")
set(PCRE2_VER "10.39")
set(PCRE2_VER "10.42")
set(PCRE2_FULL_NAME "${PCRE2_NAME}-${PCRE2_VER}")
set(PCRE2_URL
"https://github.com/PhilipHazel/pcre2/releases/download/${PCRE2_FULL_NAME}/${PCRE2_FULL_NAME}.tar.gz"
"https://github.com/PCRE2Project/pcre2/releases/download/${PCRE2_FULL_NAME}/${PCRE2_FULL_NAME}.tar.gz"
)
set(PCRE2_URL_MIRROR
"https://github.com/PhilipHazel/pcre2/releases/download/${PCRE2_FULL_NAME}/${PCRE2_FULL_NAME}.tar.gz"
"https://github.com/PCRE2Project/pcre2/releases/download/${PCRE2_FULL_NAME}/${PCRE2_FULL_NAME}.tar.gz"
)
set(PCRE2_SHA256
"0781bd2536ef5279b1943471fdcdbd9961a2845e1d2c9ad849b9bd98ba1a9bd4")
set(PCRE2_SHA256 "c33b418e3b936ee3153de2c61cc638e7e4fe3156022a5c77d0711bcbb9d64f1f")
if(${CMAKE_VERSION} VERSION_LESS "3.7")
unset(PCRE2_URL_MIRROR)
endif()
Expand Down
6 changes: 3 additions & 3 deletions include/sagui.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Cross-platform library which helps to develop web servers or frameworks.
*
* Copyright (C) 2016-2021 Silvio Clecio <[email protected]>
* Copyright (C) 2016-2023 Silvio Clecio <[email protected]>
*
* Sagui library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -74,7 +74,7 @@ extern "C" {

#define SG_VERSION_MAJOR 3
#define SG_VERSION_MINOR 4
#define SG_VERSION_PATCH 0
#define SG_VERSION_PATCH 1
#define SG_VERSION_HEX \
((SG_VERSION_MAJOR << 16) | (SG_VERSION_MINOR << 8) | (SG_VERSION_PATCH))

Expand Down Expand Up @@ -1755,7 +1755,7 @@ struct sg_entrypoints;
* Callback signature used by #sg_entrypoints_iter() to iterate entry-point
* items.
* \param[out] cls User-defined closure.
* \param[out] pair Current iterated entry-point.
* \param[out] entrypoint Current iterated entry-point.
* \retval 0 Success.
* \retval E<ERROR> User-defined error to stop the items iteration.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/sg_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Cross-platform library which helps to develop web servers or frameworks.
*
* Copyright (C) 2016-2021 Silvio Clecio <[email protected]>
* Copyright (C) 2016-2023 Silvio Clecio <[email protected]>
*
* Sagui library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -367,7 +367,7 @@ char *sg_extract_entrypoint(const char *path) {

/* File/directory. */

char *sg_tmpdir() {
char *sg_tmpdir(void) {
#ifdef _WIN32
wchar_t path[MAX_PATH + 1]; /* max 261 */
size_t len = GetTempPathW(MAX_PATH + 1, path);
Expand Down

0 comments on commit 53e719c

Please sign in to comment.