summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/opensaf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-02-07 21:35:12 -0800
committerJoe MacDonald <joe_macdonald@mentor.com>2018-04-06 08:12:18 -0400
commit569c48ef5bce0380f09458a0f735a5126b20ca73 (patch)
treee3135bb7177dcd505facae7b4ce54468134d443c /meta-networking/recipes-daemons/opensaf
parent07e698cd467c9d7eb0634b7d39a882120a7321c8 (diff)
downloadmeta-openembedded-569c48ef5bce0380f09458a0f735a5126b20ca73.tar.gz
opensaf: Upgrade to 5.18.02
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/opensaf')
-rw-r--r--meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch34
-rw-r--r--meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb (renamed from meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb)4
2 files changed, 17 insertions, 21 deletions
diff --git a/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch b/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch
index 512e246c5..effe25c85 100644
--- a/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch
+++ b/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch
@@ -11,10 +11,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 3 files changed, 79 insertions(+), 3 deletions(-) 11 3 files changed, 79 insertions(+), 3 deletions(-)
12 create mode 100644 m4/ax_check_compile_flag.m4 12 create mode 100644 m4/ax_check_compile_flag.m4
13 13
14diff --git a/Makefile.am b/Makefile.am 14Index: opensaf-5.18.02/Makefile.am
15index d63fbbb..1012a2c 100644 15===================================================================
16--- a/Makefile.am 16--- opensaf-5.18.02.orig/Makefile.am
17+++ b/Makefile.am 17+++ opensaf-5.18.02/Makefile.am
18@@ -52,10 +52,10 @@ AM_CPPFLAGS = \ 18@@ -52,10 +52,10 @@ AM_CPPFLAGS = \
19 -pthread \ 19 -pthread \
20 -D_GNU_SOURCE -DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"' \ 20 -D_GNU_SOURCE -DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"' \
@@ -26,14 +26,14 @@ index d63fbbb..1012a2c 100644
26-AM_CXXFLAGS = -pipe -std=gnu++11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror 26-AM_CXXFLAGS = -pipe -std=gnu++11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror
27+AM_CFLAGS = -pipe -std=gnu11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror @NOWARNINGS@ 27+AM_CFLAGS = -pipe -std=gnu11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror @NOWARNINGS@
28+AM_CXXFLAGS = -pipe -std=gnu++11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror @NOWARNINGS@ 28+AM_CXXFLAGS = -pipe -std=gnu++11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror @NOWARNINGS@
29 AM_LDFLAGS = @OSAF_HARDEN_FLAGS@ -Wl,--as-needed -ldl -lrt -pthread -rdynamic 29
30 ACLOCAL_AMFLAGS = -I m4 30 if ENABLE_GCOV
31 OSAF_LIB_FLAGS = 31 AM_CFLAGS += --coverage
32diff --git a/configure.ac b/configure.ac 32Index: opensaf-5.18.02/configure.ac
33index 02771c6..b76b0fe 100644 33===================================================================
34--- a/configure.ac 34--- opensaf-5.18.02.orig/configure.ac
35+++ b/configure.ac 35+++ opensaf-5.18.02/configure.ac
36@@ -557,6 +557,8 @@ if test -z "$OSAF_HARDEN_FLAGS"; then 36@@ -593,6 +593,8 @@ if test -z "$OSAF_HARDEN_FLAGS"; then
37 fi 37 fi
38 AC_SUBST(OSAF_HARDEN_FLAGS) 38 AC_SUBST(OSAF_HARDEN_FLAGS)
39 39
@@ -42,11 +42,10 @@ index 02771c6..b76b0fe 100644
42 ############################################# 42 #############################################
43 # List the output Makefiles 43 # List the output Makefiles
44 ############################################# 44 #############################################
45diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 45Index: opensaf-5.18.02/m4/ax_check_compile_flag.m4
46new file mode 100644 46===================================================================
47index 0000000..dcabb92
48--- /dev/null 47--- /dev/null
49+++ b/m4/ax_check_compile_flag.m4 48+++ opensaf-5.18.02/m4/ax_check_compile_flag.m4
50@@ -0,0 +1,74 @@ 49@@ -0,0 +1,74 @@
51+# =========================================================================== 50+# ===========================================================================
52+# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html 51+# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
@@ -122,6 +121,3 @@ index 0000000..dcabb92
122+ [m4_default([$3], :)]) 121+ [m4_default([$3], :)])
123+AS_VAR_POPDEF([CACHEVAR])dnl 122+AS_VAR_POPDEF([CACHEVAR])dnl
124+])dnl AX_CHECK_COMPILE_FLAGS 123+])dnl AX_CHECK_COMPILE_FLAGS
125--
1262.12.2
127
diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb b/meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb
index 74483d778..4b556ce8c 100644
--- a/meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb
+++ b/meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb
@@ -25,8 +25,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/releases/${BPN}-${PV}.tar.gz \
25 file://0001-src-Add-missing-header-limits.h-for-_POSIX_HOST_NAME.patch \ 25 file://0001-src-Add-missing-header-limits.h-for-_POSIX_HOST_NAME.patch \
26 file://0001-immpbe_dump.cc-Use-sys-wait.h-instead-of-wait.h.patch \ 26 file://0001-immpbe_dump.cc-Use-sys-wait.h-instead-of-wait.h.patch \
27" 27"
28SRC_URI[md5sum] = "125bcd9aabd7412aedcbfbf73f4e6196" 28SRC_URI[md5sum] = "42064f5ddbc7f560bfc5ff93ea9eecc7"
29SRC_URI[sha256sum] = "3fb2239bb2c9328c8b45368ff8d8de979ea286a27edc9871d218200e88bb91cc" 29SRC_URI[sha256sum] = "f9e24897f9cfd63bb3115f6275c706de1702d3d9bae2fc423227db72b23c37f0"
30 30
31inherit autotools useradd systemd pkgconfig 31inherit autotools useradd systemd pkgconfig
32 32