pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xpaint Replace C++-style comments with C comm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82ffed04f9e6
branches:  trunk
changeset: 540013:82ffed04f9e6
user:      is <is%pkgsrc.org@localhost>
date:      Fri Mar 21 22:22:20 2008 +0000

description:
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.

diffstat:

 graphics/xpaint/distinfo         |   3 ++-
 graphics/xpaint/patches/patch-ai |  40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletions(-)

diffs (58 lines):

diff -r 43a7b3f9e39e -r 82ffed04f9e6 graphics/xpaint/distinfo
--- a/graphics/xpaint/distinfo  Fri Mar 21 22:22:01 2008 +0000
+++ b/graphics/xpaint/distinfo  Fri Mar 21 22:22:20 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2006/01/06 22:36:19 adam Exp $
+$NetBSD: distinfo,v 1.19 2008/03/21 22:22:20 is Exp $
 
 SHA1 (xpaint-2.7.8.1.tar.bz2) = d225254cc15cbc166c392b112b57104657a33aaa
 RMD160 (xpaint-2.7.8.1.tar.bz2) = 8efca6ff71df8635b8ed50e0c6db2b81f2e068cf
@@ -10,3 +10,4 @@
 SHA1 (patch-ae) = 5ecb812e962701a6d5f068bb7744c5115b2eb263
 SHA1 (patch-af) = 73f1289ca104f4c53e8d184251d5a84c5c1ec7ab
 SHA1 (patch-ag) = 5191cb57084a746fec33dec105a8fe1750c6d8ae
+SHA1 (patch-ai) = 50ba8703cf135d81411902110716697032b529d7
diff -r 43a7b3f9e39e -r 82ffed04f9e6 graphics/xpaint/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xpaint/patches/patch-ai  Fri Mar 21 22:22:20 2008 +0000
@@ -0,0 +1,40 @@
+$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 



Home | Main Index | Thread Index | Old Index