debian/patches: Drop 1001_fix-FTBFS-on-hurd.patch. Applied upstream.
Martin Wimpress
3 years ago
0 | Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | |
1 | Description: Make sonypi plugin portable to GNU/Hurd. | |
2 | ||
3 | ||
4 | Index: mate-sensors-applet-1.18.2/plugins/sonypi/sonypi-plugin.c | |
5 | =================================================================== | |
6 | --- mate-sensors-applet-1.18.2.orig/plugins/sonypi/sonypi-plugin.c | |
7 | +++ mate-sensors-applet-1.18.2/plugins/sonypi/sonypi-plugin.c | |
8 | @@ -36,12 +36,14 @@ | |
9 | #include <glib/gi18n.h> | |
10 | #include "sonypi-plugin.h" | |
11 | ||
12 | +#include <stdint.h> | |
13 | + | |
14 | const gchar *plugin_name = "sonypi"; | |
15 | ||
16 | /* These values are taken from spicctrl by Stelian Pop */ | |
17 | #define SONYPI_DEV "/dev/sonypi" | |
18 | -#define SONYPI_IOCGFAN _IOR('v', 10, guint8) | |
19 | -#define SONYPI_IOCGTEMP _IOR('v', 12, guint8) | |
20 | +#define SONYPI_IOCGFAN _IOR('v', 10, uint8_t) | |
21 | +#define SONYPI_IOCGTEMP _IOR('v', 12, uint8_t) | |
22 | #define SONYPI_TEMP "sonypi_temp" | |
23 | ||
24 | enum { |