devel/pecl-eio: update to 2.0.4

Changelog:
 - https://pecl.php.net/package-changelog.php?package=eio&release=2.0.4

PR:		247650
Submitted by:	Miguel Gocobachi
Approved by:	gasol.wu@gmail.com (maintainer)
This commit is contained in:
Mikael Urankar 2020-07-25 16:18:08 +00:00
parent 77da03d299
commit 52c6bfcb72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543426
3 changed files with 6 additions and 32 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= eio
DISTVERSION= 2.0.2
DISTVERSION= 2.0.4
CATEGORIES= devel
MAINTAINER= gasol.wu@gmail.com
@ -10,8 +10,8 @@ COMMENT= Provides interface to the libeio library
LICENSE= PHP301
CONFIGURE_ARGS= --enable-eio
USES= php:pecl
IGNORE_WITH_PHP= 73 74
CONFIGURE_ARGS= --enable-eio
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1521059138
SHA256 (PECL/eio-2.0.2.tgz) = f29afa184cd0d410e14b652d7af24f454d77f831cc95b4754dd1b1d5db8a8bcc
SIZE (PECL/eio-2.0.2.tgz) = 74005
TIMESTAMP = 1593494567
SHA256 (PECL/eio-2.0.4.tgz) = f389e0429e89d14f4003fc281e73a6ce402eb92d000870fe98e82a930ecf36e4
SIZE (PECL/eio-2.0.4.tgz) = 74118

View file

@ -1,26 +0,0 @@
--- libeio/ecb.h.orig 2016-07-24 19:02:19.000000000 +0200
+++ libeio/ecb.h 2016-12-26 10:31:13.000232000 +0100
@@ -452,12 +452,12 @@
}
#endif
-#if ECB_GCC_VERSION(4,5)
+#if ECB_GCC_VERSION(4,5) || defined __clang__
#define ecb_unreachable() __builtin_unreachable ()
#else
/* this seems to work fine, but gcc always emits a warning for it :/ */
ecb_noreturn ecb_inline void ecb_unreachable (void);
- ecb_inline void ecb_unreachable (void) { }
+ ecb_noreturn ecb_inline void ecb_unreachable (void) { }
#endif
/* try to tell the compiler that some condition is definitely true */
@@ -478,7 +478,7 @@ ecb_byteorder_helper (void)
#elif __BYTE_ORDER__ && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
return 0x44;
#elif __BYTE_ORDER__ && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
- retrurn 0x11;
+ return 0x11;
#else
union
{