added my Recipes
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "C++ framework for implementing distributed and networked applications"
|
||||
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=d2c090e9c730fd91677782d8e2091d77"
|
||||
|
||||
DEPENDS += "openssl gperf-native"
|
||||
|
||||
SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_19/ACE-${PV}.tar.bz2 \
|
||||
file://ace_config.patch \
|
||||
file://no_sysctl.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "739be290a38229aaa5b5150e6ea55ce427e80970f0ace4c5040ac46644526f41"
|
||||
|
||||
COMPATIBLE_HOST:libc-musl = "null"
|
||||
|
||||
S = "${WORKDIR}/ACE_wrappers"
|
||||
B = "${WORKDIR}/ACE_wrappers/ace"
|
||||
export ACE_ROOT="${WORKDIR}/ACE_wrappers"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations"
|
||||
CXX:append = " -std=gnu++14 -ffile-prefix-map=${WORKDIR}= -fdebug-prefix-map=${WORKDIR}= "
|
||||
EXTRA_OEMAKE += "INSTALL_LIB=${baselib}"
|
||||
|
||||
do_install() {
|
||||
export D="${D}"
|
||||
oe_runmake install
|
||||
|
||||
for i in $(find ${D} -name "*.pc") ; do
|
||||
sed -i -e s:${D}::g \
|
||||
-e s:/${TARGET_SYS}::g \
|
||||
$i
|
||||
done
|
||||
|
||||
rm -r ${D}/usr/share
|
||||
}
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases"
|
||||
@@ -0,0 +1,11 @@
|
||||
diff -ruN ACE_wrappers1/ace/config.h ACE_wrappers/ace/config.h
|
||||
--- ACE_wrappers1/ace/config.h 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ ACE_wrappers/ace/config.h 2019-01-10 13:36:52.698012477 +0200
|
||||
@@ -0,0 +1,1 @@
|
||||
+#include "ace/config-linux.h"
|
||||
diff -ruN ACE_wrappers1/include/makeinclude/platform_macros.GNU ACE_wrappers/include/makeinclude/platform_macros.GNU
|
||||
--- ACE_wrappers1/include/makeinclude/platform_macros.GNU 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ ACE_wrappers/include/makeinclude/platform_macros.GNU 2018-10-31 15:11:18.265392460 +0200
|
||||
@@ -0,0 +1,2 @@
|
||||
+INSTALL_PREFIX = $(D)$(exec_prefix)
|
||||
+include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
|
||||
@@ -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 <raj.khem@gmail.com>
|
||||
--- 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)
|
||||
Reference in New Issue
Block a user