pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/mlvwm Replace C++/C99 style comment to C89 style.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d46818961b3
branches:  trunk
changeset: 538999:1d46818961b3
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Feb 23 03:03:10 2008 +0000

description:
Replace C++/C99 style comment to C89 style.
Fixes PR 38089.

diffstat:

 wm/mlvwm/distinfo         |   3 ++-
 wm/mlvwm/patches/patch-ab |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (47 lines):

diff -r 2dc4e841fee6 -r 1d46818961b3 wm/mlvwm/distinfo
--- a/wm/mlvwm/distinfo Sat Feb 23 02:24:05 2008 +0000
+++ b/wm/mlvwm/distinfo Sat Feb 23 03:03:10 2008 +0000
@@ -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 -r 2dc4e841fee6 -r 1d46818961b3 wm/mlvwm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/mlvwm/patches/patch-ab Sat Feb 23 03:03:10 2008 +0000
@@ -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;
+               }



Home | Main Index | Thread Index | Old Index