diff options
author | hongxu <hongxu.jia@eng.windriver.com> | 2024-11-27 15:36:00 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-29 18:26:14 +0000 |
commit | 3848a579ce04124279e94d63873a5337d3f022e1 (patch) | |
tree | 21ef08c7afdef47e5f6678e795d9bc5746791c6a /meta/recipes-connectivity | |
parent | 2128fc77bfe53735fd548af303da3309c36f7927 (diff) | |
download | poky-3848a579ce04124279e94d63873a5337d3f022e1.tar.gz |
scocat: upgrade 1.8.0.0 -> 1.8.0.1
Rebase 0001-fix-compile-procan.c-failed.patch to 1.8.0.1
(From OE-Core rev: d9b9f3d5e034fa5fb92beb050a03856bbddf0383)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch | 30 | ||||
-rw-r--r-- | meta/recipes-connectivity/socat/socat_1.8.0.1.bb (renamed from meta/recipes-connectivity/socat/socat_1.8.0.0.bb) | 2 |
2 files changed, 16 insertions, 16 deletions
diff --git a/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch b/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch index 9051ae1abe..ea00dfa0a9 100644 --- a/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch +++ b/meta/recipes-connectivity/socat/files/0001-fix-compile-procan.c-failed.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4f887cc665c9a48b83e20ef4abe57afa7e365e0e Mon Sep 17 00:00:00 2001 | 1 | From c4c3d5f2d4dfe8167205e8d20b4cb7a197706c16 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@eng.windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Tue, 5 Dec 2023 23:02:22 -0800 | 3 | Date: Wed, 27 Nov 2024 04:09:59 -0800 |
4 | Subject: [PATCH v2] fix compile procan.c failed | 4 | Subject: [PATCH] fix compile procan.c failed |
5 | 5 | ||
6 | 1. Compile socat failed if out of tree build (build dir != source dir) | 6 | 1. Compile socat failed if out of tree build (build dir != source dir) |
7 | ... | 7 | ... |
@@ -24,23 +24,23 @@ C source compile. Use first word of $(CC) to defeine marco CC | |||
24 | [1] https://repo.or.cz/socat.git/commit/cd5673dbd0786c94e0b3ace7e35fab14c01e3185 | 24 | [1] https://repo.or.cz/socat.git/commit/cd5673dbd0786c94e0b3ace7e35fab14c01e3185 |
25 | 25 | ||
26 | Upstream-Status: Submitted [socat@dest-unreach.org] | 26 | Upstream-Status: Submitted [socat@dest-unreach.org] |
27 | Signed-off-by: Hongxu Jia <hongxu.jia@eng.windriver.com> | 27 | |
28 | Rebase to 1.8.0.1 | ||
29 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
28 | --- | 30 | --- |
29 | Makefile.in | 10 +++++----- | 31 | Makefile.in | 8 ++++---- |
30 | 1 file changed, 5 insertions(+), 5 deletions(-) | 32 | 1 file changed, 4 insertions(+), 4 deletions(-) |
31 | 33 | ||
32 | diff --git a/Makefile.in b/Makefile.in | 34 | diff --git a/Makefile.in b/Makefile.in |
33 | index c01b1a4..48dad69 100644 | 35 | index 631d31d..103d4d1 100644 |
34 | --- a/Makefile.in | 36 | --- a/Makefile.in |
35 | +++ b/Makefile.in | 37 | +++ b/Makefile.in |
36 | @@ -109,8 +109,8 @@ depend: $(CFILES) $(HFILES) | 38 | @@ -110,7 +110,7 @@ socat: socat.o libxio.a |
37 | socat: socat.o libxio.a | ||
38 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS) | 39 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS) |
39 | 40 | ||
40 | -procan.o: procan.c | 41 | procan.o: $(srcdir)/procan.c |
41 | - $(CC) $(CFLAGS) -c -D CC=\"$(CC)\" -o $@ procan.c | 42 | - $(CC) $(CFLAGS) -c -D CC="\"$(CC)\"" -o $@ $(srcdir)/procan.c |
42 | +procan.o: $(srcdir)/procan.c | 43 | + $(CC) $(CFLAGS) -c -D CC="\"$(firstword $(CC))\"" -o $@ $(srcdir)/procan.c |
43 | + $(CC) $(CFLAGS) -c -D CC=\"$(firstword $(CC))\" -o $@ $(srcdir)/procan.c | ||
44 | 44 | ||
45 | PROCAN_OBJS=procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o | 45 | PROCAN_OBJS=procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o |
46 | procan: $(PROCAN_OBJS) | 46 | procan: $(PROCAN_OBJS) |
@@ -58,5 +58,5 @@ index c01b1a4..48dad69 100644 | |||
58 | $(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST) | 58 | $(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST) |
59 | mkdir -p $(DESTDIR)$(MANDEST)/man1 | 59 | mkdir -p $(DESTDIR)$(MANDEST)/man1 |
60 | -- | 60 | -- |
61 | 2.42.0 | 61 | 2.25.1 |
62 | 62 | ||
diff --git a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb b/meta/recipes-connectivity/socat/socat_1.8.0.1.bb index 912605c95c..95b4017040 100644 --- a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb +++ b/meta/recipes-connectivity/socat/socat_1.8.0.1.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ | |||
13 | file://0001-fix-compile-procan.c-failed.patch \ | 13 | file://0001-fix-compile-procan.c-failed.patch \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI[sha256sum] = "e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7" | 16 | SRC_URI[sha256sum] = "6a283565db7cf86292c6f70504c58abb03e29888adeed5a6c5f3457e803c1b81" |
17 | 17 | ||
18 | inherit autotools | 18 | inherit autotools |
19 | 19 | ||