commit erofs-utils for openSUSE:Factory
Hello community, here is the log from the commit of package erofs-utils for openSUSE:Factory checked in at 2020-05-20 18:44:54 Comparing /work/SRC/openSUSE:Factory/erofs-utils (Old) and /work/SRC/openSUSE:Factory/.erofs-utils.new.2738 (New) Package is "erofs-utils" Wed May 20 18:44:54 2020 rev:6 rq:807366 version:1.1 Changes: --- /work/SRC/openSUSE:Factory/erofs-utils/erofs-utils.changes 2019-11-08 15:28:08.687152924 +0100 +++ /work/SRC/openSUSE:Factory/.erofs-utils.new.2738/erofs-utils.changes 2020-05-20 18:45:43.937318720 +0200 @@ -1,0 +2,9 @@ +Tue May 19 14:52:57 UTC 2020 - David Michael + +- Update to release 1.1 + * add a manual for mkfs.erofs + * add superblock checksum support + * add filesystem UUID support + * add exclude files support + +--- Old: erofs-utils-1.0.tar.xz New: erofs-utils-1.1.tar.xz Other differences: -- ++ erofs-utils.spec ++ --- /var/tmp/diff_new_pack.4WMKis/_old 2020-05-20 18:45:45.105321342 +0200 +++ /var/tmp/diff_new_pack.4WMKis/_new 2020-05-20 18:45:45.109321350 +0200 @@ -1,7 +1,7 @@ # # spec file for package erofs-utils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: erofs-utils -Version:1.0 +Version:1.1 Release:0 Summary:Utilities for the Extendable Read-Only Filesystem (EROFS) License:GPL-2.0-or-later @@ -28,9 +28,11 @@ BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool +BuildRequires: pkg-config BuildRequires: xz Supplements:filesystem(erofs) BuildRequires: liblz4-devel >= 1.9 +BuildRequires: libuuid-devel %description mkfs.erofs is a user-space tool to create erofs filesystem images. It @@ -57,5 +59,6 @@ %files %license COPYING %_sbindir/mkfs* +%_mandir/man1/mkfs* %changelog ++ erofs-utils-1.0.tar.xz -> erofs-utils-1.1.tar.xz ++ 2499 lines of diff (skipped)
commit erofs-utils for openSUSE:Factory
Hello community, here is the log from the commit of package erofs-utils for openSUSE:Factory checked in at 2019-11-08 15:27:58 Comparing /work/SRC/openSUSE:Factory/erofs-utils (Old) and /work/SRC/openSUSE:Factory/.erofs-utils.new.2990 (New) Package is "erofs-utils" Fri Nov 8 15:27:58 2019 rev:5 rq:746508 version:1.0 Changes: --- /work/SRC/openSUSE:Factory/erofs-utils/erofs-utils.changes 2019-09-09 12:36:24.201462323 +0200 +++ /work/SRC/openSUSE:Factory/.erofs-utils.new.2990/erofs-utils.changes 2019-11-08 15:28:08.687152924 +0100 @@ -1,0 +2,17 @@ +Fri Nov 8 08:00:40 UTC 2019 - Jan Engelhardt + +- Update to release 1.0 + * list available compressors for help command + * introduce long parameter option + * introduce shared xattr support + * introduce inline xattr support + * fix old kernel compatibility for non-lz4 compression + * introduce fixed UNIX timestamp + * complete extended inode support + * support 64-bit internal buffer cache + * keep up with in-kernel ondisk format naming + * resize image to the correct size + * complete special file support +- Drop long.patch (merged upstream) + +--- Old: erofs-utils-0.1+20190826.tar.xz long.patch New: erofs-utils-1.0.tar.xz Other differences: -- ++ erofs-utils.spec ++ --- /var/tmp/diff_new_pack.OUDyF3/_old 2019-11-08 15:28:09.671154030 +0100 +++ /var/tmp/diff_new_pack.OUDyF3/_new 2019-11-08 15:28:09.671154030 +0100 @@ -17,7 +17,7 @@ Name: erofs-utils -Version:0.1+20190826 +Version:1.0 Release:0 Summary:Utilities for the Extendable Read-Only Filesystem (EROFS) License:GPL-2.0-or-later @@ -25,7 +25,6 @@ URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ Source: %name-%version.tar.xz -Patch1: long.patch BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool ++ _service ++ --- /var/tmp/diff_new_pack.OUDyF3/_old 2019-11-08 15:28:09.699154061 +0100 +++ /var/tmp/diff_new_pack.OUDyF3/_new 2019-11-08 15:28:09.699154061 +0100 @@ -2,9 +2,9 @@ https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ git - erofs-utils_20190826 - 589ab3accd0908f4664c839c6a3a320fa56346ec - 0.1+20190826 + v1.0 + v1.0 + 1.0 *.tar ++ erofs-utils-0.1+20190826.tar.xz -> erofs-utils-1.0.tar.xz ++ 3944 lines of diff (skipped)
commit erofs-utils for openSUSE:Factory
Hello community, here is the log from the commit of package erofs-utils for openSUSE:Factory checked in at 2019-09-09 12:36:13 Comparing /work/SRC/openSUSE:Factory/erofs-utils (Old) and /work/SRC/openSUSE:Factory/.erofs-utils.new.7948 (New) Package is "erofs-utils" Mon Sep 9 12:36:13 2019 rev:4 rq:729248 version:0.1+20190826 Changes: --- /work/SRC/openSUSE:Factory/erofs-utils/erofs-utils.changes 2019-08-30 14:42:04.809416795 +0200 +++ /work/SRC/openSUSE:Factory/.erofs-utils.new.7948/erofs-utils.changes 2019-09-09 12:36:24.201462323 +0200 @@ -1,0 +2,9 @@ +Sun Sep 8 14:26:05 UTC 2019 - Jan Engelhardt + +- Update to release 20190826 + * fix up "-E legacy-compress" + * fix a memory leak of compressmeta + * fail the image creation when source path is not a directory file +- Add long.patch + +--- Old: erofs-utils-0.1+20190803.tar.xz New: erofs-utils-0.1+20190826.tar.xz long.patch Other differences: -- ++ erofs-utils.spec ++ --- /var/tmp/diff_new_pack.oLcKNR/_old 2019-09-09 12:36:25.505462109 +0200 +++ /var/tmp/diff_new_pack.oLcKNR/_new 2019-09-09 12:36:25.509462109 +0200 @@ -17,7 +17,7 @@ Name: erofs-utils -Version:0.1+20190803 +Version:0.1+20190826 Release:0 Summary:Utilities for the Extendable Read-Only Filesystem (EROFS) License:GPL-2.0-or-later @@ -25,6 +25,7 @@ URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ Source: %name-%version.tar.xz +Patch1: long.patch BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool ++ _service ++ --- /var/tmp/diff_new_pack.oLcKNR/_old 2019-09-09 12:36:25.541462103 +0200 +++ /var/tmp/diff_new_pack.oLcKNR/_new 2019-09-09 12:36:25.545462103 +0200 @@ -2,9 +2,9 @@ https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ git - erofs-utils_20190803 + erofs-utils_20190826 589ab3accd0908f4664c839c6a3a320fa56346ec - 0.1+20190803 + 0.1+20190826 *.tar ++ erofs-utils-0.1+20190803.tar.xz -> erofs-utils-0.1+20190826.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/erofs-utils-0.1+20190803/configure.ac new/erofs-utils-0.1+20190826/configure.ac --- old/erofs-utils-0.1+20190803/configure.ac 2019-08-03 05:27:42.0 +0200 +++ new/erofs-utils-0.1+20190826/configure.ac 2019-08-26 17:57:41.0 +0200 @@ -73,12 +73,14 @@ fcntl.h inttypes.h linux/falloc.h + linux/fs.h linux/types.h limits.h stddef.h stdint.h stdlib.h string.h + sys/ioctl.h sys/stat.h sys/time.h unistd.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/erofs-utils-0.1+20190803/include/erofs/print.h new/erofs-utils-0.1+20190826/include/erofs/print.h --- old/erofs-utils-0.1+20190803/include/erofs/print.h 2019-08-03 05:27:42.0 +0200 +++ new/erofs-utils-0.1+20190826/include/erofs/print.h 2019-08-26 17:57:41.0 +0200 @@ -12,6 +12,15 @@ #include "config.h" #include +enum { + EROFS_MSG_MIN = 0, + EROFS_ERR = 0, + EROFS_WARN= 2, + EROFS_INFO= 3, + EROFS_DBG = 7, + EROFS_MSG_MAX = 9 +}; + #define FUNC_LINE_FMT "%s() Line[%d] " #ifndef pr_fmt @@ -19,7 +28,7 @@ #endif #define erofs_dbg(fmt, ...) do { \ - if (cfg.c_dbg_lvl >= 7) { \ + if (cfg.c_dbg_lvl >= EROFS_DBG) { \ fprintf(stdout, \ pr_fmt(fmt),\ __func__, \ @@ -29,7 +38,7 @@ } while (0) #define erofs_info(fmt, ...) do { \ - if (cfg.c_dbg_lvl >= 3) { \ + if (cfg.c_dbg_lvl >= EROFS_INFO) { \ fprintf(stdout, \ pr_fmt(fmt),\ __func__, \ @@ -40,7 +49,7 @@ } while (0) #define erofs_warn(fmt, ...) do { \ - if (cfg.c_dbg_lvl >= 2) { \ + if (cfg.c_dbg_lvl >= EROFS_WARN) { \ fprintf(stdout,
commit erofs-utils for openSUSE:Factory
Hello community, here is the log from the commit of package erofs-utils for openSUSE:Factory checked in at 2019-08-30 14:42:03 Comparing /work/SRC/openSUSE:Factory/erofs-utils (Old) and /work/SRC/openSUSE:Factory/.erofs-utils.new.7948 (New) Package is "erofs-utils" Fri Aug 30 14:42:03 2019 rev:3 rq:727117 version:0.1+20190803 Changes: --- /work/SRC/openSUSE:Factory/erofs-utils/erofs-utils.changes 2019-03-15 10:52:13.980972192 +0100 +++ /work/SRC/openSUSE:Factory/.erofs-utils.new.7948/erofs-utils.changes 2019-08-30 14:42:04.809416795 +0200 @@ -1,0 +2,7 @@ +Fri Aug 23 04:45:53 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 20190803 + * The mkfs utility was rewritten +- Drop no-date.diff (no longer needed) + +--- Old: erofs-utils-0.0.1~23.tar.xz lz4-1.8.3.tar.gz no-date.diff New: erofs-utils-0.1+20190803.tar.xz Other differences: -- ++ erofs-utils.spec ++ --- /var/tmp/diff_new_pack.CqKGcH/_old 2019-08-30 14:42:06.229416649 +0200 +++ /var/tmp/diff_new_pack.CqKGcH/_new 2019-08-30 14:42:06.273416644 +0200 @@ -17,23 +17,20 @@ Name: erofs-utils -Version:0.0.1~23 +Version:0.1+20190803 Release:0 Summary:Utilities for the Extendable Read-Only Filesystem (EROFS) License:GPL-2.0-or-later Group: System/Filesystems -Url: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ +URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ + Source: %name-%version.tar.xz -Source2: https://github.com/lz4/lz4/archive/v1.8.3.tar.gz#/lz4-1.8.3.tar.gz -Patch1: no-date.diff BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build Supplements:filesystem(erofs) -# erofs depends on an unstable nonexported API -Provides: bundled(lz4) = 1.8.3 +BuildRequires: liblz4-devel >= 1.9 %description mkfs.erofs is a user-space tool to create erofs filesystem images. It @@ -47,17 +44,11 @@ file should be inlined or not properly. %prep -%setup -qa2 -%patch -P 1 -p1 +%autosetup -p1 %build -pushd lz4-1.8.3/ -make %{?_smp_mflags} CFLAGS="%{optflags}" V=1 -popd autoreconf -fiv -export CPPFLAGS="-I$PWD/lz4-1.8.3/lib" -%configure --disable-static --with-lz4-include="$PWD/lz4-1.8.3/lib" \ - --with-lz4-lib="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir" +%configure --bindir="%_sbindir" make %{?_smp_mflags} %install ++ _service ++ --- /var/tmp/diff_new_pack.CqKGcH/_old 2019-08-30 14:42:06.557416615 +0200 +++ /var/tmp/diff_new_pack.CqKGcH/_new 2019-08-30 14:42:06.569416614 +0200 @@ -2,9 +2,9 @@ https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ git - mkfs-dev - c38695e5e036a5ab6c7847c1b6d78cdf1a118585 - 0.0.1~@TAG_OFFSET@ + erofs-utils_20190803 + 589ab3accd0908f4664c839c6a3a320fa56346ec + 0.1+20190803 *.tar
commit erofs-utils for openSUSE:Factory
Hello community, here is the log from the commit of package erofs-utils for openSUSE:Factory checked in at 2019-03-15 10:52:11 Comparing /work/SRC/openSUSE:Factory/erofs-utils (Old) and /work/SRC/openSUSE:Factory/.erofs-utils.new.28833 (New) Package is "erofs-utils" Fri Mar 15 10:52:11 2019 rev:2 rq:685149 version:0.0.1~23 Changes: --- /work/SRC/openSUSE:Factory/erofs-utils/erofs-utils.changes 2018-12-13 19:48:22.968705731 +0100 +++ /work/SRC/openSUSE:Factory/.erofs-utils.new.28833/erofs-utils.changes 2019-03-15 10:52:13.980972192 +0100 @@ -1,0 +2,7 @@ +Thu Mar 14 19:34:57 UTC 2019 - Jan Engelhardt + +- Move to new git snapshot 72ae01c3e97c7b2de569b2b86ea4ed6b245acb72 + * No changelog was provided +- Drop constant.diff, no-static.diff (no longer needed) + +--- Old: constant.diff erofs-utils-0.0.1~4.tar.xz no-static.diff New: erofs-utils-0.0.1~23.tar.xz Other differences: -- ++ erofs-utils.spec ++ --- /var/tmp/diff_new_pack.qavlvL/_old 2019-03-15 10:52:15.784971726 +0100 +++ /var/tmp/diff_new_pack.qavlvL/_new 2019-03-15 10:52:15.808971720 +0100 @@ -1,7 +1,7 @@ # # spec file for package erofs-utils # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,22 @@ Name: erofs-utils -Version:0.0.1~4 +Version:0.0.1~23 Release:0 Summary:Utilities for the Extendable Read-Only Filesystem (EROFS) License:GPL-2.0-or-later Group: System/Filesystems -URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ +Url: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ Source: %name-%version.tar.xz Source2: https://github.com/lz4/lz4/archive/v1.8.3.tar.gz#/lz4-1.8.3.tar.gz -Patch1: constant.diff -Patch2: no-static.diff -Patch3: no-date.diff +Patch1: no-date.diff BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build Supplements:filesystem(erofs) -# erofs depends on an unstable nonexported API (and at the same time the headers from liblz4-devel...) +# erofs depends on an unstable nonexported API Provides: bundled(lz4) = 1.8.3 %description @@ -50,7 +48,7 @@ %prep %setup -qa2 -%patch -P 1 -P 2 -P 3 -p1 +%patch -P 1 -p1 %build pushd lz4-1.8.3/ @@ -58,7 +56,8 @@ popd autoreconf -fiv export CPPFLAGS="-I$PWD/lz4-1.8.3/lib" -%configure --disable-static --with-lz4="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir" +%configure --disable-static --with-lz4-include="$PWD/lz4-1.8.3/lib" \ + --with-lz4-lib="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir" make %{?_smp_mflags} %install ++ _service ++ --- /var/tmp/diff_new_pack.qavlvL/_old 2019-03-15 10:52:16.088971648 +0100 +++ /var/tmp/diff_new_pack.qavlvL/_new 2019-03-15 10:52:16.100971645 +0100 @@ -3,7 +3,7 @@ https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ git mkfs-dev - dfb7ee1144ec47df68e823105cd0cea8cffcd1dc + c38695e5e036a5ab6c7847c1b6d78cdf1a118585 0.0.1~@TAG_OFFSET@ ++ erofs-utils-0.0.1~4.tar.xz -> erofs-utils-0.0.1~23.tar.xz ++ 7689 lines of diff (skipped) ++ no-date.diff ++ --- /var/tmp/diff_new_pack.qavlvL/_old 2019-03-15 10:52:16.672971497 +0100 +++ /var/tmp/diff_new_pack.qavlvL/_new 2019-03-15 10:52:16.684971494 +0100 @@ -2,19 +2,19 @@ Date: 2018-11-20 00:09:16.003548811 +0100 --- - erofs_config.c |2 +- + mkfs/erofs_config.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: erofs-utils-0.0.1~4/erofs_config.c +Index: erofs-utils-0.0.1~23/mkfs/erofs_config.c === erofs-utils-0.0.1~4.orig/erofs_config.c -+++ erofs-utils-0.0.1~4/erofs_config.c -@@ -19,7 +19,7 @@ void mkfs_init_configure(void) +--- erofs-utils-0.0.1~23.orig/mkfs/erofs_config.c erofs-utils-0.0.1~23/mkfs/erofs_config.c +@@ -20,7 +20,7 @@ void mkfs_init_configure(void) memset(_cfg, 0, sizeof(erofs_cfg)); erofs_cfg.c_alg_name = "none"; - erofs_cfg.c_dbg_lvl = 0; -- erofs_cfg.c_version = EROFS_MKFS_VERSION " " __DATE__ " " __TIME__; -+ erofs_cfg.c_version = EROFS_MKFS_VERSION; + erofs_cfg.c_dbg_lvl = 0; +- erofs_cfg.c_version =
commit erofs-utils for openSUSE:Factory
Hello community, here is the log from the commit of package erofs-utils for openSUSE:Factory checked in at 2018-12-13 19:48:22 Comparing /work/SRC/openSUSE:Factory/erofs-utils (Old) and /work/SRC/openSUSE:Factory/.erofs-utils.new.28833 (New) Package is "erofs-utils" Thu Dec 13 19:48:22 2018 rev:1 rq:656920 version:0.0.1~4 Changes: New Changes file: --- /dev/null 2018-10-29 14:05:42.522318975 +0100 +++ /work/SRC/openSUSE:Factory/.erofs-utils.new.28833/erofs-utils.changes 2018-12-13 19:48:22.968705731 +0100 @@ -0,0 +1,10 @@ +--- +Mon Dec 10 10:11:43 UTC 2018 - Jan Engelhardt + +- Use lz4hc.h from bundled copy, not the system. + +--- +Mon Nov 19 20:57:48 UTC 2018 - Jan Engelhardt + +- Initial version (0.0.1~4 / 4f437e3) for build.opensuse.org +- Add constant.diff, no-static.diff, no-date.diff New: _service constant.diff erofs-utils-0.0.1~4.tar.xz erofs-utils.changes erofs-utils.spec lz4-1.8.3.tar.gz no-date.diff no-static.diff Other differences: -- ++ erofs-utils.spec ++ # # spec file for package erofs-utils # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: erofs-utils Version:0.0.1~4 Release:0 Summary:Utilities for the Extendable Read-Only Filesystem (EROFS) License:GPL-2.0-or-later Group: System/Filesystems URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ Source: %name-%version.tar.xz Source2: https://github.com/lz4/lz4/archive/v1.8.3.tar.gz#/lz4-1.8.3.tar.gz Patch1: constant.diff Patch2: no-static.diff Patch3: no-date.diff BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build Supplements:filesystem(erofs) # erofs depends on an unstable nonexported API (and at the same time the headers from liblz4-devel...) Provides: bundled(lz4) = 1.8.3 %description mkfs.erofs is a user-space tool to create erofs filesystem images. It can create two main types of erofs images, compressed and uncompressed: * For compressed images, it is able to integrate several compression algorithms, LZ4 is supported according to the current erofs kernel implementation. * For uncompressed images, it can decide whether the last page of a file should be inlined or not properly. %prep %setup -qa2 %patch -P 1 -P 2 -P 3 -p1 %build pushd lz4-1.8.3/ make %{?_smp_mflags} CFLAGS="%{optflags}" V=1 popd autoreconf -fiv export CPPFLAGS="-I$PWD/lz4-1.8.3/lib" %configure --disable-static --with-lz4="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir" make %{?_smp_mflags} %install %make_install %files %license COPYING %_sbindir/mkfs* %changelog ++ _service ++ https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/ git mkfs-dev dfb7ee1144ec47df68e823105cd0cea8cffcd1dc 0.0.1~@TAG_OFFSET@ *.tar xz ++ constant.diff ++ From: Jan Engelhardt Date: 2018-11-19 22:07:39.047450605 +0100 --- erofs_types.h | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) Index: erofs-utils-0.0.1~4/erofs_types.h === --- erofs-utils-0.0.1~4.orig/erofs_types.h +++ erofs-utils-0.0.1~4/erofs_types.h @@ -26,13 +26,24 @@ #define s32 int32_t #define s64 int64_t -#define cpu_to_le16(X) htole16(X) -#define cpu_to_le32(X) htole32(X) -#define cpu_to_le64(X) htole64(X) - -#define le16_to_cpu(X) le16toh(X) -#define le32_to_cpu(X) le32toh(X) -#define le64_to_cpu(X) le64toh(X) +#if (defined(__BYTE_ORDER) && __BYTE_ORDER == __BIG_ENDIAN) || \ +(defined(_BYTE_ORDER) && _BYTE_ORDER == _BIG_ENDIAN) + /* We need to use constexpr functions, and htole16 unfortunately is not. */ +# define cpu_to_le16(x)