Skip to contentSkip to conversation

package/icu: remove xlocale.h header

PATCH New Romain Naour 2 participants 4 messages Oct 2, 2017 – Oct 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/icu: remove xlocale.h header

Remove xlocale.h header since it's removed from glibc 2.26.

---
 package/icu/0006-i18n-Drop-include-xlocale.h.patch | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 package/icu/0006-i18n-Drop-include-xlocale.h.patch
package/icu/0006-i18n-Drop-include-xlocale.h.patch new file +39 -0
new file mode 100644
index 0000000..a5eb9cb
@@ -0,0 +1,39 @@
+From 5f38e4f8c4be351db96a3be23ce25c97597cc508 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Mon, 2 Oct 2017 22:41:02 +0200
+Subject: [PATCH] i18n: Drop include <xlocale.h>
+
+glibc 2.26 drops this header
+
+Signed-off-by: Khem Raj <[email protected]>
+
+Reported Upstream: http://bugs.icu-project.org/trac/ticket/13385
+From: https://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch?id=931430f94c018bc3f58d70e11ca4a4ae7cb2e19c
+
+Signed-off-by: Romain Naour <[email protected]>
+---
+Upstream-Status: Pending
+---
+ source/i18n/digitlst.cpp | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/source/i18n/digitlst.cpp b/source/i18n/digitlst.cpp
+index 4d7c3f4..f111cf3 100644
+--- a/source/i18n/digitlst.cpp
++++ b/source/i18n/digitlst.cpp
+@@ -61,11 +61,7 @@
+ #endif
+ 
+ #if U_USE_STRTOD_L
+-# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
+-#   include <locale.h>
+-# else
+-#   include <xlocale.h>
+-# endif
++# include <locale.h>
+ #endif
+ 
+ // ***************************************************************************
+-- 
+2.9.5
+
Signature · 1 line
2.9.5
#1 lore raw

PATCH 1/1 package/netsniff-ng: add missing header

Like for nfs-utils and strongswan, add stdint.h header for UINT16_MAX definition

---
 ...0004-staging-compilation-fix-with-new-gcc.patch | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch
package/netsniff-ng/0004-staging-compilation-fix-with-new-gcc.patch new file +31 -0
new file mode 100644
index 0000000..fce604e
@@ -0,0 +1,31 @@
+From 551aa0ee996132e443b5d12cbb6f114ac9aabcd3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <[email protected]>
+Date: Mon, 3 Jul 2017 18:24:32 +0200
+Subject: [PATCH] staging: compilation fix with new gcc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Jaroslav ?karvada <[email protected]>
+
+Upstream patch 551aa0ee996132e443b5d12cbb6f114ac9aabcd3
+Signed-off-by: Romain Naour <[email protected]>
+---
+ staging/mz.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/staging/mz.h b/staging/mz.h
+index 5ed05a7..aa2c36f 100644
+--- a/staging/mz.h
++++ b/staging/mz.h
+@@ -40,6 +40,7 @@
+ #include <netinet/in.h>
+ #include <stdarg.h>
+ #include <math.h>
++#include <stdint.h>
+ 
+ extern int verbose_level;
+ 
+-- 
+2.9.5
+
Signature · 1 line
2.9.5