summarylogtreecommitdiffstats
path: root/php-enchant-php5.3.patch
diff options
context:
space:
mode:
authorEugene Lamskoy2022-01-21 14:11:57 +0200
committerEugene Lamskoy2022-01-21 14:11:57 +0200
commiteadc7ccb6a5cf64307475d8826e63cfc9850da65 (patch)
tree674ee6b88dcedcda6d06ba265263d43e286d3165 /php-enchant-php5.3.patch
parent1c636aec0734d5e349a1a78dede03b1897bd85e5 (diff)
downloadaur-eadc7ccb6a5cf64307475d8826e63cfc9850da65.tar.gz
PHP 7.2.34 pkgrel=8
Diffstat (limited to 'php-enchant-php5.3.patch')
-rw-r--r--php-enchant-php5.3.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/php-enchant-php5.3.patch b/php-enchant-php5.3.patch
new file mode 100644
index 000000000000..b82eef7fdd91
--- /dev/null
+++ b/php-enchant-php5.3.patch
@@ -0,0 +1,23 @@
+--- a/ext/enchant/config.m4
++++ b/ext/enchant/config.m4
+@@ -14,9 +14,9 @@
+ ENCHANT_SEARCH_DIRS="/usr/local /usr"
+ fi
+ for i in $ENCHANT_SEARCH_DIRS; do
+- if test -f $i/include/enchant/enchant.h; then
++ if test -f $i/include/enchant-2/enchant.h; then
+ ENCHANT_DIR=$i
+- ENCHANT_INCDIR=$i/include/enchant
++ ENCHANT_INCDIR=$i/include/enchant-2
+ elif test -f $i/include/enchant.h; then
+ ENCHANT_DIR=$i
+ ENCHANT_INCDIR=$i/include
+@@ -31,7 +31,7 @@
+
+ AC_DEFINE(HAVE_ENCHANT,1,[ ])
+ PHP_SUBST(ENCHANT_SHARED_LIBADD)
+- PHP_ADD_LIBRARY_WITH_PATH(enchant, $ENCHANT_LIBDIR, ENCHANT_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(enchant-2, $ENCHANT_LIBDIR, ENCHANT_SHARED_LIBADD)
+ PHP_ADD_INCLUDE($ENCHANT_INCDIR)
+ PHP_CHECK_LIBRARY(enchant, enchant_broker_set_param,
+ [