All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Update libstrophe to 0.12.0
@ 2022-05-30 11:45 Michael Vetter
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Vetter @ 2022-05-30 11:45 UTC (permalink / raw)
  To: buildroot; +Cc: Michael Vetter

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
---
 package/libstrophe/libstrophe.hash | 2 +-
 package/libstrophe/libstrophe.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libstrophe/libstrophe.hash b/package/libstrophe/libstrophe.hash
index 9551b191c6..39e9a89bf8 100644
--- a/package/libstrophe/libstrophe.hash
+++ b/package/libstrophe/libstrophe.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  feafee545403d26a44aa573d4adf327d6d07ad3f3466370634d22bbac5bd49ee  libstrophe-0.11.0.tar.xz
+sha256  8e44acb26018816f9856626bd5ff924a36cc612d2b3747ee634d626326b72df7  libstrophe-0.11.0.tar.xz
 sha256  82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08  MIT-LICENSE.txt
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  GPL-LICENSE.txt
diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk
index 04ba0a69d0..f48d073770 100644
--- a/package/libstrophe/libstrophe.mk
+++ b/package/libstrophe/libstrophe.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSTROPHE_VERSION = 0.11.0
+LIBSTROPHE_VERSION = 0.12.0
 LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
 LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
 LIBSTROPHE_DEPENDENCIES = host-pkgconf
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] Update libstrophe to 0.12.0
  2022-05-30 13:27 Michael Vetter
@ 2022-05-30 18:54 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-05-30 18:54 UTC (permalink / raw)
  To: Michael Vetter; +Cc: buildroot

Hello Michael,

On Mon, 30 May 2022 15:27:07 +0200
Michael Vetter <jubalh@iodoru.org> wrote:

> Update libstrophe to 0.12.0
> And fix the build with: libstrophe/0001-fix-ssize_t.patch
> Discussion upstream at: https://github.com/strophe/libstrophe/pull/207
> 
> Signed-off-by: Michael Vetter <jubalh@iodoru.org>
> ---
>  package/libstrophe/0001-fix-ssize_t.patch | 46 +++++++++++++++++++++++
>  package/libstrophe/libstrophe.hash        |  2 +-
>  package/libstrophe/libstrophe.mk          |  2 +-
>  3 files changed, 48 insertions(+), 2 deletions(-)
>  create mode 100644 package/libstrophe/0001-fix-ssize_t.patch

Thanks for your patch, which I have applied to the next branch.
However, a few things had to be fixed.

 - The commit title should have been "package/libstrophe: bump to
   version 0.12.0"

 - The patch in package/libstrophe/ should have had your Signed-off-by
   line

 - The patch in package/libstrophe/ should have contained the upstream
   status (instead of having it in the commit log)

I fixed those details when applying. Thanks a lot!

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] 5+ messages in thread

* [Buildroot] [PATCH 1/1] Update libstrophe to 0.12.0
@ 2022-05-30 13:27 Michael Vetter
  2022-05-30 18:54 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Vetter @ 2022-05-30 13:27 UTC (permalink / raw)
  To: buildroot; +Cc: Michael Vetter

Update libstrophe to 0.12.0
And fix the build with: libstrophe/0001-fix-ssize_t.patch
Discussion upstream at: https://github.com/strophe/libstrophe/pull/207

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
---
 package/libstrophe/0001-fix-ssize_t.patch | 46 +++++++++++++++++++++++
 package/libstrophe/libstrophe.hash        |  2 +-
 package/libstrophe/libstrophe.mk          |  2 +-
 3 files changed, 48 insertions(+), 2 deletions(-)
 create mode 100644 package/libstrophe/0001-fix-ssize_t.patch

diff --git a/package/libstrophe/0001-fix-ssize_t.patch b/package/libstrophe/0001-fix-ssize_t.patch
new file mode 100644
index 0000000000..9e4f0b1e93
--- /dev/null
+++ b/package/libstrophe/0001-fix-ssize_t.patch
@@ -0,0 +1,46 @@
+From f31ef9c35c9bba831510777d551c4179295b208f Mon Sep 17 00:00:00 2001
+From: Michael Vetter <jubalh@iodoru.org>
+Date: Mon, 30 May 2022 14:47:44 +0200
+Subject: [PATCH] Include sys/types.h for ssize_t
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+When compiling on buildroot I get:
+`src/tls.c:235:28: error: ‘ssize_t’ undeclared (first use in this
+function); did you mean ‘size_t’? `
+
+To have this POSIX type available we will need to include
+`sys/types.h` on Linux. Unsure about other systems.
+---
+ src/rand.c | 1 +
+ src/tls.c  | 4 ++++
+ 2 files changed, 5 insertions(+)
+
+diff --git a/src/rand.c b/src/rand.c
+index 061e85ee..25e4614a 100644
+--- a/src/rand.c
++++ b/src/rand.c
+@@ -28,6 +28,7 @@
+ #if __GLIBC_PREREQ(2, 25)
+ #define USE_GETRANDOM
+ #include <sys/random.h>
++#include <sys/types.h>
+ #include <errno.h>
+ #endif
+ #endif
+diff --git a/src/tls.c b/src/tls.c
+index 17d85dda..54746baa 100644
+--- a/src/tls.c
++++ b/src/tls.c
+@@ -21,6 +21,10 @@
+ #include <stdarg.h>
+ #include <string.h>
+ 
++#if defined(__linux__)
++#include <sys/types.h>
++#endif
++
+ #include "strophe.h"
+ 
+ #include "common.h"
diff --git a/package/libstrophe/libstrophe.hash b/package/libstrophe/libstrophe.hash
index 9551b191c6..66ff0e7e7e 100644
--- a/package/libstrophe/libstrophe.hash
+++ b/package/libstrophe/libstrophe.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  feafee545403d26a44aa573d4adf327d6d07ad3f3466370634d22bbac5bd49ee  libstrophe-0.11.0.tar.xz
+sha256  8e44acb26018816f9856626bd5ff924a36cc612d2b3747ee634d626326b72df7  libstrophe-0.12.0.tar.xz
 sha256  82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08  MIT-LICENSE.txt
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  GPL-LICENSE.txt
diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk
index 04ba0a69d0..f48d073770 100644
--- a/package/libstrophe/libstrophe.mk
+++ b/package/libstrophe/libstrophe.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSTROPHE_VERSION = 0.11.0
+LIBSTROPHE_VERSION = 0.12.0
 LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
 LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
 LIBSTROPHE_DEPENDENCIES = host-pkgconf
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] Update libstrophe to 0.12.0
@ 2022-05-30 11:49 Michael Vetter
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Vetter @ 2022-05-30 11:49 UTC (permalink / raw)
  To: buildroot; +Cc: Michael Vetter

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
---
 package/libstrophe/libstrophe.hash | 2 +-
 package/libstrophe/libstrophe.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libstrophe/libstrophe.hash b/package/libstrophe/libstrophe.hash
index 9551b191c6..66ff0e7e7e 100644
--- a/package/libstrophe/libstrophe.hash
+++ b/package/libstrophe/libstrophe.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  feafee545403d26a44aa573d4adf327d6d07ad3f3466370634d22bbac5bd49ee  libstrophe-0.11.0.tar.xz
+sha256  8e44acb26018816f9856626bd5ff924a36cc612d2b3747ee634d626326b72df7  libstrophe-0.12.0.tar.xz
 sha256  82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08  MIT-LICENSE.txt
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  GPL-LICENSE.txt
diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk
index 04ba0a69d0..f48d073770 100644
--- a/package/libstrophe/libstrophe.mk
+++ b/package/libstrophe/libstrophe.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSTROPHE_VERSION = 0.11.0
+LIBSTROPHE_VERSION = 0.12.0
 LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
 LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
 LIBSTROPHE_DEPENDENCIES = host-pkgconf
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] Update libstrophe to 0.12.0
@ 2022-05-30 11:48 Michael Vetter
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Vetter @ 2022-05-30 11:48 UTC (permalink / raw)
  To: buildroot; +Cc: Michael Vetter

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
---
 package/libstrophe/libstrophe.hash | 2 +-
 package/libstrophe/libstrophe.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libstrophe/libstrophe.hash b/package/libstrophe/libstrophe.hash
index 9551b191c6..39e9a89bf8 100644
--- a/package/libstrophe/libstrophe.hash
+++ b/package/libstrophe/libstrophe.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  feafee545403d26a44aa573d4adf327d6d07ad3f3466370634d22bbac5bd49ee  libstrophe-0.11.0.tar.xz
+sha256  8e44acb26018816f9856626bd5ff924a36cc612d2b3747ee634d626326b72df7  libstrophe-0.11.0.tar.xz
 sha256  82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08  MIT-LICENSE.txt
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  GPL-LICENSE.txt
diff --git a/package/libstrophe/libstrophe.mk b/package/libstrophe/libstrophe.mk
index 04ba0a69d0..f48d073770 100644
--- a/package/libstrophe/libstrophe.mk
+++ b/package/libstrophe/libstrophe.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSTROPHE_VERSION = 0.11.0
+LIBSTROPHE_VERSION = 0.12.0
 LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
 LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
 LIBSTROPHE_DEPENDENCIES = host-pkgconf
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-30 18:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30 11:45 [Buildroot] [PATCH 1/1] Update libstrophe to 0.12.0 Michael Vetter
2022-05-30 11:48 Michael Vetter
2022-05-30 11:49 Michael Vetter
2022-05-30 13:27 Michael Vetter
2022-05-30 18:54 ` 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.