diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-12-24 13:49:41 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-12-24 13:49:41 +0000 |
| commit | 911bca9568aa944760fd8eed00e5884f86e82610 (patch) | |
| tree | d466840c8f1d3d3f1abe45957d9aa69c7ee91231 | |
| parent | Update to 5.20201220 (diff) | |
Update to 3.0.0
Changes: https://pecl.php.net/package-changelog.php?package=inotify
Notes
Notes:
svn path=/head/; revision=559108
| -rw-r--r-- | devel/pecl-inotify/Makefile | 2 | ||||
| -rw-r--r-- | devel/pecl-inotify/distinfo | 6 | ||||
| -rw-r--r-- | devel/pecl-inotify/files/patch-inotify.c | 14 | ||||
| -rw-r--r-- | devel/pecl-inotify/files/patch-php_inotify.h | 28 |
4 files changed, 4 insertions, 46 deletions
diff --git a/devel/pecl-inotify/Makefile b/devel/pecl-inotify/Makefile index 16edda081daf..d1cabd79b515 100644 --- a/devel/pecl-inotify/Makefile +++ b/devel/pecl-inotify/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= inotify -PORTVERSION= 2.0.0 +PORTVERSION= 3.0.0 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org diff --git a/devel/pecl-inotify/distinfo b/devel/pecl-inotify/distinfo index 47134ab97080..641d08bf3c43 100644 --- a/devel/pecl-inotify/distinfo +++ b/devel/pecl-inotify/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1564672858 -SHA256 (PECL/inotify-2.0.0.tgz) = d044a89d26bbaa110f34f182b1c92ab5eb09768096bacf3d837d7e49ac045107 -SIZE (PECL/inotify-2.0.0.tgz) = 8836 +TIMESTAMP = 1608730747 +SHA256 (PECL/inotify-3.0.0.tgz) = c71b78644c0115579cc794f58e78441441751d78040b9d9d1a223d3e9c2d723d +SIZE (PECL/inotify-3.0.0.tgz) = 8455 diff --git a/devel/pecl-inotify/files/patch-inotify.c b/devel/pecl-inotify/files/patch-inotify.c deleted file mode 100644 index 4f8de7a1905e..000000000000 --- a/devel/pecl-inotify/files/patch-inotify.c +++ /dev/null @@ -1,14 +0,0 @@ ---- inotify.c.orig 2016-01-30 12:34:05 UTC -+++ inotify.c -@@ -28,6 +28,11 @@ - #include "ext/standard/info.h" - #include "php_inotify.h" - -+#if PHP_MAJOR_VERSION >= 8 -+#define TSRMLS_CC -+#define TSRMLS_DC -+#endif -+ - /* {{{ arginfo */ - ZEND_BEGIN_ARG_INFO_EX(arginfo_inotify_init, 0, ZEND_RETURN_VALUE, 0) - ZEND_END_ARG_INFO() diff --git a/devel/pecl-inotify/files/patch-php_inotify.h b/devel/pecl-inotify/files/patch-php_inotify.h deleted file mode 100644 index 06092ab1add8..000000000000 --- a/devel/pecl-inotify/files/patch-php_inotify.h +++ /dev/null @@ -1,28 +0,0 @@ ---- php_inotify.h.orig 2020-10-24 21:00:19 UTC -+++ php_inotify.h -@@ -71,14 +71,25 @@ PHP_FUNCTION(inotify_read); - #define INOTIFY_RM_WATCH_EINVAL \ - "The file descriptor is not an inotify instance or the watch descriptor is invalid" - -+#if PHP_MAJOR_VERSION >= 8 - #define INOTIFY_ERROR_CASE(func, errno) \ - case (errno): \ -+ php_error_docref(NULL, E_WARNING, INOTIFY_##func##_##errno); \ -+ break; -+#define INOTIFY_DEFAULT_ERROR(errno) \ -+ default: \ -+ php_error_docref(NULL, E_WARNING, "%s", strerror(errno)); \ -+ break; -+#else -+#define INOTIFY_ERROR_CASE(func, errno) \ -+ case (errno): \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ - break; - #define INOTIFY_DEFAULT_ERROR(errno) \ - default: \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ - break; -+#endif - - - #endif /* PHP_INOTIFY_H */ |
