summaryrefslogtreecommitdiff
path: root/wm/compiz/patches
diff options
context:
space:
mode:
authorwiz <wiz>2010-06-11 23:28:00 +0000
committerwiz <wiz>2010-06-11 23:28:00 +0000
commita8e4a2dc477f7e9d38048818cd0cd62c5f86fe16 (patch)
tree47d8b6ee3baa3a0fb42829bf9cd48d3958de6365 /wm/compiz/patches
parente3f09a6ef532ae5a1ce573b93191c20c3527035d (diff)
downloadpkgsrc-a8e4a2dc477f7e9d38048818cd0cd62c5f86fe16.tar.gz
Fix build with gtk2-2.20.0.
Diffstat (limited to 'wm/compiz/patches')
-rw-r--r--wm/compiz/patches/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/wm/compiz/patches/patch-ab b/wm/compiz/patches/patch-ab
new file mode 100644
index 00000000000..19475e410a9
--- /dev/null
+++ b/wm/compiz/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.5 2010/06/11 23:28:00 wiz Exp $
+
+Needed with compiz-0.8.4 and gtk2-2.20 -- remove on update.
+
+--- gtk/window-decorator/gtk-window-decorator.c.orig 2009-08-15 07:24:40.000000000 +0000
++++ gtk/window-decorator/gtk-window-decorator.c
+@@ -31,14 +31,6 @@
+ #include <X11/extensions/Xrender.h>
+ #include <X11/Xregion.h>
+
+-#ifndef GDK_DISABLE_DEPRECATED
+-#define GDK_DISABLE_DEPRECATED
+-#endif
+-
+-#ifndef GTK_DISABLE_DEPRECATED
+-#define GTK_DISABLE_DEPRECATED
+-#endif
+-
+ #include <gtk/gtk.h>
+ #include <gdk/gdkx.h>
+ #include <glib/gi18n.h>