diff options
Diffstat (limited to 'www/php4/patches/patch-ae')
-rw-r--r-- | www/php4/patches/patch-ae | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/www/php4/patches/patch-ae b/www/php4/patches/patch-ae index 52bb5830642..f603980eec2 100644 --- a/www/php4/patches/patch-ae +++ b/www/php4/patches/patch-ae @@ -1,16 +1,13 @@ -$NetBSD: patch-ae,v 1.2 2001/05/14 14:12:29 jlam Exp $ +$NetBSD: patch-ae,v 1.3 2001/10/16 04:54:24 jlam Exp $ ---- ext/standard/config.m4.orig Sun Mar 11 05:08:27 2001 -+++ ext/standard/config.m4 -@@ -187,9 +187,11 @@ +--- main/php_open_temporary_file.c.orig Mon Apr 30 08:43:40 2001 ++++ main/php_open_temporary_file.c +@@ -110,7 +110,7 @@ + trailing_slash = "/"; + } - AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL,1,[ ])]) - -+if false; then - AC_CHECK_LIB(pam, pam_start, [ - EXTRA_LIBS="$EXTRA_LIBS -lpam" - AC_DEFINE(HAVE_LIBPAM,1,[ ]) ], []) -+fi # if false - - AC_CHECK_FUNCS(getcwd getwd) +- (void)snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", path, trailing_slash, pfx); ++ (void)snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXXXXXX", path, trailing_slash, pfx); + #ifdef PHP_WIN32 + if (GetTempFileName(path, pfx, 0, opened_path)) { |