rev |
line source |
shann@25634
|
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
|
shann@25634
|
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
shann@25634
|
3 #
|
shann@25634
|
4 # T2 SDE: package/.../udev/glibc-2.18.patch
|
shann@25634
|
5 # Copyright (C) 2011 - 2020 The T2 SDE Project
|
shann@25634
|
6 #
|
shann@25634
|
7 # More information can be found in the files COPYING and README.
|
shann@25634
|
8 #
|
shann@25634
|
9 # This patch file is dual-licensed. It is available under the license the
|
shann@25634
|
10 # patched project is licensed under, as long as it is an OpenSource license
|
shann@25634
|
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
shann@25634
|
12 # of the GNU General Public License as published by the Free Software
|
shann@25634
|
13 # Foundation; either version 2 of the License, or (at your option) any later
|
shann@25634
|
14 # version.
|
shann@25634
|
15 # --- T2-COPYRIGHT-NOTE-END ---
|
shann@25634
|
16
|
shann@25634
|
17 Fix build w/ dietlibc, probably related to implicit glibc include hierarchy:
|
shann@25634
|
18
|
shann@25634
|
19 extras/ata_id/ata_id.o: In function `disk_identify_fixup_uint16':
|
shann@25634
|
20 ata_id.c:(.text+0xd1): undefined reference to `le16toh'
|
shann@25634
|
21
|
shann@25634
|
22 - Rene Rebe <rene@exactcode.de>
|
shann@25634
|
23
|
shann@25634
|
24 --- udev-147/src/ata_id/ata_id.c.vanilla 2011-01-05 19:15:42.000000000 +0100
|
shann@25634
|
25 +++ udev-147/src/ata_id/ata_id.c 2011-01-05 19:15:53.000000000 +0100
|
shann@25634
|
26 @@ -39,6 +39,7 @@
|
shann@25634
|
27 #include <linux/hdreg.h>
|
shann@25634
|
28 #include <linux/fs.h>
|
shann@25634
|
29 #include <arpa/inet.h>
|
shann@25634
|
30 +#include <endian.h>
|
shann@25634
|
31
|
shann@25634
|
32 #include "libudev.h"
|
shann@25634
|
33 #include "libudev-private.h"
|
shann@25634
|
34 --- udev-167/src/libudev-device-private.c.vanilla 2018-08-08 17:46:08.247860535 +0000
|
shann@25634
|
35 +++ udev-167/src/libudev-device-private.c 2018-08-08 17:46:34.963860133 +0000
|
shann@25634
|
36 @@ -18,6 +18,7 @@
|
shann@25634
|
37 #include <fcntl.h>
|
shann@25634
|
38 #include <string.h>
|
shann@25634
|
39 #include <sys/stat.h>
|
shann@25634
|
40 +#include <sys/sysmacros.h>
|
shann@25634
|
41
|
shann@25634
|
42 #include "libudev.h"
|
shann@25634
|
43 #include "libudev-private.h"
|
shann@25634
|
44 --- udev-167/src/libudev-private.h.vanilla 2018-08-08 17:48:01.711858828 +0000
|
shann@25634
|
45 +++ udev-167/src/libudev-private.h 2018-08-08 17:48:06.659858754 +0000
|
shann@25634
|
46 @@ -16,6 +16,8 @@
|
shann@25634
|
47 #include <signal.h>
|
shann@25634
|
48 #include <stdint.h>
|
shann@25634
|
49 #include <stdbool.h>
|
shann@25634
|
50 +#include <sys/sysmacros.h>
|
shann@25634
|
51 +
|
shann@25634
|
52 #include "libudev.h"
|
shann@25634
|
53
|
shann@25634
|
54 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|