Commit 0f10dc82 authored by Axel Beckert's avatar Axel Beckert

Add patch to fix malfunctioning on mips(el). (Closes: #742940)

Thanks Aleksandar Zlicic!
parent b4fb6e3c
......@@ -2,6 +2,8 @@ since (1.1-5) UNRELEASED; urgency=medium
* Make adequate messages trigger a failure in the adequate autopkgtest
* Output content of .since in case of test failure
* Add patch to fix malfunctioning on mips(el). (Closes: #742940)
Thanks Aleksandar Zlicic!
-- Axel Beckert <abe@debian.org> Mon, 31 Mar 2014 02:35:15 +0200
......
Description: Fix malfunctioning on mips and mipsel
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'.
Author: Aleksandar Zlicic <Aleksandar.Zlicic@imgtec.com>
Bug-Debian: https://bugs.debian.org/742940
Forwarded: yes
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;
hurd-path-max.patch
optimize-makefile.patch
dev_t.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment