summaryrefslogtreecommitdiff
path: root/media-libs/blib/files/blib-1.1.7-deprecated.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/blib/files/blib-1.1.7-deprecated.patch')
-rw-r--r--media-libs/blib/files/blib-1.1.7-deprecated.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/blib/files/blib-1.1.7-deprecated.patch b/media-libs/blib/files/blib-1.1.7-deprecated.patch
new file mode 100644
index 000000000000..13e43aedadf1
--- /dev/null
+++ b/media-libs/blib/files/blib-1.1.7-deprecated.patch
@@ -0,0 +1,14 @@
+This disables deprecated functions, then proceeds to use newly
+deprecated functions. Given GTK2 is now EOL and unchanging,
+there's no reason to avoid these without migration to newer GTK.
+
+https://bugs.gentoo.org/874642
+https://bugs.gentoo.org/391105 (see also)
+--- a/test/test-module.c
++++ b/test/test-module.c
+@@ -23,5 +23,4 @@
+ #include <string.h>
+
+-#define GTK_DISABLE_DEPRECATED
+
+ #include <gtk/gtk.h>