diff --git a/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Add-BISONFLAGS-support.patch b/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Add-BISONFLAGS-support.patch index fb29fdc47e..6a569dab13 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Add-BISONFLAGS-support.patch +++ b/meta-networking/recipes-support/ntpsec/ntpsec/0001-wscript-Add-BISONFLAGS-support.patch @@ -1,19 +1,20 @@ -From 792cb4f9d13450251c6344eed2b35f382c98df0d Mon Sep 17 00:00:00 2001 +From f57a965e30deb280894779c177c443302a8439fc Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Thu, 19 Jan 2023 13:00:45 +0000 Subject: [PATCH] wscript: Add BISONFLAGS support ---- Upstream-Status: Pending +Signed-off-by: Ankur Tyagi +--- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript -index 7329d6e46889..de51f1e9cdd9 100644 +index 65592c9..694869f 100644 --- a/wscript +++ b/wscript -@@ -140,6 +140,7 @@ def configure(ctx): +@@ -139,6 +139,7 @@ def configure(ctx): # Ensure m4 is present, or bison will fail with SIGPIPE ctx.find_program('m4') ctx.load('bison') @@ -21,8 +22,8 @@ index 7329d6e46889..de51f1e9cdd9 100644 for opt in opt_map: ctx.env[opt] = opt_map[opt] -@@ -911,6 +912,7 @@ int main(int argc, char **argv) { - msg_setting("CFLAGS", " ".join(ctx.env.CFLAGS)) +@@ -888,6 +889,7 @@ int main(int argc, char **argv) { + # print("CFLAGS:", sorted(ctx.env.CFLAGS)) msg_setting("LDFLAGS", " ".join(ctx.env.LDFLAGS)) msg_setting("LINKFLAGS_NTPD", " ".join(ctx.env.LINKFLAGS_NTPD)) + msg_setting("BISONFLAGS", ctx.env.BISONFLAGS) diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.5.bb similarity index 97% rename from meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb rename to meta-networking/recipes-support/ntpsec/ntpsec_1.2.5.bb index 3f78029bb5..26348f7c4b 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.5.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSES/BSD-2-Clause.txt;md5=653830da7b770a32f6f50f6 file://LICENSES/CC-BY-4.0.txt;md5=2ab724713fdaf49e4523c4503bfd068d \ file://LICENSES/MIT.txt;md5=5a9dfc801af3eb49df2055c9b07918b2 \ file://LICENSES/NTP.txt;md5=cb56b7747f86157c78ca81f224806694" - + DEPENDS += "bison-native \ openssl \ python3" @@ -17,7 +17,7 @@ SRC_URI = "https://ftp.ntpsec.org/pub/releases/ntpsec-${PV}.tar.gz \ file://0001-wscript-Add-BISONFLAGS-support.patch \ " -SRC_URI[sha256sum] = "443e54a6149d1b0bf08677d17b18fced9028b101fc2ffd2c81e0834f87eebc7d" +SRC_URI[sha256sum] = "6fb191cddaf607e7754b1f6915a1a61dc4018b3e4eef3d2ffacec961c9682949" UPSTREAM_CHECK_URI = "ftp://ftp.ntpsec.org/pub/releases/"