Closed karpet closed 9 years ago
I think this patch ignores APACHE22 usage in the code. The patch used in mod_auth_tkt Debian package for apache 2.4 looks better.
The link on the debian package https://packages.debian.org/source/sid/libapache2-mod-auth-tkt
Good to know Debian solved the problem too.
I notice Debian does not patch configure which suggests that the previous way of identifying version via compile-time definition is no longer used. No judgement on that; just an observation.
Hi Peter,
Thanks for your patches, incorporated into the 2.3.99b1 beta.
Cheers, Gavin
I don't understand how this patch would not break other code chunks with
...
clearly the build will be broken with only -DAPACHE24
Debian patch uses proper, universal call to identify which Apache version is used: +#if AP_MODULE_MAGIC_AT_LEAST(20111130,0)
There were 3 sets of patches out there - Peter's, Ivo's/debian's, and Dietmar's. The 2.4 changes are are a blend of all 3, and do use AP_MODULE_MAGIC_AT_LEAST (check the code).
Cheers, Gavin
ah, I see now. good!
This compiles and seems to pass its tests. There are still several non-fatal compile-time warnings.