pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
FIX for xcolorsel build
2013Q3: x11/xcolorsel doesn't presently build against pkgsrc's own
libXaw3d. The original source code (1994 vintage) seems to miss a couple
of essential includes.
The good news is that I have a fix (patches below). The bad news is
that, once installed, it segfaults. At least, here on 32-bit Linux,
it does.
=====BEGIN patches/patch-RgbSink.c=====
$NetBSD$
--- RgbSink.c.orig 1994-12-13 22:32:37.000000000 +0100
+++ RgbSink.c 2013-10-10 16:10:29.000000000 +0200
@@ -81,6 +81,7 @@
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
+#include <X11/Xaw3d/TextSinkP.h>
#include "RgbSinkP.h"
/* Find current Xrelease number */
=====END patches/patch-RgbSink.c=====
=====BEGIN patches/patch-RgbSrc.c=====
$NetBSD$
--- RgbSrc.c.orig 1994-11-13 23:14:31.000000000 +0100
+++ RgbSrc.c 2013-10-10 16:20:23.000000000 +0200
@@ -81,6 +81,7 @@
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
+#include <X11/Xaw3d/TextSrcP.h>
#include "RgbSrcP.h"
/* No resources */
=====END patches/patch-RgbSrc.c=====
Home |
Main Index |
Thread Index |
Old Index