pkgsrc/graphics/xpaint/patches/patch-ai
is 7b2e455a57 Replace C++-style comments with C comments in 5 places, makeing this compile on
arm and ppc, where our X11 is using -ansi. No functional change.
2008-03-21 22:22:20 +00:00

40 lines
871 B
Text

$NetBSD: patch-ai,v 1.1 2008/03/21 22:22:21 is Exp $
--- graphic.c.orig 2005-09-02 23:31:56.000000000 +0200
+++ graphic.c
@@ -33,7 +33,7 @@
#include "xaw_incdir/SmeBSB.h"
#include "xaw_incdir/Paned.h"
-//#include <X11/keysym.h>
+/*#include <X11/keysym.h>*/
#include <xpm.h>
#ifdef HAVE_COLTOG
@@ -3606,7 +3606,7 @@ graphicCreate(Widget shell, int width, i
#endif
}
}
- //checkPaintDimension(shell);
+ /*checkPaintDimension(shell);*/
return paint;
}
@@ -4145,7 +4145,7 @@ stdPasteCB(Widget paint, XtPointer infoA
PwRegionSet(paint, &rect, pix, newMask);
}
- // setToSelectOp();
+ /* setToSelectOp();*/
}
void
@@ -4282,7 +4282,7 @@ StdSelectAllCallback(Widget w, XtPointer
rect.height = dh;
PwRegionSet(paint, &rect, None, None);
- // setToSelectOp();
+ /* setToSelectOp(); */
}
void