diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/udisks/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/udisks/files')
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch | 12 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch | 18 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch | 25 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-1.0.5-sysmacros.patch | 72 | ||||
-rw-r--r-- | sys-fs/udisks/files/udisks-2.6.4-udisksdprivdir.patch | 22 |
5 files changed, 149 insertions, 0 deletions
diff --git a/sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch b/sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch new file mode 100644 index 000000000000..b6ba4a4849a8 --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.2-ntfs-3g.patch @@ -0,0 +1,12 @@ +Support ntfs-3g by default without entry in /etc/filesystems for write access. + +--- src/device.c ++++ src/device.c +@@ -5909,6 +5909,7 @@ + "vfat", + "exfat", + "ntfs", ++ "ntfs-3g", + NULL, + }; +
\ No newline at end of file diff --git a/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch b/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch new file mode 100644 index 000000000000..0f13a6aba833 --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.4-revert-floppy.patch @@ -0,0 +1,18 @@ +This change was done upstream to prevent UDisks1 from polling for floppy drive so often but broke +mounting floppies while at it. + +http://bugs.freedesktop.org/show_bug.cgi?id=30283 +http://bugs.gentoo.org/show_bug.cgi?id=338185 + +--- src/device.c ++++ src/device.c +@@ -4485,7 +4485,8 @@ update_info (Device *device) + } + else + { +- if (g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM_MEDIA")) ++ if (g_udev_device_get_property_as_boolean (device->priv->d, "ID_CDROM_MEDIA") || ++ g_udev_device_get_property_as_boolean (device->priv->d, "ID_DRIVE_FLOPPY")) + { + media_available = TRUE; + } diff --git a/sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch b/sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch new file mode 100644 index 000000000000..85ef5208049d --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.5-stat-includes.patch @@ -0,0 +1,25 @@ +From 0aa652a7b257f98f9e8e7dc7b0ddc9bc62377d09 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Fri, 29 May 2015 21:09:39 -0400 +Subject: [PATCH] Bug 90778 - fix build with newer glibc versions + +https://bugs.freedesktop.org/show_bug.cgi?id=90778 +--- + src/helpers/job-drive-detach.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/helpers/job-drive-detach.c b/src/helpers/job-drive-detach.c +index eeafcab..d122a1f 100644 +--- a/src/helpers/job-drive-detach.c ++++ b/src/helpers/job-drive-detach.c +@@ -18,6 +18,7 @@ + * + */ + ++#include <sys/stat.h> + #include <stdio.h> + #include <string.h> + #include <errno.h> +-- +2.4.2 + diff --git a/sys-fs/udisks/files/udisks-1.0.5-sysmacros.patch b/sys-fs/udisks/files/udisks-1.0.5-sysmacros.patch new file mode 100644 index 000000000000..96ce943d385c --- /dev/null +++ b/sys-fs/udisks/files/udisks-1.0.5-sysmacros.patch @@ -0,0 +1,72 @@ +https://bugs.gentoo.org/580230 +https://bugs.freedesktop.org/95028 + +From 245093a15abe985b1746603c00084cb972fb71ae Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 19 Apr 2016 23:04:32 -0400 +Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev + +Linux C libraries are moving away from implicit includes of +sys/sysmacros.h, so pull in this header directly in the files +that use these funcs. + +--- a/src/daemon.c ++++ b/src/daemon.c +@@ -38,6 +38,7 @@ + #include <signal.h> + #include <errno.h> + #include <string.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/time.h> +--- a/src/device.c ++++ b/src/device.c +@@ -28,6 +28,7 @@ + #include <signal.h> + #include <errno.h> + #include <string.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/wait.h> + #include <sys/stat.h> +--- a/src/mount-monitor.c ++++ b/src/mount-monitor.c +@@ -27,6 +27,7 @@ + #include <signal.h> + #include <errno.h> + #include <string.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <mntent.h> +--- a/src/probers/part-id.c ++++ b/src/probers/part-id.c +@@ -23,6 +23,7 @@ + #include <string.h> + #include <ctype.h> + #include <unistd.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/wait.h> + #include <sys/stat.h> +--- a/tools/udisks.c ++++ b/tools/udisks.c +@@ -28,6 +28,7 @@ + #include <signal.h> + #include <errno.h> + #include <string.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/wait.h> +--- a/tools/umount-udisks.c ++++ b/tools/umount-udisks.c +@@ -28,6 +28,7 @@ + #include <signal.h> + #include <errno.h> + #include <string.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> diff --git a/sys-fs/udisks/files/udisks-2.6.4-udisksdprivdir.patch b/sys-fs/udisks/files/udisks-2.6.4-udisksdprivdir.patch new file mode 100644 index 000000000000..8564e2b83342 --- /dev/null +++ b/sys-fs/udisks/files/udisks-2.6.4-udisksdprivdir.patch @@ -0,0 +1,22 @@ +From 283e9093d541b8de0ecca324fde8fd38b560dc8e Mon Sep 17 00:00:00 2001 +From: Vojtech Trefny <vtrefny@redhat.com> +Date: Mon, 24 Apr 2017 09:14:05 +0200 +Subject: [PATCH] Fix typo in data/Makefile.am + +--- + data/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/Makefile.am b/data/Makefile.am +index af0cce2..83af330 100644 +--- a/data/Makefile.am ++++ b/data/Makefile.am +@@ -6,7 +6,7 @@ dbusservice_in_files = org.freedesktop.UDisks2.service.in + dbusservice_DATA = $(dbusservice_in_files:.service.in=.service) + + $(dbusservice_DATA): $(dbusservice_in_files) Makefile +- @sed -e "s|\@udisksprivdir\@|$(libexecdir)/udisks2|" $< > $@ ++ @sed -e "s|\@udisksdprivdir\@|$(libexecdir)/udisks2|" $< > $@ + + dbusconfdir = $(sysconfdir)/dbus-1/system.d + dbusconf_in_files = org.freedesktop.UDisks2.conf.in |