]> git.pld-linux.org Git - packages/zfs-fuse.git/commitdiff
- added x32 patch, enabled more architectures master auto/th/zfs-fuse-0.7.2.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Dec 2023 21:13:55 +0000 (22:13 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Dec 2023 21:13:55 +0000 (22:13 +0100)
zfs-fuse-x32.patch [new file with mode: 0644]
zfs-fuse.spec

diff --git a/zfs-fuse-x32.patch b/zfs-fuse-x32.patch
new file mode 100644 (file)
index 0000000..642bd34
--- /dev/null
@@ -0,0 +1,31 @@
+--- zfs-fuse-0.7.2.2/src/lib/libsolcompat/include/sys/isa_defs.h.orig  2015-11-24 17:32:31.000000000 +0100
++++ zfs-fuse-0.7.2.2/src/lib/libsolcompat/include/sys/isa_defs.h       2023-12-29 22:00:13.162078148 +0100
+@@ -241,13 +241,18 @@ extern "C" {
+ #define       _INT_ALIGNMENT                  4
+ #define       _FLOAT_ALIGNMENT                4
+ #define       _FLOAT_COMPLEX_ALIGNMENT        4
++#ifdef _ILP32
++#define       _LONG_ALIGNMENT                 4
++#define       _POINTER_ALIGNMENT              4
++#else
+ #define       _LONG_ALIGNMENT                 8
++#define       _POINTER_ALIGNMENT              8
++#endif
+ #define       _LONG_LONG_ALIGNMENT            8
+ #define       _DOUBLE_ALIGNMENT               8
+ #define       _DOUBLE_COMPLEX_ALIGNMENT       8
+ #define       _LONG_DOUBLE_ALIGNMENT          16
+ #define       _LONG_DOUBLE_COMPLEX_ALIGNMENT  16
+-#define       _POINTER_ALIGNMENT              8
+ #define       _MAX_ALIGNMENT                  16
+ #define       _ALIGNMENT_REQUIRED             1
+@@ -259,7 +264,7 @@ extern "C" {
+ /*
+  * Define the appropriate "implementation choices".
+  */
+-#if !defined(_LP64)
++#if !defined(_LP64) && !defined(_ILP32)
+ #define       _LP64
+ #endif
+ #if !defined(_I32LPx) && defined(_KERNEL)
index fd7e4958f26617c11a149bf8b4aa0935705371b1..80b8e5888132ca89fd1a5f58e01d90f5046bf7ee 100644 (file)
@@ -17,6 +17,7 @@ Patch3:               %{name}-tirpc.patch
 Patch4:                %{name}-format.patch
 Patch5:                %{name}-common.patch
 Patch6:                %{name}-xattr.patch
+Patch7:                %{name}-x32.patch
 URL:           https://github.com/gordan-bobic/zfs-fuse
 # also (but no tags)
 #URL:          https://github.com/zfs-fuse/zfs-fuse
@@ -27,7 +28,7 @@ BuildRequires:        libtirpc-devel
 BuildRequires: rpmbuild(macros) >= 1.337
 BuildRequires: scons
 BuildRequires: zlib-devel
-ExclusiveArch: %{ix86} %{x8664}
+ExclusiveArch: %{ix86} %{x8664} x32 sparc sparcv9 sparc64 ppc ppc64 armel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -89,6 +90,7 @@ korporacyjnych. Oto lista możliwości:
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 cd src
This page took 0.164521 seconds and 4 git commands to generate.