Skip to contentSkip to conversation

lowpan-tools: Blacklist as its deprecated use wpan-tools instead

PATCH New Khem Raj 1 participant 2 messages Nov 12, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 lowpan-tools: Blacklist as its deprecated use wpan-tools instead

---
v2: Delete lowpan-tools from packagegroup-meta-networking

 .../recipes-core/packagegroups/packagegroup-meta-networking.bb  | 2 +-
 .../recipes-support/lowpan-tools/lowpan-tools_git.bb            | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +1 -1
index 8f8d7fe3c8..9109b105f9 100644
@@ -108,7 +108,7 @@ RDEPENDS_packagegroup-meta-networking-support = "\
     usbredir ntop wireshark tnftp lksctp-tools \
     cim-schema-docs cim-schema-final cim-schema-exper \
     libmemcached smcroute libtevent ipcalc c-ares uftp \
-    ntimed linux-atm ssmtp openvpn lowpan-tools rdma-core \
+    ntimed linux-atm ssmtp openvpn rdma-core \
     iftop aoetools tcpslice tcpdump libtalloc memcached nuttcp netcat \
     netcat-openbsd fetchmail yp-tools ypbind-mt yp-tools \
     arptables macchanger nghttp2 strongswan fping \
meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb +2 -0
index b70c43f156..585968f836 100644
@@ -35,3 +35,5 @@ FILES_${PN}-dbg += "${libexecdir}/lowpan-tools/.debug/"
 
 PACKAGES =+ "${PN}-python"
 FILES_${PN}-python = "${libdir}/python*"
+
+PNBLACKLIST[lowpan-tools] = "WARNING these tools are deprecated! Use wpan-tools instead"
Signature · 1 line
2.24.0
author
#1 lore raw

PATCH 1/1 pidgin-sipe: Fix build when time_t is 64bit

---
 ...-consider-64bit-time_t-when-printing.patch | 31 +++++++++++++++++++
 .../pidgin/pidgin-sipe_1.25.0.bb              |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-support/pidgin/pidgin-sipe/0001-sipe-consider-64bit-time_t-when-printing.patch
meta-oe/recipes-support/pidgin/pidgin-sipe/0001-sipe-consider-64bit-time_t-when-printing.patch new file +31 -0
new file mode 100644
index 0000000000..e7a72953da
@@ -0,0 +1,31 @@
+From ae6fa551907006c612cca98b87f339d4d6f45e25 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Mon, 11 Nov 2019 21:08:11 -0800
+Subject: [PATCH] sipe: consider 64bit time_t when printing
+
+This helps printing 64bit time_t on 32bit architectures
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/core/sipe-utils.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/core/sipe-utils.c b/src/core/sipe-utils.c
+index 12ff8d6..d3d4071 100644
+--- a/src/core/sipe-utils.c
++++ b/src/core/sipe-utils.c
+@@ -414,8 +414,8 @@ sipe_utils_time_to_str(time_t timestamp)
+ 	if (result)
+ 		return(result);
+ 
+-	SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lu to ISO8601 string",
+-			 timestamp);
++	SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lld to ISO8601 string",
++			 (long long int)timestamp);
+ 	return(g_strdup(""));
+ }
+ 
+-- 
+2.24.0
+
meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb +1 -0
index 1d739874be..7dc63164e3 100644
@@ -8,6 +8,7 @@ DEPENDS = "pidgin gmime intltool-native glib-2.0-native"
 inherit autotools gettext pkgconfig
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \
+           file://0001-sipe-consider-64bit-time_t-when-printing.patch \
 "
 
 SRC_URI[md5sum] = "0e742f021dc8c3f17435aea05c3e0314"
Signature · 1 line
2.24.0