27 lines
1 KiB
Text
27 lines
1 KiB
Text
$NetBSD: patch-ab,v 1.3 2007/07/31 09:57:04 joerg Exp $
|
|
|
|
--- RgbText.c.orig 1994-12-13 22:13:27.000000000 +0000
|
|
+++ RgbText.c
|
|
@@ -78,12 +78,11 @@
|
|
#include <stdlib.h>
|
|
/* And here we have a special gift for all SUN's outside >;-> */
|
|
#include <unistd.h>
|
|
-#include <malloc.h>
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
#include <X11/IntrinsicP.h>
|
|
#include <X11/StringDefs.h>
|
|
-#include <X11/Xaw/Paned.h>
|
|
+#include <X11/Xaw3d/Paned.h>
|
|
#include "RgbTextP.h"
|
|
#include "RgbSinkP.h"
|
|
#include "RgbSrc.h"
|
|
@@ -146,7 +145,7 @@ static XtResource resources[] = {
|
|
{ XtNcolumns, XtCColumns, XtRDimension, sizeof(Dimension), offset(columns),
|
|
XtRString, (XtPointer) "30" },
|
|
{ XtNfile, XtCFile, XtRString, sizeof(String), offset(file),
|
|
- XtRString, (XtPointer) "/usr/lib/X11/rgb.txt" },
|
|
+ XtRString, (XtPointer) "/usr/X11R6/lib/X11/rgb.txt" },
|
|
{ XtNtileWidth, XtCTileWidth, XtRDimension, sizeof(Dimension), offset(tile_width),
|
|
XtRString, (XtPointer) "3" },
|
|
{ XtNmaxRed, XtCMaxRed, XtRShort, sizeof(unsigned short), offset(max_red),
|