diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-02-07 21:35:12 -0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-04-06 08:12:18 -0400 |
commit | 569c48ef5bce0380f09458a0f735a5126b20ca73 (patch) | |
tree | e3135bb7177dcd505facae7b4ce54468134d443c /meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch | |
parent | 07e698cd467c9d7eb0634b7d39a882120a7321c8 (diff) | |
download | meta-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/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch')
-rw-r--r-- | meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch | 34 |
1 files changed, 15 insertions, 19 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 512e246c56..effe25c85c 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 | ||
14 | diff --git a/Makefile.am b/Makefile.am | 14 | Index: opensaf-5.18.02/Makefile.am |
15 | index 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 |
32 | diff --git a/configure.ac b/configure.ac | 32 | Index: opensaf-5.18.02/configure.ac |
33 | index 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 | ############################################# |
45 | diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 | 45 | Index: opensaf-5.18.02/m4/ax_check_compile_flag.m4 |
46 | new file mode 100644 | 46 | =================================================================== |
47 | index 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 | -- | ||
126 | 2.12.2 | ||
127 | |||