View | Details | Raw Unified | Return to bug 247650 | Differences between
and this patch

Collapse All | Expand All

(-)devel/pecl-eio/Makefile (-3 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	eio
4
PORTNAME=	eio
5
DISTVERSION=	2.0.2
5
DISTVERSION=	2.0.4
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
8
8
MAINTAINER=	gasol.wu@gmail.com
9
MAINTAINER=	gasol.wu@gmail.com
Lines 10-17 Link Here
10
11
11
LICENSE=	PHP301
12
LICENSE=	PHP301
12
13
13
CONFIGURE_ARGS=	--enable-eio
14
USES=		php:pecl
14
USES=		php:pecl
15
IGNORE_WITH_PHP=	73 74
16
15
16
CONFIGURE_ARGS=	--enable-eio
17
17
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)devel/pecl-eio/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1521059138
1
TIMESTAMP = 1593494567
2
SHA256 (PECL/eio-2.0.2.tgz) = f29afa184cd0d410e14b652d7af24f454d77f831cc95b4754dd1b1d5db8a8bcc
2
SHA256 (PECL/eio-2.0.4.tgz) = f389e0429e89d14f4003fc281e73a6ce402eb92d000870fe98e82a930ecf36e4
3
SIZE (PECL/eio-2.0.2.tgz) = 74005
3
SIZE (PECL/eio-2.0.4.tgz) = 74118
(-)devel/pecl-eio/files/patch-libeio__ecb.h (-26 lines)
Lines 1-26 Link Here
1
--- libeio/ecb.h.orig	2016-07-24 19:02:19.000000000 +0200
2
+++ libeio/ecb.h	2016-12-26 10:31:13.000232000 +0100
3
@@ -452,12 +452,12 @@
4
   }
5
 #endif
6
 
7
-#if ECB_GCC_VERSION(4,5)
8
+#if ECB_GCC_VERSION(4,5) || defined __clang__
9
   #define ecb_unreachable() __builtin_unreachable ()
10
 #else
11
   /* this seems to work fine, but gcc always emits a warning for it :/ */
12
   ecb_noreturn ecb_inline void ecb_unreachable (void);
13
-  ecb_inline void ecb_unreachable (void) { }
14
+  ecb_noreturn ecb_inline void ecb_unreachable (void) { }
15
 #endif
16
 
17
 /* try to tell the compiler that some condition is definitely true */
18
@@ -478,7 +478,7 @@ ecb_byteorder_helper (void)
19
 #elif __BYTE_ORDER__ && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
20
   return 0x44;
21
 #elif __BYTE_ORDER__ && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
22
-  retrurn 0x11;
23
+  return 0x11;
24
 #else
25
   union
26
   {

Return to bug 247650