Package Details: php72-enchant 7.2.34-10

Git Clone URL: https://aur.archlinux.org/php72.git (read-only, click to copy)
Package Base: php72
Description: enchant module for php72
Upstream URL: http://www.php.net
Keywords: 7.2 php php7
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 9
Popularity: 0.000012
First Submitted: 2019-01-31 20:58
Last Updated: 2022-01-24 19:35

Dependencies (52)

Required by (0)

Sources (17)

Latest Comments

1 2 3 4 5 6 Next › Last »

wgomg commented on 2022-01-24 20:03

@el_aur everything working ok now, thank you!

el_aur commented on 2022-01-24 19:37

@wgomg updated package, try to rebuild now

wgomg commented on 2022-01-24 15:03

Thank you @el_aur , installed now and problem fixed, but now having problems with php72-mysql, php72-openssl not found.

el_aur commented on 2022-01-24 10:27

@wgomg: have you installed php72-cli subpackage?

wgomg commented on 2022-01-21 21:51

/usr/bin/php72 is not being installed

$ whereis php72 
php72: /usr/lib/php72 /etc/php72 /usr/include/php72

Manu-sh commented on 2021-11-30 19:05

Thanks NAlien

el_aur commented on 2021-11-30 18:31

Thanks. Updated PKGBUILD

NAlien commented on 2021-11-25 15:54

Error with new libicu70


: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_70::BreakIterator&) const’
   39 |                 virtual UBool operator==(const BreakIterator& that) const;
      |                               ^~~~~~~~

Patch should be here -> https://github.com/mhei/packages/blob/6eecc3bd4c8e34e3986fde3f95ed88c784cd99eb/lang/php7/patches/1011-Accommodate-changes-to-canonicalized-forms-in-ICU-70_1.patch

Just applied this patch placed it in the directory with other patches like int.patch ->


From cd1447a6962496fca60a2f5e5d9cf4448575cc24 Mon Sep 17 00:00:00 2001
From: Ben Ramsey <ramsey@php.net>
Date: Tue, 19 Oct 2021 23:59:11 -0500
Subject: [PATCH 1/4] Change UBool to bool for equality operators in ICU >=
 70.1

Refer to:
- https://github.com/unicode-org/icu/commit/633438f8da99fee815e2c61626ea779a84567a3d
- https://github.com/unicode-org/icu/commit/f6325d49ba57ec26f320b2865ce09ca47db458d9
---
 ext/intl/breakiterator/codepointiterator_internal.cpp | 4 ++++
 ext/intl/breakiterator/codepointiterator_internal.h   | 4 ++++
 2 files changed, 8 insertions(+)

--- a/ext/intl/breakiterator/codepointiterator_internal.cpp
+++ b/ext/intl/breakiterator/codepointiterator_internal.cpp
@@ -75,7 +75,11 @@ CodePointBreakIterator::~CodePointBreakI
    clearCurrentCharIter();
 }

+#if U_ICU_VERSION_MAJOR_NUM >= 70
+bool CodePointBreakIterator::operator==(const BreakIterator& that) const
+#else
 UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
+#endif
 {
    if (typeid(*this) != typeid(that)) {
        return FALSE;
--- a/ext/intl/breakiterator/codepointiterator_internal.h
+++ b/ext/intl/breakiterator/codepointiterator_internal.h
@@ -39,7 +39,11 @@ namespace PHP {

        virtual ~CodePointBreakIterator();

+#if U_ICU_VERSION_MAJOR_NUM >= 70
+       virtual bool operator==(const BreakIterator& that) const;
+#else
        virtual UBool operator==(const BreakIterator& that) const;
+#endif

        virtual CodePointBreakIterator* clone(void) const;


And modified the PKGBUILD to this


--- #<buffer PKGBUILD>
+++ #<buffer newPKGBUILD>
@@ -13,7 +13,7 @@
              'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'freetds' 'pcre' 'libsodium')
 #checkdepends=('procps-ng')
 source=("https://php.net/distributions/${_pkgbase}-${pkgver}.tar.xz" 'intl.patch'
-        'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch' 'php-freetype-2.9.1.patch' )
+        'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch' 'php-freetype-2.9.1.patch' 'icu.patch' )

 prepare() {
     cd ${srcdir}/${_pkgbase}-${pkgver}
@@ -23,6 +23,7 @@
     patch -p1 -i ${srcdir}/enchant-2.patch
     patch -p1 -i ${srcdir}/php-freetype-2.9.1.patch
     patch -p1 -i ${srcdir}/intl.patch
+    patch -p1 -i ${srcdir}/icu.patch
 }

 build() {
@@ -358,4 +359,5 @@
          '406f7a3ef7f476e4a5c26e462e47b7c7'
          '4bf0b1296fc95947a11bef36fe76102a'
          'e3883dce91ed21e23a3d7ae9fa80216d'
-         'b40b82f55208eaead22dbfb64720b064')
+         'b40b82f55208eaead22dbfb64720b064'
+         '841b47a68763bd2d9b2ba94bc9df9576')

malacology commented on 2021-07-06 00:22

mkdir: cannot create directory 'ext/mbstring/libmbfl/filters/.libs': No such file or directory
make: *** [Makefile:1484: ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Try again, then works

dev31 commented on 2021-04-29 10:17

how to install pdo_mysql ext for php7.2?