[packages/php/PHP_7_0] add missing include
atler
atler at pld-linux.org
Sat Jan 25 15:05:04 CET 2025
commit f63697fc794c5c5ac918a3c07bd787f10e260b9e
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jan 23 01:10:33 2025 +0100
add missing include
includes.patch | 10 ++++++++++
php.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/php.spec b/php.spec
index 7cee467..065d51b 100644
--- a/php.spec
+++ b/php.spec
@@ -222,6 +222,7 @@ Patch76: openssl.patch
Patch77: icu70.patch
Patch78: libxml2-2.12.patch
Patch79: types.patch
+Patch80: includes.patch
URL: https://www.php.net/
%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
@@ -2037,6 +2038,7 @@ cp -p php.ini-production php.ini
%patch -P77 -p1
%patch -P78 -p1
%patch -P79 -p1
+%patch -P80 -p1
sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
run-tests.php
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..829e361
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,10 @@
+--- php-7.4.33/sapi/litespeed/lsapi_main.c.orig 2022-10-31 11:36:05.000000000 +0100
++++ php-7.4.33/sapi/litespeed/lsapi_main.c 2025-01-23 01:03:28.685293073 +0100
+@@ -24,6 +24,7 @@
+ #include "zend_highlight.h"
+ #include "zend.h"
+ #include "ext/standard/basic_functions.h"
++#include "ext/standard/head.h"
+ #include "ext/standard/info.h"
+ #include "lsapilib.h"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/08c47c435bbc377aa1f55ad3740ea1393df474b4
More information about the pld-cvs-commit
mailing list