[BACK]Return to patch-RgbText.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xcolorsel / patches

Annotation of pkgsrc/x11/xcolorsel/patches/patch-RgbText.c, Revision 1.2

1.2     ! wiz         1: $NetBSD: patch-RgbText.c,v 1.1 2013/01/15 16:21:36 morr Exp $
1.1       morr        2:
                      3: --- RgbText.c.orig     1994-12-13 22:13:27.000000000 +0000
                      4: +++ RgbText.c
                      5: @@ -78,7 +78,6 @@
                      6:  #include <stdlib.h>
                      7:  /* And here we have a special gift for all SUN's outside >;-> */
                      8:  #include <unistd.h>
                      9: -#include <malloc.h>
                     10:  #include <ctype.h>
                     11:  #include <errno.h>
                     12:  #include <X11/IntrinsicP.h>
                     13: @@ -146,7 +145,7 @@ static XtResource resources[] = {
                     14:  { XtNcolumns, XtCColumns, XtRDimension, sizeof(Dimension), offset(columns),
                     15:                XtRString, (XtPointer) "30" },
                     16:  { XtNfile, XtCFile, XtRString, sizeof(String), offset(file),
                     17: -              XtRString, (XtPointer) "/usr/lib/X11/rgb.txt" },
1.2     ! wiz        18: +              XtRString, (XtPointer) "/usr/pkg/X11/rgb.txt" },
1.1       morr       19:  { XtNtileWidth, XtCTileWidth, XtRDimension, sizeof(Dimension), offset(tile_width),
                     20:                XtRString, (XtPointer) "3" },
                     21:  { XtNmaxRed, XtCMaxRed, XtRShort, sizeof(unsigned short), offset(max_red),

CVSweb <webmaster@jp.NetBSD.org>