* [Buildroot] [PATCH] package/picocom: bump to version 2023-04
@ 2024-01-03 16:49 Baruch Siach via buildroot
2024-01-04 21:44 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach via buildroot @ 2024-01-03 16:49 UTC (permalink / raw)
To: buildroot
Switch to new upstream.
Drop upstream patch.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
.checkpackageignore | 1 -
...-with-libc-s-without-cispeed-cospeed.patch | 49 -------------------
package/picocom/Config.in | 2 +-
package/picocom/picocom.hash | 2 +-
package/picocom/picocom.mk | 4 +-
5 files changed, 4 insertions(+), 54 deletions(-)
delete mode 100644 package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch
diff --git a/.checkpackageignore b/.checkpackageignore
index 40d9fb1ed440..7e15db0d29c4 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -1047,7 +1047,6 @@ package/php/0002-iconv-tweak-iconv-detection.patch Upstream
package/php/0003-configure-disable-the-phar-tool.patch Upstream
package/php/0004-Call-apxs-with-correct-prefix.patch Upstream
package/php/0005-allow-opcache-cross-compiling.patch Upstream
-package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch Upstream
package/pifmrds/0001-Makefile-cross-compile-friendly.patch Upstream
package/pifmrds/0002-Makefile-use-LDFLAGS.patch Upstream
package/pifmrds/0003-Makefile-fix-static-link.patch Upstream
diff --git a/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch b/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch
deleted file mode 100644
index 5143e311020a..000000000000
--- a/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 30c712c5f14306460c44bea70e24419db9d44f8c Mon Sep 17 00:00:00 2001
-From: Nick Patavalis <npat@efault.net>
-Date: Thu, 12 Apr 2018 15:16:04 +0300
-Subject: [PATCH] Compile with libc's without cispeed / cospeed
-
-Some libc implementations (e.g. musl) do not define the cispeed and
-cospeed struct termios fields. So we have to check the
-_HAVE_STRUCT_TERMIOS_C_ISPEED and _HAVE_STRUCT_TERMIOS_C_OSPEED
-macros. If not defined, we disable custom baudrate support.
-
-[baruch: backported from upstream master to 3.1]
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
-Upstream status: commit 1acf1ddabaf3
-
- custbaud.h | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/custbaud.h b/custbaud.h
-index 48151a4a4e84..ae4ae8daf49e 100644
---- a/custbaud.h
-+++ b/custbaud.h
-@@ -26,6 +26,8 @@
- #ifndef CUSTBAUD_H
- #define CUSTBAUD_H
-
-+#include <termios.h>
-+
- #ifndef NO_CUSTOM_BAUD
-
- #if defined (__linux__)
-@@ -33,7 +35,13 @@
- /* Enable by-default for kernels > 2.6.0 on x86 and x86_64 only */
- #include <linux/version.h>
- #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0)
--#if defined (__i386__) || defined (__x86_64__) || defined (USE_CUSTOM_BAUD)
-+/* Some libc implementations (e.g. musl) do not define the cispeed and
-+ cospeed struct termios fields. We do not support custom baudrates
-+ on them. */
-+#if ( (defined (__i386__) || defined (__x86_64__)) \
-+ && defined (_HAVE_STRUCT_TERMIOS_C_ISPEED) \
-+ && defined (_HAVE_STRUCT_TERMIOS_C_OSPEED) ) \
-+ || defined (USE_CUSTOM_BAUD)
- #ifndef USE_CUSTOM_BAUD
- #define USE_CUSTOM_BAUD
- #endif
---
-2.16.3
-
diff --git a/package/picocom/Config.in b/package/picocom/Config.in
index 9f8efc4a9a4b..6db71e1791a7 100644
--- a/package/picocom/Config.in
+++ b/package/picocom/Config.in
@@ -6,4 +6,4 @@ config BR2_PACKAGE_PICOCOM
in principle, very much like minicom, only it's pico instead
of mini!
- https://github.com/npat-efault/picocom/
+ https://gitlab.com/wsakernel/picocom
diff --git a/package/picocom/picocom.hash b/package/picocom/picocom.hash
index 77c270408c3a..8107f5633a6c 100644
--- a/package/picocom/picocom.hash
+++ b/package/picocom/picocom.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 e6761ca932ffc6d09bd6b11ff018bdaf70b287ce518b3282d29e0270e88420bb picocom-3.1.tar.gz
+sha256 107d3e49e502ce63f826525f587826990451bcb39492efe2e0463dd62d64f3ea picocom-2023-04.tar.gz
sha256 9273c6b2c55be95f0f0df292d87e8900e5bfdf5b510a6ea09e80306cf45c10f6 LICENSE.txt
diff --git a/package/picocom/picocom.mk b/package/picocom/picocom.mk
index 2d585bb2f5fe..2828c98fb7f9 100644
--- a/package/picocom/picocom.mk
+++ b/package/picocom/picocom.mk
@@ -4,8 +4,8 @@
#
################################################################################
-PICOCOM_VERSION = 3.1
-PICOCOM_SITE = $(call github,npat-efault,picocom,$(PICOCOM_VERSION))
+PICOCOM_VERSION = 2023-04
+PICOCOM_SITE = $(call gitlab,wsakernel,picocom,$(PICOCOM_VERSION))
PICOCOM_LICENSE = GPL-2.0+
PICOCOM_LICENSE_FILES = LICENSE.txt
PICOCOM_CPE_ID_VENDOR = picocom_project
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/picocom: bump to version 2023-04
2024-01-03 16:49 [Buildroot] [PATCH] package/picocom: bump to version 2023-04 Baruch Siach via buildroot
@ 2024-01-04 21:44 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-04 21:44 UTC (permalink / raw)
To: Baruch Siach via buildroot; +Cc: buildroot
On Wed, 3 Jan 2024 18:49:06 +0200
Baruch Siach via buildroot <buildroot@buildroot.org> wrote:
> Switch to new upstream.
>
> Drop upstream patch.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> .checkpackageignore | 1 -
> ...-with-libc-s-without-cispeed-cospeed.patch | 49 -------------------
> package/picocom/Config.in | 2 +-
> package/picocom/picocom.hash | 2 +-
> package/picocom/picocom.mk | 4 +-
> 5 files changed, 4 insertions(+), 54 deletions(-)
> delete mode 100644 package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch
Applied to master, thanks. However, it looks like release-monitoring
isn't aware of this new upstream, at least based on
https://release-monitoring.org/project/3634/. Perhaps something you
could contribute to release-monitoring.org?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-04 21:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 16:49 [Buildroot] [PATCH] package/picocom: bump to version 2023-04 Baruch Siach via buildroot
2024-01-04 21:44 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.