diff options
author | obache <obache@pkgsrc.org> | 2008-02-23 03:03:10 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-02-23 03:03:10 +0000 |
commit | 9b5574f72a1c833df0497008367e9f5cd0047add (patch) | |
tree | f0259e3a8f28d86af7922d5c9d50153465374615 /wm | |
parent | 5ac576575764fe7a63a9efbfff524f12bf6036c9 (diff) | |
download | pkgsrc-9b5574f72a1c833df0497008367e9f5cd0047add.tar.gz |
Replace C++/C99 style comment to C89 style.
Fixes PR 38089.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/mlvwm/distinfo | 3 | ||||
-rw-r--r-- | wm/mlvwm/patches/patch-ab | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/wm/mlvwm/distinfo b/wm/mlvwm/distinfo index c17b3d3fa00..d913496adbc 100644 --- a/wm/mlvwm/distinfo +++ b/wm/mlvwm/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/09/04 06:57:08 xtraeme Exp $ +$NetBSD: distinfo,v 1.2 2008/02/23 03:03:10 obache Exp $ SHA1 (mlvwm091.tar.gz) = 2dc7f1ea45297e42186bde67cc910c7e186f46dc RMD160 (mlvwm091.tar.gz) = f06fe9d0b29b9a4ce7ff57c8b7a95b848ecea508 Size (mlvwm091.tar.gz) = 88575 bytes SHA1 (patch-aa) = 51ee6f9eef7802bdbf18c15858b16cabf1cfac84 +SHA1 (patch-ab) = 2bb29f736493d7e9dd0b828a7edf459502f7883c diff --git a/wm/mlvwm/patches/patch-ab b/wm/mlvwm/patches/patch-ab new file mode 100644 index 00000000000..29ab2d6eb02 --- /dev/null +++ b/wm/mlvwm/patches/patch-ab @@ -0,0 +1,31 @@ +$NetBSD: patch-ab,v 1.1 2008/02/23 03:03:10 obache Exp $ + +--- mlvwm/menus.c.orig 2000-06-25 13:26:52.000000000 +0000 ++++ mlvwm/menus.c +@@ -505,7 +505,7 @@ Bool ChoiseMenu( MenuLabel *m, Window *e + XMaskEvent( dpy, ExposureMask | ButtonReleaseMask | ButtonPressMask| + EnterWindowMask | PointerMotionMask | ButtonMotionMask, + &Event ); +-// XNextEvent( dpy, &Event ); ++/* XNextEvent( dpy, &Event ); */ + switch( Event.type ){ + case Expose: + if( XFindContext( dpy, Event.xany.window, MenuContext, +@@ -628,7 +628,7 @@ void press_menu( MenuLabel *m ) + XMaskEvent( dpy, ExposureMask | ButtonReleaseMask | ButtonPressMask| + EnterWindowMask | PointerMotionMask | ButtonMotionMask, + &Event ); +-// XNextEvent( dpy, &Event ); ++/* XNextEvent( dpy, &Event ); */ + switch( Event.type ){ + case Expose: + if( mapped && Event.xany.window==mapped->PullWin && +@@ -789,7 +789,7 @@ void CreateMenuLabel( MenuLabel *ml ) + if( ml->flags&SWALLOW ){ + if( SwallowMenu( ml ) ){ + XSetWindowBorderWidth( dpy, ml->LabelWin, 0 ); +-// XResizeWindow( dpy, ml->LabelWin, ml->LabelWidth, MENUB_H-2 ); ++/* XResizeWindow( dpy, ml->LabelWin, ml->LabelWidth, MENUB_H-2 ); */ + XReparentWindow( dpy, ml->LabelWin, Scr.MenuBar, 0, 0 ); + ml->LabelWidth += 6; + } |