pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc and _FORTIFY_SOURCE



Is there recommended way to dealing with cases like [1]? I got following
error while compiling lang/php53 with CFLAGS+=-D_FORTIFY_SOURCE=2 :

/var/pkgsrc/work/lang/php53/work/php-5.3.5/ext/openssl/xp_ssl.c: In
function 'php_openssl_sockop_read':
/var/pkgsrc/work/lang/php53/work/php-5.3.5/ext/openssl/xp_ssl.c:234:
error: 'php_stream_ops' has no member named '__read_alias'

- it's looks exactly like problem described in PR, below problematic
line from xp_ssl.c

nr_bytes = php_stream_socket_ops.read(stream, buf, count TSRMLS_CC);


1 - http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=43832

-- 
Piotr 'aniou' Meyer


Home | Main Index | Thread Index | Old Index