diff options
author | drochner <drochner@pkgsrc.org> | 2007-10-12 16:22:24 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-10-12 16:22:24 +0000 |
commit | 2048f1551c934828e1d4655099b476ca5d1837df (patch) | |
tree | 117348a0ccb91c3b45e39111d402d20c255530fd /wm | |
parent | 91d5ff9a3802384e3c2585e9bea88858bd450120 (diff) | |
download | pkgsrc-2048f1551c934828e1d4655099b476ca5d1837df.tar.gz |
make this compile with newer libwnck (compiz-0.6 will fix this in a
cleaner way)
Diffstat (limited to 'wm')
-rw-r--r-- | wm/compiz/distinfo | 3 | ||||
-rw-r--r-- | wm/compiz/patches/patch-ab | 22 |
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; + } |