The cause of problem is that st_dev member of structure stat,
defined in /usr/include/mipsel-linux-gnu/bits/stat.h,
is expected to be of type dev_t.
But for mips/mipsel ABIO32 it is defined as 'unsigned long int'.
dev_t type is defined as 'unsigned long long int'.

Attached patch fixes package on mips/mipsel.

Could you please consider including these changes
in order to build since for mips/mipsel architectures?

Thanks
Aleksandar Zlicic
Index: since-1.1/since.c
===================================================================
--- since-1.1.orig/since.c	2014-04-03 14:01:50.000000000 +0000
+++ since-1.1/since.c	2014-04-07 15:32:15.000000000 +0000
@@ -52,7 +52,11 @@
 struct data_file{
   int d_fd;
   char *d_name;
+#if defined (__mips__ ) && (_MIPS_SIM == _ABIO32)
+  unsigned long int d_dev;
+#else
   dev_t d_dev;
+#endif
   ino_t d_ino;
   off_t d_had;
   off_t d_now;

Reply via email to