git: 191077a3c2ee - main - devel/pecl-eio: fix build on big-endian architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Sep 2022 11:26:47 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=191077a3c2eebd30392db6b4d49be66cc1f34009
commit 191077a3c2eebd30392db6b4d49be66cc1f34009
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-22 10:13:54 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-22 10:13:54 +0000
devel/pecl-eio: fix build on big-endian architectures
In file included from /wrkdirs/usr/ports/devel/pecl-eio/work-php74/eio-2.0.4/php7/php_eio.c:70:
In file included from ./libeio/eio.c:45:
./libeio/ecb.h:460:44: warning: function declared 'noreturn' should not return [-Winvalid-noreturn]
ecb_inline void ecb_unreachable (void) { }
^
./libeio/ecb.h:481:3: error: use of undeclared identifier 'retrurn'
retrurn 0x11;
---
devel/pecl-eio/Makefile | 3 +++
devel/pecl-eio/distinfo | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/devel/pecl-eio/Makefile b/devel/pecl-eio/Makefile
index 7a3cac39643b..82284cd78741 100644
--- a/devel/pecl-eio/Makefile
+++ b/devel/pecl-eio/Makefile
@@ -2,6 +2,9 @@ PORTNAME= eio
DISTVERSION= 2.0.4
CATEGORIES= devel
+PATCH_SITES= https://github.com/rosmanov/pecl-eio/commit/
+PATCHFILES= dd8ef9359ea01bcd84b7b13d7ef1ef3b047a099a.patch:-p1
+
MAINTAINER= gasol.wu@gmail.com
COMMENT= Provides interface to the libeio library
WWW= https://pecl.php.net/package/eio
diff --git a/devel/pecl-eio/distinfo b/devel/pecl-eio/distinfo
index 4ca9a281123b..3648b4ac5573 100644
--- a/devel/pecl-eio/distinfo
+++ b/devel/pecl-eio/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1593494567
+TIMESTAMP = 1663708412
SHA256 (PECL/eio-2.0.4.tgz) = f389e0429e89d14f4003fc281e73a6ce402eb92d000870fe98e82a930ecf36e4
SIZE (PECL/eio-2.0.4.tgz) = 74118
+SHA256 (PECL/dd8ef9359ea01bcd84b7b13d7ef1ef3b047a099a.patch) = 43f05ee8e054ee7703182abb13a3e7b092ace89a4fa5115e7c96bf601ee70b36
+SIZE (PECL/dd8ef9359ea01bcd84b7b13d7ef1ef3b047a099a.patch) = 638