summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-10-12 16:22:24 +0000
committerdrochner <drochner@pkgsrc.org>2007-10-12 16:22:24 +0000
commit6470ce00eb2464531e546192a6524c3ed94c44e4 (patch)
tree117348a0ccb91c3b45e39111d402d20c255530fd
parentf6a712f3815b5d9b2bd5f012914f976cbe78b5b1 (diff)
downloadpkgsrc-6470ce00eb2464531e546192a6524c3ed94c44e4.tar.gz
make this compile with newer libwnck (compiz-0.6 will fix this in a
cleaner way)
-rw-r--r--wm/compiz/distinfo3
-rw-r--r--wm/compiz/patches/patch-ab22
2 files changed, 24 insertions, 1 deletions
diff --git a/wm/compiz/distinfo b/wm/compiz/distinfo
index dccc4f02849..9f1634a72eb 100644
--- a/wm/compiz/distinfo
+++ b/wm/compiz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2007/07/16 09:39:20 drochner Exp $
+$NetBSD: distinfo,v 1.4 2007/10/12 16:22:24 drochner Exp $
SHA1 (compiz-0.4.0.tar.bz2) = b2eaec6bcb0513dcd7d8c62c45aa84b218c9e7be
RMD160 (compiz-0.4.0.tar.bz2) = dbfd9874b28bac61954887e33b4cba126acca141
Size (compiz-0.4.0.tar.bz2) = 900099 bytes
SHA1 (patch-aa) = 229e308c58cdf1ba916de218475224420324dcf4
+SHA1 (patch-ab) = ae846e1f536c54df3d2cba94b424f0f9ffff7696
diff --git a/wm/compiz/patches/patch-ab b/wm/compiz/patches/patch-ab
new file mode 100644
index 00000000000..9e2a3eea34b
--- /dev/null
+++ b/wm/compiz/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2007/10/12 16:22:24 drochner Exp $
+
+--- gtk/window-decorator/gtk-window-decorator.c.orig 2007-09-29 23:17:39.000000000 +0200
++++ gtk/window-decorator/gtk-window-decorator.c
+@@ -4248,6 +4248,7 @@ action_menu_map (WnckWindow *win,
+ case WNCK_WINDOW_DOCK:
+ /* don't allow window action */
+ return;
++#if 0 /* libwnck>=2.19.3 has no WNCK_WINDOW_MODAL_DIALOG */
+ case WNCK_WINDOW_NORMAL:
+ case WNCK_WINDOW_DIALOG:
+ case WNCK_WINDOW_MODAL_DIALOG:
+@@ -4255,6 +4256,9 @@ action_menu_map (WnckWindow *win,
+ case WNCK_WINDOW_MENU:
+ case WNCK_WINDOW_UTILITY:
+ case WNCK_WINDOW_SPLASHSCREEN:
++#else
++ default:
++#endif
+ /* allow window action menu */
+ break;
+ }