diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-12 12:28:43 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-13 22:32:07 -0700 |
commit | d87fb0d30c441714a4cfe8faaf389c25d0cb7f6d (patch) | |
tree | da2707e538eb2abeab25c67071c5b34cbf8d3fba /meta-networking/recipes-support/fwknop | |
parent | ca50225db70e13aa9813867be0c87996acdb104c (diff) | |
download | meta-openembedded-d87fb0d30c441714a4cfe8faaf389c25d0cb7f6d.tar.gz |
fwknop: Fix build with gcc10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/fwknop')
-rw-r--r-- | meta-networking/recipes-support/fwknop/fwknop/0001-Fix-compilation-with-GCC-s-fno-common-flag-fixes-305.patch | 27 | ||||
-rw-r--r-- | meta-networking/recipes-support/fwknop/fwknop_2.6.10.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/fwknop/fwknop/0001-Fix-compilation-with-GCC-s-fno-common-flag-fixes-305.patch b/meta-networking/recipes-support/fwknop/fwknop/0001-Fix-compilation-with-GCC-s-fno-common-flag-fixes-305.patch new file mode 100644 index 000000000..e696ac4ea --- /dev/null +++ b/meta-networking/recipes-support/fwknop/fwknop/0001-Fix-compilation-with-GCC-s-fno-common-flag-fixes-305.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 5aea816f27a71e6c88ad50e7326fa6584eeb7ad9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Francois Marier <francois@debian.org> | ||
3 | Date: Fri, 24 Jul 2020 21:22:47 -0700 | ||
4 | Subject: [PATCH] Fix compilation with GCC's -fno-common flag (fixes #305) | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/mrash/fwknop/pull/319] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | client/log_msg.h | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/client/log_msg.h b/client/log_msg.h | ||
13 | index cc17716..3dda161 100644 | ||
14 | --- a/client/log_msg.h | ||
15 | +++ b/client/log_msg.h | ||
16 | @@ -38,7 +38,7 @@ enum | ||
17 | LOG_VERBOSITY_INFO, /*!< Constant to define a INFO message */ | ||
18 | LOG_VERBOSITY_DEBUG, /*!< Constant to define a DEBUG message */ | ||
19 | LOG_LAST_VERBOSITY | ||
20 | -} log_level_t; | ||
21 | +}; | ||
22 | |||
23 | #define LOG_DEFAULT_VERBOSITY LOG_VERBOSITY_NORMAL /*!< Default verbosity to use */ | ||
24 | |||
25 | -- | ||
26 | 2.28.0 | ||
27 | |||
diff --git a/meta-networking/recipes-support/fwknop/fwknop_2.6.10.bb b/meta-networking/recipes-support/fwknop/fwknop_2.6.10.bb index 3eca3ab62..c3681f925 100644 --- a/meta-networking/recipes-support/fwknop/fwknop_2.6.10.bb +++ b/meta-networking/recipes-support/fwknop/fwknop_2.6.10.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | |||
6 | inherit autotools-brokensep | 6 | inherit autotools-brokensep |
7 | 7 | ||
8 | SRC_URI = "http://www.cipherdyne.org/${BPN}/download/${BPN}-${PV}.tar.bz2 \ | 8 | SRC_URI = "http://www.cipherdyne.org/${BPN}/download/${BPN}-${PV}.tar.bz2 \ |
9 | file://0001-Fix-compilation-with-GCC-s-fno-common-flag-fixes-305.patch \ | ||
9 | " | 10 | " |
10 | SRC_URI[md5sum] = "47a9c7c214c40dceb5dc2aa8832e4f32" | 11 | SRC_URI[md5sum] = "47a9c7c214c40dceb5dc2aa8832e4f32" |
11 | SRC_URI[sha256sum] = "f6c09bec97ed8e474a98ae14f9f53e1bcdda33393f20667b6af3fb6bb894ca77" | 12 | SRC_URI[sha256sum] = "f6c09bec97ed8e474a98ae14f9f53e1bcdda33393f20667b6af3fb6bb894ca77" |