No, the patch does not update docs or Makefile. It just adds some ifdef to couple of header files which enables / disables or fixes the missing data structures. I am attaching patch here again for your reference.
The version xmlrpc-c installed my production is 1.35.99 which is i guess is git version.
ms11:/usr/src/svn-src# xmlrpc-c-config --version
1.35.99
However, i did test it with wheezy default xmlrpc-c version 1.16.33 on my test machine. Both of these are working with Kamailio v4.0.1 (by manual patching using attached file) and v4.0.4 (patch already included in git source).
ms11:/usr/src/svn-src# kamailio -version
version: kamailio 4.0.4 (i386/linux) cabe58
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: cabe58
compiled on 04:24:52 Oct 15 2013 with gcc 4.7.2
ms11:/usr/src/svn-src# vim /usr/local/etc/kamailio/kamailio.cfg
...
loadmodule "mi_xmlrpc.so"
...
# ----- mi_xmlrpc params -----
modparam("mi_xmlrpc", "port", 8880)
modparam("mi_xmlrpc", "log_file", "/var/log/abyss.log")
...
ms11:/usr/src/svn-src# netstat -pln
...
tcp 0 0
0.0.0.0:8880 0.0.0.0:* LISTEN 19149/kamailio
...
I haven't tested it on CentOS yet, I will check that tonight.
Thank you.