Skip to content

Commit

Permalink
ace: Upgrade to 6.5.10
Browse files Browse the repository at this point in the history
License-Update: URI updates [1] [2]

Fix build with glibc 2.32 while here

[1] DOCGroup/ACE_TAO@5564c96#diff-134809fa00f40b726d607f36dffcc5cc
[2] DOCGroup/ACE_TAO@289a4a8#diff-134809fa00f40b726d607f36dffcc5cc

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Jul 21, 2020
1 parent 027d507 commit 7423b72
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ DESCRIPTION = "C++ network programming framework that implements many core \
patterns for concurrent communication software"
LICENSE = "ACE-TAO-CIAO"
HOMEPAGE = "http://www.dre.vanderbilt.edu/~schmidt/ACE.html"
LIC_FILES_CHKSUM = "file://COPYING;md5=96ef88a5529594698e8ceabdd47df92c"
LIC_FILES_CHKSUM = "file://COPYING;md5=d2c090e9c730fd91677782d8e2091d77"

DEPENDS += "openssl gperf-native"

SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_8/ACE-${PV}.tar.bz2 \
SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_10/ACE-${PV}.tar.bz2 \
file://ace_config.patch \
file://no_sysctl.patch \
"

SRC_URI[md5sum] = "a6ba6a944612fe0696c90cbb5c3078ee"
SRC_URI[sha256sum] = "cda2a960dbb9970a907663627711b2e2b14b3484a2859ae936370bcad0b16923"
SRC_URI[sha256sum] = "90de437926928e98e9fd9132c7c3e886ca79f25567adeccbc24a5996f230d8e2"

COMPATIBLE_HOST_libc-musl = "null"

Expand Down
22 changes: 22 additions & 0 deletions meta-oe/recipes-connectivity/ace/files/no_sysctl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
glibc >= 2.32 has removed sys/sysctl.h see

https://sourceware.org/git/?p=glibc.git;a=commit;h=076f09afbac1aa57756faa7a8feadb7936a724e4

This check therefore ensures that its only used on linux when glibc has support for it

Upstream-Status: Pending

Signed-off-by: Khem Raj <[email protected]>
--- a/ace/config-linux.h
+++ b/ace/config-linux.h
@@ -20,6 +20,10 @@

#include "ace/config-linux-common.h"

+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 32)
+# define ACE_LACKS_SYS_SYSCTL_H
+#endif
+
#define ACE_HAS_BYTESEX_H

#if (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500)

0 comments on commit 7423b72

Please sign in to comment.