summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorwiz <wiz>2010-06-11 23:28:00 +0000
committerwiz <wiz>2010-06-11 23:28:00 +0000
commit0d70bcd797a20e848340e77c3e4eadf7a60923bb (patch)
tree47d8b6ee3baa3a0fb42829bf9cd48d3958de6365 /wm
parente63faa63f28dc78f9e55cc721f8ec101c28921b9 (diff)
downloadpkgsrc-0d70bcd797a20e848340e77c3e4eadf7a60923bb.tar.gz
Fix build with gtk2-2.20.0.
Diffstat (limited to 'wm')
-rw-r--r--wm/compiz/distinfo3
-rw-r--r--wm/compiz/patches/patch-ab21
2 files changed, 23 insertions, 1 deletions
diff --git a/wm/compiz/distinfo b/wm/compiz/distinfo
index 2654f34534d..82fa955a9b0 100644
--- a/wm/compiz/distinfo
+++ b/wm/compiz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2009/11/26 19:46:35 imil Exp $
+$NetBSD: distinfo,v 1.10 2010/06/11 23:28:00 wiz Exp $
SHA1 (compiz-0.8.4.tar.gz) = 244ac823818209e44944d74df42d8986ec31d9dd
RMD160 (compiz-0.8.4.tar.gz) = 176bfa04b8ee3ee3c5b7e6f3c27c88d16c54ac63
Size (compiz-0.8.4.tar.gz) = 1755741 bytes
SHA1 (patch-aa) = 0772722aea9828c1f05f48ebbdad02387ae9c41a
+SHA1 (patch-ab) = ff3d5515111df0b5fbcdd9f9163a576ab76071ff
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>