Created attachment 222733 [details]
Build of multimedia/rtmpdump may fail in case of no optimization. For instance, if make.conf contains "WITH_DEBUG=yes" and "DEBUG_FLAGS=-g".
The error message is following:
--- rtmpdump ---
ld: error: undefined symbol: CleanupSockets
>>> referenced by rtmpdump.c:1410
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [rtmpdump] Error code 1
The reason is incorrect definition of inline function CleanupSockets. The suggested patch adds "static" in definition of function and fixes problem.
Testport is done on default and "debug" environment, on 12.2 and 13.0-BETA1.