wok-current diff udev/stuff/udev-glibc2.18.patch @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
parents | udev/stuff/udev-glibc2.28.patch@3ad63c8fc2f9 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/udev/stuff/udev-glibc2.18.patch Tue Jul 29 18:05:13 2025 +0000 1.3 @@ -0,0 +1,54 @@ 1.4 +# --- T2-COPYRIGHT-NOTE-BEGIN --- 1.5 +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. 1.6 +# 1.7 +# T2 SDE: package/.../udev/glibc-2.18.patch 1.8 +# Copyright (C) 2011 - 2020 The T2 SDE Project 1.9 +# 1.10 +# More information can be found in the files COPYING and README. 1.11 +# 1.12 +# This patch file is dual-licensed. It is available under the license the 1.13 +# patched project is licensed under, as long as it is an OpenSource license 1.14 +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms 1.15 +# of the GNU General Public License as published by the Free Software 1.16 +# Foundation; either version 2 of the License, or (at your option) any later 1.17 +# version. 1.18 +# --- T2-COPYRIGHT-NOTE-END --- 1.19 + 1.20 +Fix build w/ dietlibc, probably related to implicit glibc include hierarchy: 1.21 + 1.22 +extras/ata_id/ata_id.o: In function `disk_identify_fixup_uint16': 1.23 +ata_id.c:(.text+0xd1): undefined reference to `le16toh' 1.24 + 1.25 + - Rene Rebe <rene@exactcode.de> 1.26 + 1.27 +--- udev-147/src/ata_id/ata_id.c.vanilla 2011-01-05 19:15:42.000000000 +0100 1.28 ++++ udev-147/src/ata_id/ata_id.c 2011-01-05 19:15:53.000000000 +0100 1.29 +@@ -39,6 +39,7 @@ 1.30 + #include <linux/hdreg.h> 1.31 + #include <linux/fs.h> 1.32 + #include <arpa/inet.h> 1.33 ++#include <endian.h> 1.34 + 1.35 + #include "libudev.h" 1.36 + #include "libudev-private.h" 1.37 +--- udev-167/src/libudev-device-private.c.vanilla 2018-08-08 17:46:08.247860535 +0000 1.38 ++++ udev-167/src/libudev-device-private.c 2018-08-08 17:46:34.963860133 +0000 1.39 +@@ -18,6 +18,7 @@ 1.40 + #include <fcntl.h> 1.41 + #include <string.h> 1.42 + #include <sys/stat.h> 1.43 ++#include <sys/sysmacros.h> 1.44 + 1.45 + #include "libudev.h" 1.46 + #include "libudev-private.h" 1.47 +--- udev-167/src/libudev-private.h.vanilla 2018-08-08 17:48:01.711858828 +0000 1.48 ++++ udev-167/src/libudev-private.h 2018-08-08 17:48:06.659858754 +0000 1.49 +@@ -16,6 +16,8 @@ 1.50 + #include <signal.h> 1.51 + #include <stdint.h> 1.52 + #include <stdbool.h> 1.53 ++#include <sys/sysmacros.h> 1.54 ++ 1.55 + #include "libudev.h" 1.56 + 1.57 + #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))