package/libev: bump version to 4.22
This patch also fixes the broken download of version 4.19 because upstream move the archive file to Attic/ Removed patch after upstream applied a similar fix: http://cvs.schmorp.de/libev/ev.c?r1=1.476&r2=1.477 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f22b47c39f
commit
e100ab1320
@ -1,29 +0,0 @@
|
|||||||
Fix SPARCv8 condition
|
|
||||||
|
|
||||||
The define provided by the compiler on SPARCv8 is __sparc_v8__ and not
|
|
||||||
__sparcv8. From a SPARCv8 gcc:
|
|
||||||
|
|
||||||
$ sparc-linux-gcc --version
|
|
||||||
sparc-linux-gcc (Buildroot 2015.08-git-00497-ge110081) 4.9.3
|
|
||||||
[...]
|
|
||||||
$ sparc-linux-gcc -dM -E - < /dev/null | grep sparc
|
|
||||||
#define sparc 1
|
|
||||||
#define __sparc__ 1
|
|
||||||
#define __sparc 1
|
|
||||||
#define __sparc_v8__ 1
|
|
||||||
|
|
||||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
||||||
|
|
||||||
Index: b/ev.c
|
|
||||||
===================================================================
|
|
||||||
--- a/ev.c
|
|
||||||
+++ b/ev.c
|
|
||||||
@@ -649,7 +649,7 @@
|
|
||||||
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb" : : : "memory")
|
|
||||||
#elif __aarch64__
|
|
||||||
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb ish" : : : "memory")
|
|
||||||
- #elif (__sparc || __sparc__) && !__sparcv8
|
|
||||||
+ #elif (__sparc || __sparc__) && !__sparc_v8__
|
|
||||||
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad | #StoreStore | #StoreLoad" : : : "memory")
|
|
||||||
#define ECB_MEMORY_FENCE_ACQUIRE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad" : : : "memory")
|
|
||||||
#define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore | #StoreStore")
|
|
@ -1,2 +1,2 @@
|
|||||||
# Locally calculated
|
# Locally calculated
|
||||||
sha256 88fc5f89ca96ceca14c16c10e7be3e921dae65e84932d680c2fd6a40173edccb libev-4.19.tar.gz
|
sha256 736079e8ac543c74d59af73f9c52737b3bfec9601f020bf25a87a4f4d0f01bd6 libev-4.22.tar.gz
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBEV_VERSION = 4.19
|
LIBEV_VERSION = 4.22
|
||||||
LIBEV_SITE = http://dist.schmorp.de/libev
|
LIBEV_SITE = http://dist.schmorp.de/libev
|
||||||
LIBEV_INSTALL_STAGING = YES
|
LIBEV_INSTALL_STAGING = YES
|
||||||
LIBEV_LICENSE = BSD-2c or GPLv2+
|
LIBEV_LICENSE = BSD-2c or GPLv2+
|
||||||
|
Loading…
Reference in New Issue
Block a user