summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2025-04-05 15:39:12 +0200
committerØrjan Malde <red@foxi.me>2025-04-05 15:39:12 +0200
commit61ba06324f4132a76250dfdc1b55ab694b6f39a8 (patch)
tree7a8a2985ec705cf25a75d98e19c3c6ee247b1c82 /patches
parent172a03c16c2d50b92437c7c1041a6833f24377bf (diff)
downloadmidipix_build-61ba06324f4132a76250dfdc1b55ab694b6f39a8.tar.bz2
midipix_build-61ba06324f4132a76250dfdc1b55ab694b6f39a8.tar.xz
groups.d/211.native_packages_cmdline.d/datamash.package: bump to v1.9
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/datamash-1.9.local.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/datamash-1.9.local.patch b/patches/datamash-1.9.local.patch
new file mode 100644
index 00000000..06e1efde
--- /dev/null
+++ b/patches/datamash-1.9.local.patch
@@ -0,0 +1,21 @@
+diff -ru datamash-1.9.orig/lib/getlocalename_l-unsafe.c datamash-1.9/lib/getlocalename_l-unsafe.c
+--- datamash-1.9.orig/lib/getlocalename_l-unsafe.c 2025-03-28 20:25:41.000000000 +0100
++++ datamash-1.9/lib/getlocalename_l-unsafe.c 2025-04-05 15:32:36.072309321 +0200
+@@ -30,7 +30,7 @@
+ #endif
+ #include "setlocale_null.h"
+
+-#if (__GLIBC__ >= 2 && !defined __UCLIBC__) || (defined __linux__ && HAVE_LANGINFO_H) || defined __CYGWIN__
++#if (__GLIBC__ >= 2 && !defined __UCLIBC__) || (defined __linux__ && HAVE_LANGINFO_H) || defined __CYGWIN__ || defined __midipix__
+ # include <langinfo.h>
+ #endif
+ #if defined __sun
+@@ -480,7 +480,7 @@
+ nl_langinfo_l (_NL_LOCALE_NAME (category), locale). */
+ name = locale->__names[category];
+ return (struct string_with_storage) { name, STORAGE_OBJECT };
+-#elif defined __linux__ && HAVE_LANGINFO_H && defined NL_LOCALE_NAME
++#elif (defined __linux__ || defined __midipix__) && HAVE_LANGINFO_H && defined NL_LOCALE_NAME
+ /* musl libc */
+ const char *name = nl_langinfo_l (NL_LOCALE_NAME (category), locale);
+ return (struct string_with_storage) { name, STORAGE_OBJECT };