Bug#831450: libp4est-dev: arch-dependent file in "Multi-Arch: same" package

Jakub Wilk jwilk at debian.org
Sat Jul 16 08:56:35 UTC 2016


Package: libp4est-dev
Version: 1.1-1
Severity: important
User: multiarch-devel at lists.alioth.debian.org
Usertags: multiarch

libp4est-dev is marked as "Multi-Arch: same", but the following file is 
architecture-dependent:

/usr/include/sc_config.h

An example diff between i386 and s390x is attached.

-- 
Jakub Wilk
-------------- next part --------------
diff -ur libp4est-dev_1.1-1_i386/usr/include/sc_config.h libp4est-dev_1.1-1_s390x/usr/include/sc_config.h
--- libp4est-dev_1.1-1_i386/usr/include/sc_config.h	2016-07-14 17:52:19.000000000 +0200
+++ libp4est-dev_1.1-1_s390x/usr/include/sc_config.h	2016-07-14 17:52:19.000000000 +0200
@@ -231,7 +231,9 @@
 #endif
 
 /* Define to 1 on a bigendian machine */
-/* #undef IS_BIGENDIAN */
+#ifndef SC_IS_BIGENDIAN
+#define SC_IS_BIGENDIAN 1
+#endif
 
 /* Linker flags */
 #ifndef SC_LDFLAGS
@@ -309,7 +311,7 @@
 
 /* The size of `long', as computed by sizeof. */
 #ifndef SC_SIZEOF_LONG
-#define SC_SIZEOF_LONG 4
+#define SC_SIZEOF_LONG 8
 #endif
 
 /* The size of `long long', as computed by sizeof. */
@@ -319,7 +321,7 @@
 
 /* The size of `unsigned long', as computed by sizeof. */
 #ifndef SC_SIZEOF_UNSIGNED_LONG
-#define SC_SIZEOF_UNSIGNED_LONG 4
+#define SC_SIZEOF_UNSIGNED_LONG 8
 #endif
 
 /* The size of `unsigned long long', as computed by sizeof. */


More information about the debian-science-maintainers mailing list