pkgsrc/lang/php80/patches/patch-ext_xsl_php__xsl.h
taca acc0a12614 lang/php80: add version 8.0.3 package
Add php80 package version 8.0.3 (PHP 8.0.3) with current PHP framework
of pkgsrc.

PHP is a widely-used open source general-purpose scripting language
that is especially suited for web development and can be embedded
into HTML.  It is modular, and object-oriented.  Much of its syntax
is borrowed from C, Java and Perl with a couple of unique PHP-specific
features thrown in.  The language is designed to allow web developers
to write dynamically generated pages quickly.

PHP 8.0 comes with numerous improvements and new features such as

* Union Types
* Named Arguments
* Match Expressions
* Attributes
* Constructor Property Promotion
* Nullsafe Operator
* Weak Maps
* Just In Time Compilation
* And much much more...
2021-03-07 13:41:36 +00:00

15 lines
427 B
C

$NetBSD: patch-ext_xsl_php__xsl.h,v 1.1 2021/03/07 13:41:36 taca Exp $
Fix build on pkgsrc environment.
--- ext/xsl/php_xsl.h.orig 2021-03-02 16:37:06.000000000 +0000
+++ ext/xsl/php_xsl.h
@@ -37,7 +37,7 @@ extern zend_module_entry xsl_module_entr
#include <libexslt/exsltconfig.h>
#endif
-#include "../dom/xml_common.h"
+#include "dom/xml_common.h"
#include <libxslt/extensions.h>
#include <libxml/xpathInternals.h>