Annotation of pkgsrc/x11/xcolorsel/patches/patch-RgbText.c, Revision 1.1
1.1 ! morr 1: $NetBSD$
! 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" },
! 18: + XtRString, (XtPointer) "@X11BASE@/X11/rgb.txt" },
! 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>