That patch is over a year old. I tried to hand patch the files, but I cant get it to compile, and I dont know enough C to fix it.
Code:
$ make SHARED= SYS=mingw CRYPTO=POLARSSL XLDFLAGS=-static
make[1]: Entering directory `/c/home/Steven/Desktop/test/librtmp'
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL -O2 -c -o rtmp.o rtmp.c
In file included from rtmp.c:132:0:
handshake.h: In function 'InitRC4Encryption':
handshake.h:116:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable]
rtmp.c: In function 'HandleInvoke':
rtmp.c:2396:23: error: 'RTMP_LNK' has no member named 'hostname'
rtmp.c:2396:49: error: 'RTMP_LNK' has no member named 'hostname'
rtmp.c: In function 'RTMP_ReadPacket':
rtmp.c:3155:7: warning: variable 'didAlloc' set but not used [-Wunused-but-set-variable]
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/c/home/Steven/Desktop/test/librtmp'
make: *** [librtmp/librtmp.a] Error 2
.
I put my efforts at
github.com/downloads/svnpenn/rtmpdump/rtmpdump-HTTP-proxy.7z
if you want to check it out.