diff options
author | Yi Fan Yu <yifan.yu@windriver.com> | 2021-04-16 11:36:47 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-04-17 07:43:10 -0700 |
commit | 01d3f9daa0c320070269e9a27a5c88ba11b08aa7 (patch) | |
tree | cde63eb24102dddcd6334db1c5d43eb9ca531b1c /meta-oe/recipes-support/syslog-ng/files/fix-config-libnet.patch | |
parent | 5178615b4356c0043309b3f9e37d16396451a67b (diff) | |
download | meta-openembedded-01d3f9daa0c320070269e9a27a5c88ba11b08aa7.tar.gz |
syslog-ng: upgrade 3.24.1 -> 3.31.2
License-Update:
Reword and clarify which subdir is LGPLv.1 and GPLv2.
Patch-Removal:
* 0001-syslog-ng-fix-segment-fault-during-service-start.patch
https://github.com/buytenh/ivykis/commit/a5e9caddbdb4d9d85133a440edec6aa7c1f018ac
Submit pending patches upstream.
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/syslog-ng/files/fix-config-libnet.patch')
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/files/fix-config-libnet.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/files/fix-config-libnet.patch b/meta-oe/recipes-support/syslog-ng/files/fix-config-libnet.patch deleted file mode 100644 index 4ad0afa954..0000000000 --- a/meta-oe/recipes-support/syslog-ng/files/fix-config-libnet.patch +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | Subject: [PATCH] add libnet enable option | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | This would avoid a implicit auto-detecting result. | ||
6 | |||
7 | Signed-off-by: Ming Liu <ming.liu@windriver.com> | ||
8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
9 | |||
10 | Update for 3.24.1. | ||
11 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | ||
12 | --- | ||
13 | configure.ac | 28 ++++++++++++++++------------ | ||
14 | 1 file changed, 16 insertions(+), 12 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 00eb566..e7d5ac1 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -143,6 +143,9 @@ AC_CONFIG_HEADERS(config.h) | ||
21 | dnl *************************************************************************** | ||
22 | dnl Arguments | ||
23 | |||
24 | +AC_ARG_ENABLE(libnet, | ||
25 | + [ --enable-libnet Enable libnet support.],, enable_libnet="no") | ||
26 | + | ||
27 | AC_ARG_WITH(libnet, | ||
28 | [ --with-libnet=path use path to libnet-config script], | ||
29 | , | ||
30 | @@ -1047,19 +1050,20 @@ dnl *************************************************************************** | ||
31 | dnl libnet headers/libraries | ||
32 | dnl *************************************************************************** | ||
33 | AC_MSG_CHECKING(for LIBNET) | ||
34 | -if test "x$with_libnet" = "x"; then | ||
35 | - LIBNET_CONFIG="`which libnet-config`" | ||
36 | -else | ||
37 | - LIBNET_CONFIG="$with_libnet/libnet-config" | ||
38 | -fi | ||
39 | +if test "x$enable_libnet" = xyes; then | ||
40 | + if test "x$with_libnet" = "x"; then | ||
41 | + LIBNET_CONFIG="`which libnet-config`" | ||
42 | + else | ||
43 | + LIBNET_CONFIG="$with_libnet/libnet-config" | ||
44 | + fi | ||
45 | |||
46 | -if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then | ||
47 | - LIBNET_CFLAGS="`$LIBNET_CONFIG --defines`" | ||
48 | - LIBNET_LIBS="`$LIBNET_CONFIG --libs`" | ||
49 | - AC_MSG_RESULT(yes) | ||
50 | -dnl libnet-config does not provide the _DEFAULT_SOURCE define, that can cause warning during build | ||
51 | -dnl as upstream libnet-config does uses _DEFAULT_SOURCE this is just a fix till | ||
52 | - LIBNET_CFLAGS="$LIBNET_CFLAGS -D_DEFAULT_SOURCE" | ||
53 | + if test -n "$LIBNET_CONFIG" -a -x "$LIBNET_CONFIG"; then | ||
54 | + LIBNET_CFLAGS="`$LIBNET_CONFIG --defines`" | ||
55 | + LIBNET_LIBS="`$LIBNET_CONFIG --libs`" | ||
56 | + AC_MSG_RESULT(yes) | ||
57 | + else | ||
58 | + AC_MSG_ERROR([Could not find libnet, and libnet support was explicitly enabled.]) | ||
59 | + fi | ||
60 | |||
61 | else | ||
62 | LIBNET_LIBS= | ||
63 | -- | ||
64 | 2.7.4 | ||
65 | |||