> diff --git a/patches/httpd-2.4.12/0007-workaround-for-
> exports_errors.patch b/patches/httpd-2.4.12/0007-workaround-for-
> exports_errors.patch
> new file mode 100644
> index 0000000..160f27a
> --- /dev/null
> +++ b/patches/httpd-2.4.12/0007-workaround-for-exports_errors.patch
> @@ -0,0 +1,8318 @@
> +diff -rupN AQ/server/exports.c AR/server/exports.c
> +--- AQ/server/exports.c 1970-01-01 01:00:00.000000000 +0100
> ++++ AR/server/exports.c 2015-02-18 08:35:53.700805309 +0100
> +@@ -0,0 +1,8272 @@
> ++/*
> ++ * THIS FILE WAS AUTOGENERATED BY make_exports.awk
> ++ *
> ++ * This is an ugly hack that needs to be here, so
> ++ * that libtool will link all of the APR functions
> ++ * into server regardless of whether the base server
> ++ * uses them.
> ++ */
the make_exports.awk rewrite the httpd-2.4.12/server/exports.c
during the build, then the build fails:
exports.c:4117:55: error: 'apr_hash_this_key' undeclared here (not in a function)
exports.c:4121:59: error: 'apr_hash_this_key_len' undeclared here (not in a function)
exports.c:4125:55: error: 'apr_hash_this_val' undeclared here (not in a function)
exports.c:4568:62: error: 'apr_sockaddr_is_wildcard' undeclared here (not in a function)
exports.c:5307:55: error: 'apr_shm_create_ex' undeclared here (not in a function)
exports.c:5323:55: error: 'apr_shm_attach_ex' undeclared here (not in a function)
if I manually overwrite the pachted exports.c after a first failed build it compiles...
the solution with manually patching the exports.c file is the dirty way here.
Can somebody explain me how i adapt the make_exports.awk to generate a prober exports.c?