From f625b9919a60a30f1bd860f7d1b2eac183ced593 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 8 Aug 2018 20:11:47 +0100 Subject: gentoo resync : 08.08.2018 --- .../files/spice-gtk-0.33-sys-sysmacros.h.patch | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 net-misc/spice-gtk/files/spice-gtk-0.33-sys-sysmacros.h.patch (limited to 'net-misc/spice-gtk/files') diff --git a/net-misc/spice-gtk/files/spice-gtk-0.33-sys-sysmacros.h.patch b/net-misc/spice-gtk/files/spice-gtk-0.33-sys-sysmacros.h.patch deleted file mode 100644 index 902ee9dd0292..000000000000 --- a/net-misc/spice-gtk/files/spice-gtk-0.33-sys-sysmacros.h.patch +++ /dev/null @@ -1,44 +0,0 @@ -From a27a83da30d58511b2a5f2cdb13ebd4fca7a3d0a Mon Sep 17 00:00:00 2001 -From: Pavel Grunt -Date: Tue, 1 Nov 2016 17:08:01 +0100 -Subject: [PATCH] Adjust include header to new location of macros -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -minor & major macros were moved to sysmacros.h - -usbutil.c: In function ‘spice_usbutil_get_sysfs_attribute’: -usbutil.c:110:14: warning: ‘__major_from_sys_types’ is deprecated: - In the GNU C Library, `major' is defined by . - For historical compatibility, it is currently defined by - as well, but we plan to remove this soon. - To use `major', include directly. - If you did not intend to use a system-defined macro `major', - you should #undef it after including . - [-Wdeprecated-declarations] - major(stat_buf.st_rdev), minor(stat_buf.st_rdev), attribute); - -Acked-by: Victor Toso ---- - src/usbutil.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/usbutil.c b/src/usbutil.c -index 7bfbe44..b68a2e1 100644 ---- a/src/usbutil.c -+++ b/src/usbutil.c -@@ -30,7 +30,10 @@ - #ifdef __linux__ - #include - #include -+#include -+#ifndef major /* major and minor macros were moved to sys/sysmacros.h from sys/types.h */ - #include -+#endif - #include - #endif - #include "usbutil.h" --- -2.10.2 - -- cgit v1.2.3