commit 6f09f2e918484e21decfe1c8583f5a0ffab40951
Author: Jan Palus <[email protected]>
Date: Sat Jan 25 01:40:48 2025 +0100
more missing includes and type fixes
includes.patch | 10 ++++++++++
types.patch | 15 +++++++++++++++
2 files changed, 25 insertions(+)
---
diff --git a/includes.patch b/includes.patch
index 829e361..a32a4f8 100644
--- a/includes.patch
+++ b/includes.patch
@@ -8,3 +8,13 @@
#include "ext/standard/info.h"
#include "lsapilib.h"
+--- php-7.1.33/ext/zip/lib/mkstemp.c.orig 2019-10-22 18:59:49.000000000
+0200
++++ php-7.1.33/ext/zip/lib/mkstemp.c 2025-01-25 00:53:13.113061891 +0100
+@@ -43,6 +43,7 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+
+ #ifndef O_BINARY
+ #define O_BINARY 0
diff --git a/types.patch b/types.patch
index ae8918b..d24fd5c 100644
--- a/types.patch
+++ b/types.patch
@@ -135,3 +135,18 @@
} else {
#ifdef HAVE_STRPTIME
char *format =
INI_STR("ibase.timestampformat");
+--- php-7.1.33/sapi/litespeed/lsapilib.c.orig 2019-10-22 19:00:03.000000000
+0200
++++ php-7.1.33/sapi/litespeed/lsapilib.c 2025-01-25 00:59:21.165154210
+0100
+@@ -2875,10 +2875,11 @@
+ return;
+ }
+ s_pid_dump_debug_info = fork();
++ time_t t = tmCur;
+
+ fprintf( stderr, "[%s] Possible runaway process, PPID: %d, PID: %d, "
+ "reqCount: %d, process time: %ld, checkpoint time: %ld, start "
+- "time: %ld\n", ctime(&tmCur), getpid(), pStatus->m_pid,
++ "time: %ld\n", ctime(&t), getpid(), pStatus->m_pid,
+ pStatus->m_iReqCounter, tmCur - pStatus->m_tmReqBegin,
+ tmCur - pStatus->m_tmLastCheckPoint, tmCur - pStatus->m_tmStart
);
+ snprintf( achCmd, 1024, "gdb --batch -ex \"attach %d\" -ex \"set height
0\" "
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/6f09f2e918484e21decfe1c8583f5a0ffab40951
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit