diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch')
| -rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch b/meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch deleted file mode 100644 index 98b226bf90..0000000000 --- a/meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | |||
| 2 | * modules/loggers/mod_log_debug.c: Mark private globals as static. | ||
| 3 | http://svn.apache.org/viewvc?view=revision&revision=1326980 | ||
| 4 | |||
| 5 | * modules/filters/sed1.c: Mark private globals as static const. | ||
| 6 | (command): Change p3 pointer to const. | ||
| 7 | http://svn.apache.org/viewvc?view=revision&revision=1326984 | ||
| 8 | |||
| 9 | * modules/filters/config.m4: Prevent libsed internals from polluting | ||
| 10 | the global symbol namespace. | ||
| 11 | http://svn.apache.org/viewvc?view=revision&revision=1326991 | ||
| 12 | |||
| 13 | Upstream-Status: Backport | ||
| 14 | |||
| 15 | --- httpd-2.4.2/modules/loggers/mod_log_debug.c | ||
| 16 | +++ httpd-2.4.2/modules/loggers/mod_log_debug.c | ||
| 17 | @@ -35,8 +35,8 @@ | ||
| 18 | apr_array_header_t *entries; | ||
| 19 | } log_debug_dirconf; | ||
| 20 | |||
| 21 | -const char *allhooks = "all"; | ||
| 22 | -const char * const hooks[] = { | ||
| 23 | +static const char *allhooks = "all"; | ||
| 24 | +static const char * const hooks[] = { | ||
| 25 | "log_transaction", /* 0 */ | ||
| 26 | "quick_handler", /* 1 */ | ||
| 27 | "handler", /* 2 */ | ||
| 28 | --- httpd-2.4.2/modules/filters/sed1.c | ||
| 29 | +++ httpd-2.4.2/modules/filters/sed1.c | ||
| 30 | @@ -25,7 +25,7 @@ | ||
| 31 | #include "apr_strings.h" | ||
| 32 | #include "regexp.h" | ||
| 33 | |||
| 34 | -char *trans[040] = { | ||
| 35 | +static const char *const trans[040] = { | ||
| 36 | "\\01", | ||
| 37 | "\\02", | ||
| 38 | "\\03", | ||
| 39 | @@ -58,7 +58,7 @@ | ||
| 40 | "\\36", | ||
| 41 | "\\37" | ||
| 42 | }; | ||
| 43 | -char rub[] = {"\\177"}; | ||
| 44 | +static const char rub[] = {"\\177"}; | ||
| 45 | |||
| 46 | extern int sed_step(char *p1, char *p2, int circf, step_vars_storage *vars); | ||
| 47 | static int substitute(sed_eval_t *eval, sed_reptr_t *ipc, | ||
| 48 | @@ -692,7 +692,8 @@ | ||
| 49 | step_vars_storage *step_vars) | ||
| 50 | { | ||
| 51 | int i; | ||
| 52 | - char *p1, *p2, *p3; | ||
| 53 | + char *p1, *p2; | ||
| 54 | + const char *p3; | ||
| 55 | int length; | ||
| 56 | char sz[32]; /* 32 bytes enough to store 64 bit integer in decimal */ | ||
| 57 | apr_status_t rv = APR_SUCCESS; | ||
| 58 | --- httpd-2.4.2/modules/filters/config.m4 | ||
| 59 | +++ httpd-2.4.2/modules/filters/config.m4 | ||
| 60 | @@ -16,7 +16,13 @@ | ||
| 61 | APACHE_MODULE(substitute, response content rewrite-like filtering, , , most) | ||
| 62 | |||
| 63 | sed_obj="mod_sed.lo sed0.lo sed1.lo regexp.lo" | ||
| 64 | -APACHE_MODULE(sed, filter request and/or response bodies through sed, $sed_obj, , most) | ||
| 65 | +APACHE_MODULE(sed, filter request and/or response bodies through sed, $sed_obj, , most, [ | ||
| 66 | + if test "x$enable_sed" = "xshared"; then | ||
| 67 | + # The only symbol which needs to be exported is the module | ||
| 68 | + # structure, so ask libtool to hide libsed internals: | ||
| 69 | + APR_ADDTO(MOD_SED_LDADD, [-export-symbols-regex sed_module]) | ||
| 70 | + fi | ||
| 71 | +]) | ||
| 72 | |||
| 73 | if test "$ac_cv_ebcdic" = "yes"; then | ||
| 74 | # mod_charset_lite can be very useful on an ebcdic system, | ||
