FRiCKLE / ngx_postgres

upstream module that allows nginx to communicate directly with PostgreSQL database.
http://labs.frickle.com/nginx_ngx_postgres/
BSD 2-Clause "Simplified" License
545 stars 122 forks source link

compiling fails on freebsd 9.3/10.0 #27

Closed reicheltd closed 10 years ago

reicheltd commented 10 years ago

/var/ports/basejail/usr/ports/www/nginx/work/ngx_postgres-0.9/src/ngx_postgres_upstream.c:106:65: error: too few arguments to function call, expected 5, have 4 NGX_SOCKADDR_STRLEN, 0);

https://gist.github.com/anonymous/df608d3dc920455a8bfb

buddy-ekb commented 10 years ago

It's because nginx in FreeBSD Ports contains dependency from outdated ngx_postgres version. You could however manually apply patch to the port from there: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186618

reicheltd commented 10 years ago

thx that worked