lighttpd: update to 1.4.61

This commit is contained in:
Glenn Strauss 2021-10-28 22:59:53 -04:00 committed by Érico Nogueira Rolim
parent a82a90552b
commit 356642c772
2 changed files with 2 additions and 36 deletions

View File

@ -1,34 +0,0 @@
From cf4dfbe15ef8ead3a7eda974af7d804d447f00db Mon Sep 17 00:00:00 2001
From: Glenn Strauss <gstrauss@gluelogic.com>
Date: Mon, 4 Oct 2021 09:51:22 -0400
Subject: [PATCH] [core] define __BEGIN_DECLS, __END_DECLS if needed
---
src/first.h | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
--- a/src/first.h
+++ b/src/first.h
@@ -39,6 +39,22 @@
#include <sys/types.h>
#include <stddef.h>
+#ifndef __BEGIN_DECLS
+#ifdef __cplusplus
+#define __BEGIN_DECLS extern "C" {
+#else
+#define __BEGIN_DECLS
+#endif
+#endif
+
+#ifndef __END_DECLS
+#ifdef __cplusplus
+#define __END_DECLS }
+#else
+#define __END_DECLS
+#endif
+#endif
+
#if defined HAVE_STDINT_H
# include <stdint.h>
#elif defined HAVE_INTTYPES_H

View File

@ -1,6 +1,6 @@
# Template file for 'lighttpd'
pkgname=lighttpd
version=1.4.60
version=1.4.61
revision=1
build_style=meson
configure_args="-Dwith_brotli=false -Dwith_bzip=false
@ -20,7 +20,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://lighttpd.net"
distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
checksum=4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0
checksum=43f0d63d04a1b7c5b8aab07e0612e44ccad0afc0614bab784c5b019872363432
conf_files="/etc/lighttpd/lighttpd.conf"
system_accounts="_lighttpd"