mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
parent
8a94dd2cb1
commit
840bb5f90d
@ -1 +1 @@
|
||||
38aa0f93ad7cf9e5c35da09ff2a7f3adbd6e7b5f
|
||||
6a9326a07968a5e7f637ec0720e7b4616e66149e
|
||||
|
@ -6,4 +6,4 @@ URL(lighttpd) := http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-$
|
||||
SHA(lighttpd) := 816cbec71e8d02d874f1d5c798d76d091a76d5acbeb6e017ba76aeb4263d6995
|
||||
DIR(lighttpd) := src/app/lighttpd
|
||||
|
||||
PATCHES := $(addprefix src/app/lighttpd/,fd_cloexec.patch)
|
||||
PATCHES := $(addprefix src/app/lighttpd/,fd_cloexec.patch mod_webdav.patch)
|
||||
|
16
repos/ports/src/app/lighttpd/mod_webdav.patch
Normal file
16
repos/ports/src/app/lighttpd/mod_webdav.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Disable usage of linkat and unlinkat which is not (yet) support
|
||||
in our libc.
|
||||
|
||||
--- src/app/lighttpd/src/mod_webdav.c
|
||||
+++ src/app/lighttpd/src/mod_webdav.c
|
||||
@@ -224,6 +224,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#undef AT_FDCWD
|
||||
+#undef _ATFILE_SOURCE
|
||||
+
|
||||
+
|
||||
#ifndef AT_SYMLINK_NOFOLLOW
|
||||
#define AT_SYMLINK_NOFOLLOW 0
|
||||
#endif
|
@ -3,3 +3,4 @@ PLUGIN_INIT(mod_dirlisting)
|
||||
PLUGIN_INIT(mod_staticfile)
|
||||
PLUGIN_INIT(mod_access)
|
||||
PLUGIN_INIT(mod_openssl)
|
||||
PLUGIN_INIT(mod_webdav)
|
||||
|
@ -53,7 +53,6 @@ FILTER_OUT := lempar.c lighttpd-angel.c lemon.c \
|
||||
mod_vhostdb_ldap.c \
|
||||
mod_vhostdb_mysql.c \
|
||||
mod_vhostdb_pgsql.c \
|
||||
mod_webdav.c \
|
||||
mod_wolfssl.c \
|
||||
mod_wstunnel.c
|
||||
SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIGHTTPD_DIR)/src/*.c)))
|
||||
@ -81,6 +80,7 @@ CC_OPT += -DLIBRARY_DIR="\"/lib\""
|
||||
CC_OPT += -DLIGHTTPD_STATIC
|
||||
CC_OPT += -DHAVE_LIBSSL -DUSE_OPENSSL -DUSE_OPENSSL_CRYPTO
|
||||
|
||||
CC_OPT += -DMOD_WEBDAV_BUILD_MINIMAL
|
||||
|
||||
CC_WARN = -Wall -Wno-unused-variable -Wno-unused-function
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user