pkgsrc/lang/php80/patches/patch-ext_enchant_enchant.c
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
469 B
C

$NetBSD: patch-ext_enchant_enchant.c,v 1.1 2021/03/07 13:41:36 taca Exp $
Fix build on pkgsrc environment.
--- ext/enchant/enchant.c.orig 2021-03-02 16:37:06.000000000 +0000
+++ ext/enchant/enchant.c
@@ -24,7 +24,7 @@
#include "ext/standard/info.h"
#include "Zend/zend_interfaces.h"
#include "Zend/zend_exceptions.h"
-#include "../spl/spl_exceptions.h"
+#include "spl/spl_exceptions.h"
#include <enchant.h>
#include "php_enchant.h"
#include "enchant_arginfo.h"