diff mbox series

[4/4] scocat: upgrade 1.8.0.0 -> 1.8.0.1

Message ID 20241127233600.4124020-4-hongxu.jia@windriver.com
State New
Headers show
Series [1/4] man-db: upgrade 2.12.1 -> 2.13.0 | expand

Commit Message

Hongxu Jia Nov. 27, 2024, 11:36 p.m. UTC
Rebase 0001-fix-compile-procan.c-failed.patch to 1.8.0.1

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../0001-fix-compile-procan.c-failed.patch    | 30 +++++++++----------
 .../{socat_1.8.0.0.bb => socat_1.8.0.1.bb}    |  2 +-
 2 files changed, 16 insertions(+), 16 deletions(-)
 rename meta/recipes-connectivity/socat/{socat_1.8.0.0.bb => socat_1.8.0.1.bb} (95%)
diff mbox series

Patch

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 @@ 
-From 4f887cc665c9a48b83e20ef4abe57afa7e365e0e Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@eng.windriver.com>
-Date: Tue, 5 Dec 2023 23:02:22 -0800
-Subject: [PATCH v2] fix compile procan.c failed
+From c4c3d5f2d4dfe8167205e8d20b4cb7a197706c16 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Wed, 27 Nov 2024 04:09:59 -0800
+Subject: [PATCH] fix compile procan.c failed
 
 1. Compile socat failed if out of tree build (build dir != source dir)
 ...
@@ -24,23 +24,23 @@  C source compile. Use first word of $(CC) to defeine marco CC
 [1] https://repo.or.cz/socat.git/commit/cd5673dbd0786c94e0b3ace7e35fab14c01e3185
 
 Upstream-Status: Submitted [socat@dest-unreach.org]
-Signed-off-by: Hongxu Jia <hongxu.jia@eng.windriver.com>
+
+Rebase to 1.8.0.1
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
 ---
- Makefile.in | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
+ Makefile.in | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/Makefile.in b/Makefile.in
-index c01b1a4..48dad69 100644
+index 631d31d..103d4d1 100644
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -109,8 +109,8 @@ depend: $(CFILES) $(HFILES)
- socat: socat.o libxio.a
+@@ -110,7 +110,7 @@ socat: socat.o libxio.a
  	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS)
  
--procan.o: procan.c
--	$(CC) $(CFLAGS) -c -D CC=\"$(CC)\" -o $@ procan.c
-+procan.o: $(srcdir)/procan.c
-+	$(CC) $(CFLAGS) -c -D CC=\"$(firstword $(CC))\" -o $@ $(srcdir)/procan.c
+ procan.o: $(srcdir)/procan.c
+-	$(CC) $(CFLAGS) -c -D CC="\"$(CC)\"" -o $@ $(srcdir)/procan.c
++	$(CC) $(CFLAGS) -c -D CC="\"$(firstword $(CC))\"" -o $@ $(srcdir)/procan.c
  
  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
  procan: $(PROCAN_OBJS)
@@ -58,5 +58,5 @@  index c01b1a4..48dad69 100644
  	$(INSTALL) -m 755 filan $(DESTDIR)$(BINDEST)
  	mkdir -p $(DESTDIR)$(MANDEST)/man1
 -- 
-2.42.0
+2.25.1
 
diff --git a/meta/recipes-connectivity/socat/socat_1.8.0.0.bb b/meta/recipes-connectivity/socat/socat_1.8.0.1.bb
similarity index 95%
rename from meta/recipes-connectivity/socat/socat_1.8.0.0.bb
rename to 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 \
            file://0001-fix-compile-procan.c-failed.patch \
 "
 
-SRC_URI[sha256sum] = "e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7"
+SRC_URI[sha256sum] = "6a283565db7cf86292c6f70504c58abb03e29888adeed5a6c5f3457e803c1b81"
 
 inherit autotools