openbsd-ports/www/php5/patches/patch-ext_openssl_config0_m4
sthen 748511976d Use PATCHORIG, regen patches and rename the files which didn't match the
normal update-patches filenames. This avoids update-patches picking up the
.orig files in PHP distfiles and make it easier to keep in-sync. ok robert@
2011-06-18 19:49:22 +00:00

13 lines
586 B
Plaintext

$OpenBSD: patch-ext_openssl_config0_m4,v 1.2 2011/06/18 19:49:22 sthen Exp $
--- ext/openssl/config0.m4.orig.port Sun Jan 7 18:38:22 2007
+++ ext/openssl/config0.m4 Sat Jun 18 12:14:54 2011
@@ -16,7 +16,7 @@ if test "$PHP_OPENSSL" != "no"; then
PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
fi
- AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
+ AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]),, [-lcrypto])
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
[