diff options
author | is <is> | 2008-03-21 22:22:20 +0000 |
---|---|---|
committer | is <is> | 2008-03-21 22:22:20 +0000 |
commit | 9f4c5beacc87b18d90e4f2fac96dac55b75d6aa0 (patch) | |
tree | 2e2438f5ec78b7ce800929b4c2195d05526e9bb9 /graphics/xpaint | |
parent | 66cee7588d80784e1d90dd6f78b9d2b72d246b19 (diff) | |
download | pkgsrc-9f4c5beacc87b18d90e4f2fac96dac55b75d6aa0.tar.gz |
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 (limited to 'graphics/xpaint')
-rw-r--r-- | graphics/xpaint/distinfo | 3 | ||||
-rw-r--r-- | graphics/xpaint/patches/patch-ai | 40 |
2 files changed, 42 insertions, 1 deletions
diff --git a/graphics/xpaint/distinfo b/graphics/xpaint/distinfo index febe3a270ff..b2e6b757920 100644 --- a/graphics/xpaint/distinfo +++ b/graphics/xpaint/distinfo @@ -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-ad) = a9223ef202e8fb00186be09d2ae6ae8d5d9968cc SHA1 (patch-ae) = 5ecb812e962701a6d5f068bb7744c5115b2eb263 SHA1 (patch-af) = 73f1289ca104f4c53e8d184251d5a84c5c1ec7ab SHA1 (patch-ag) = 5191cb57084a746fec33dec105a8fe1750c6d8ae +SHA1 (patch-ai) = 50ba8703cf135d81411902110716697032b529d7 diff --git a/graphics/xpaint/patches/patch-ai b/graphics/xpaint/patches/patch-ai new file mode 100644 index 00000000000..2d1a65f14ef --- /dev/null +++ b/graphics/xpaint/patches/patch-ai @@ -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 |