[SM-Commit] GIT changes to master grimoire by Andraž Levstik (7196cf443d903b92402356c24c53bf809ef322d3)

Andraž Levstik scm at sourcemage.org
Thu Feb 5 15:51:13 EST 2009


GIT changes to master grimoire by Andraž Levstik <ruskie at codemages.net>:

 ChangeLog                                     |    5 +
 database/sqlite/HISTORY                       |    5 +
 database/sqlite/PRE_SUB_DEPENDS               |    5 +
 database/sqlite/REPAIR^none^PRE_SUB_DEPENDS   |    5 +
 database/sqlite/SUB_DEPENDS                   |    7 ++
 devel/blt/DEPENDS                             |    2 
 devel/blt/DETAILS                             |   15 +++++
 devel/blt/HISTORY                             |    9 +++
 devel/blt/PRE_BUILD                           |    7 ++
 devel/blt/blt-2.4z-r4-fix-makefile.patch      |   23 +++++++++
 devel/blt/blt-2.4z-r4-fix-makefile2.patch     |   18 +++++++
 devel/blt/blt-2.4z-tcl8.5-fixpkgruntime.patch |   66 ++++++++++++++++++++++++++
 devel/blt/blt2.4z-64bit.patch                 |   24 +++++++++
 devel/tnt/BUILD                               |    1 
 devel/tnt/DETAILS                             |   30 +++++++++++
 devel/tnt/HISTORY                             |    3 +
 devel/tnt/INSTALL                             |    1 
 http/tkhtml3/DEPENDS                          |    5 +
 http/tkhtml3/DETAILS                          |   15 +++++
 http/tkhtml3/HISTORY                          |    3 +
 x11-toolkits/lesstif/DETAILS                  |    1 
 x11-toolkits/lesstif/HISTORY                  |    5 +
 x11-toolkits/lesstif/PRE_BUILD                |    3 -
 x11-toolkits/lesstif/xprint.fix.diff          |   35 +++++++++++++
 24 files changed, 292 insertions(+), 1 deletion(-)

New commits:
commit 23e60ee58bd353e01493719b9301cd206332e8e3
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    lesstif: updates for xprint death

commit 8891a3f8d068d20d387d72e2f13149f31d540211
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    devel/tnt: new spell, Template Numerical Toolkit (TNT)

commit 725f95897b0852bc5ecabaf5061601b4874443ff
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    blt: new spell, some new widgets for Tcl/Tk

commit 4faf922b6741875e63b0a454ed521a62db56eace
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    http/tkhtml3: new spell, tcl based rendering engine

commit bdd3c710c698ff50656eb8c10640d1097a59c23a
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    sqlite: added tcl sub dependency

diff --git a/ChangeLog b/ChangeLog
index f0cd8cb..3961a9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2009-02-04 Vlad Glagolev <stealth at sourcemage.org>
 	* http/nginx: new spell, HTTP server and mail proxy server
 
+2009-02-03 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* http/tkhtml3: new spell, tcl based rendering engine
+	* devel/blt: new spell, some new widgets for Tcl/Tk 
+	* devel/tnt: new spell, Template Numerical Toolkit (TNT)
+
 2009-02-02 Eric Sandall <sandalle at sourcemage.org>
 	* kde4-look/plasmoid-netgraph: Removed, no longer maintained and doesn't
 	  compile with stable KDE4, use system monitor plasmoid
diff --git a/database/sqlite/HISTORY b/database/sqlite/HISTORY
index d138f0c..8951394 100644
--- a/database/sqlite/HISTORY
+++ b/database/sqlite/HISTORY
@@ -1,3 +1,8 @@
+2009-02-03 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* REPAIR^none^PRE_SUB_DEPENDS: put the right one in
+	* PRE_SUB_DEPENDS: added for tcl
+	* SUB_DEPENDS: added for tcl
+
 2009-01-16 Vlad Glagolev <stealth at sourcemage.org>
 	* DETAILS: updated spell to 3.6.10
 
diff --git a/database/sqlite/PRE_SUB_DEPENDS b/database/sqlite/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..e3a282a
--- /dev/null
+++ b/database/sqlite/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+       TCL) is_depends_enabled $SPELL tcl  ;;
+         *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+   return 1;;
+esac
diff --git a/database/sqlite/REPAIR^none^PRE_SUB_DEPENDS b/database/sqlite/REPAIR^none^PRE_SUB_DEPENDS
new file mode 100755
index 0000000..e3a282a
--- /dev/null
+++ b/database/sqlite/REPAIR^none^PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+       TCL) is_depends_enabled $SPELL tcl  ;;
+         *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+   return 1;;
+esac
diff --git a/database/sqlite/SUB_DEPENDS b/database/sqlite/SUB_DEPENDS
new file mode 100755
index 0000000..78e3c33
--- /dev/null
+++ b/database/sqlite/SUB_DEPENDS
@@ -0,0 +1,7 @@
+case $THIS_SUB_DEPENDS in
+        TCL) message "TCL support requested forcing TCL dependency" &&
+             depends tcl "--enable-tcl"  ;;
+          *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+   return 1;;
+esac
+
diff --git a/devel/blt/DEPENDS b/devel/blt/DEPENDS
new file mode 100755
index 0000000..67b72c3
--- /dev/null
+++ b/devel/blt/DEPENDS
@@ -0,0 +1,2 @@
+depends tcl &&
+depends tk 
diff --git a/devel/blt/DETAILS b/devel/blt/DETAILS
new file mode 100755
index 0000000..bbf9fb6
--- /dev/null
+++ b/devel/blt/DETAILS
@@ -0,0 +1,15 @@
+           SPELL=blt
+         VERSION=2.4z-8.5.2
+          SOURCE="$SPELL$VERSION.tar.gz"
+   SOURCE_URL[0]=http://jos.decoster.googlepages.com/$SOURCE
+     SOURCE_HASH=sha512:afc465ba47ae43a0c6be17400d0a572dccd8c2a8adfd8fc3ed50f9ec28d02129f069d88096c1428c4b242550131092b4141035d7ce90c9e7181ccf712502f09a
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}$VERSION"
+        WEB_SITE="http://blt.sourceforge.net/"
+      LICENSE[0]=BSD
+         ENTERED=20090203
+           SHORT="The BLT Toolkit is an extension to Tcl and Tk."
+cat << EOF
+The BLT Toolkit is an extension to Tcl and Tk. It adds new commands and
+widgets to the Tcl interpreter. Included widgets are 2D graph, barchart,
+stripchart, tab notebook, and tree viewer.
+EOF
diff --git a/devel/blt/HISTORY b/devel/blt/HISTORY
new file mode 100644
index 0000000..4eca883
--- /dev/null
+++ b/devel/blt/HISTORY
@@ -0,0 +1,9 @@
+2009-02-03 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DEPENDS, DETAILS: spell created
+	* blt2.4z-64bit.patch: added
+	* blt-2.4z-r4-fix-makefile2.patch: addded
+	* blt-2.4z-r4-fix-makefile.patch: added
+	* blt-2.4z-tcl8.5-fixpkgruntime.patch: added
+	* PRE_BUILD: apply patches that are needed to build and run
+
+
diff --git a/devel/blt/PRE_BUILD b/devel/blt/PRE_BUILD
new file mode 100755
index 0000000..029877b
--- /dev/null
+++ b/devel/blt/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build  &&
+cd $SOURCE_DIRECTORY  &&
+patch -p0 < $SPELL_DIRECTORY/blt-2.4z-r4-fix-makefile.patch &&
+patch -p0 < $SPELL_DIRECTORY/blt-2.4z-r4-fix-makefile2.patch &&
+patch -p0 < $SPELL_DIRECTORY/blt-2.4z-tcl8.5-fixpkgruntime.patch &&
+patch -p1 < $SPELL_DIRECTORY/blt2.4z-64bit.patch
+
diff --git a/devel/blt/blt-2.4z-r4-fix-makefile.patch b/devel/blt/blt-2.4z-r4-fix-makefile.patch
new file mode 100644
index 0000000..8404f26
--- /dev/null
+++ b/devel/blt/blt-2.4z-r4-fix-makefile.patch
@@ -0,0 +1,23 @@
+Source: mescalinum
+Upstream: N/A
+Reason: fix broken $DESTDIR support in library/Makefile
+--- library/Makefile.in.orig	2008-10-26 14:30:28.000000000 +0100
++++ library/Makefile.in	2008-10-26 14:31:40.000000000 +0100
+@@ -45,7 +45,7 @@ all: pkgIndex
+ 
+ pkgIndex: 
+ 	rm -f pkgIndex.tcl
+-	sed -e 's/%VERSION%/$(version)/' $(srcdir)/pkgIndex.tcl.in | \
++	sed -e 's/%VERSION%/$(version)/' $(INSTALL_ROOT)$(srcdir)/pkgIndex.tcl.in | \
+ 	sed -e 's/%LIB_PREFIX%/$(lib_prefix)/' | \
+ 	sed -e 's;%LIB_DIR%;$(libdir);' > pkgIndex.tcl
+ 
+@@ -58,7 +58,7 @@ install: mkdirs pkgIndex
+ 	for i in $(miscFiles) ; do \
+ 	    $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \
+ 	done 
+-	$(INSTALL_DATA) pkgIndex.tcl $(scriptdir)
++	$(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(scriptdir)
+ 
+ mkdirs:
+ 	@for i in $(instdirs) ; do \
diff --git a/devel/blt/blt-2.4z-r4-fix-makefile2.patch b/devel/blt/blt-2.4z-r4-fix-makefile2.patch
new file mode 100644
index 0000000..1ff4fed
--- /dev/null
+++ b/devel/blt/blt-2.4z-r4-fix-makefile2.patch
@@ -0,0 +1,18 @@
+Source: mescalinum
+Upstream: N/A
+Reason: fix broken $DESTDIR support in Makefile
+--- Makefile.in.orig	2008-10-26 14:36:22.000000000 +0100
++++ Makefile.in	2008-10-26 14:37:04.000000000 +0100
+@@ -47,9 +47,9 @@ install-all:
+ 	(cd library; $(MAKE) install)
+ 	(cd man; $(MAKE) install)
+ 	(cd demos; $(MAKE) install)
+-	$(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir)
+-	$(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir)
+-	$(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir)
++	$(INSTALL_DATA) $(srcdir)/README $(INSTALL_ROOT)$(scriptdir)
++	$(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_ROOT)$(scriptdir)
++	$(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_ROOT)$(scriptdir)
+ 
+ mkdirs:
+ 	@for i in $(instdirs) ; do \
diff --git a/devel/blt/blt-2.4z-tcl8.5-fixpkgruntime.patch b/devel/blt/blt-2.4z-tcl8.5-fixpkgruntime.patch
new file mode 100644
index 0000000..c8637b9
--- /dev/null
+++ b/devel/blt/blt-2.4z-tcl8.5-fixpkgruntime.patch
@@ -0,0 +1,66 @@
+--- src/bltInit.c.orig	2008-05-29 00:05:10.000000000 +0200
++++ src/bltInit.c	2008-05-29 00:26:40.000000000 +0200
+@@ -413,7 +413,7 @@ Blt_Init(interp)
+ 	 * Check that the versions of Tcl that have been loaded are
+ 	 * the same ones that BLT was compiled against.
+ 	 */
+-	if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, EXACT) == NULL) {
++	if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) {
+ 	    return TCL_ERROR;
+ 	}
+ 	/* Set the "blt_version", "blt_patchLevel", and "blt_libPath" Tcl
+@@ -458,16 +458,23 @@ Blt_Init(interp)
+ 	register Tcl_AppInitProc **p;
+ 	Tcl_Namespace *nsPtr;
+ 
++	if (Tk_InitStubs(interp, TK_VERSION, 1) == NULL) {
++		return TCL_OK;
++	}
++
++#if 0
+ #if (TCL_VERSION_NUMBER >= _VERSION(8,1,0)) 
+ 	if (Tcl_PkgPresent(interp, "Tk", TK_VERSION, EXACT) == NULL) {
+ 	    return TCL_OK;
+-	} 
++	}
+ #else
+ 	if (Tcl_PkgRequire(interp, "Tk", TK_VERSION, EXACT) == NULL) {
+ 	    Tcl_ResetResult(interp);
+ 	    return TCL_OK;
+ 	} 
+ #endif
++#endif
++
+ 	nsPtr = Tcl_CreateNamespace(interp, "blt::tile", NULL, 
+ 			    (Tcl_NamespaceDeleteProc *) NULL);
+ 	if (nsPtr == NULL) {
+@@ -507,7 +514,7 @@ Blt_Init(interp)
+ 	 * Check that the versions of Tcl that have been loaded are
+ 	 * the same ones that BLT was compiled against.
+ 	 */
+-	if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, EXACT) == NULL) {
++	if (Tcl_InitStubs(interp, TCL_VERSION, EXACT) == NULL) {
+ 	    return TCL_ERROR;
+ 	}
+ 	/* Set the "blt_version", "blt_patchLevel", and "blt_libPath" Tcl
+@@ -543,6 +550,11 @@ Blt_Init(interp)
+     if (!tkLoaded) {
+ 	register Tcl_AppInitProc **p;
+ 
++	if (Tk_InitStubs(interp, TK_VERSION, 1) == NULL) {
++		return TCL_OK;
++	}
++
++#if 0
+ #if (TCL_VERSION_NUMBER >= _VERSION(8,1,0)) 
+ 	if (Tcl_PkgPresent(interp, "Tk", TK_VERSION, EXACT) == NULL) {
+ 	    return TCL_OK;
+@@ -553,6 +565,8 @@ Blt_Init(interp)
+ 	    return TCL_OK;
+ 	} 
+ #endif
++#endif
++
+ 	/* Initialize the BLT commands that use Tk too. */
+ 	for (p = tkCmds; *p != NULL; p++) {
+ 	    if ((**p) (interp) != TCL_OK) {
diff --git a/devel/blt/blt2.4z-64bit.patch b/devel/blt/blt2.4z-64bit.patch
new file mode 100644
index 0000000..9f1c3c9
--- /dev/null
+++ b/devel/blt/blt2.4z-64bit.patch
@@ -0,0 +1,24 @@
+--- blt2.4z/src/bltTree.c.64bit-fixes	2002-09-29 07:44:12.000000000 +0200
++++ blt2.4z/src/bltTree.c	2003-07-31 12:22:53.000000000 +0200
+@@ -95,17 +95,16 @@ static Value *TreeNextValue _ANSI_ARGS_(
+  */
+ 
+ #define REBUILD_MULTIPLIER	3
++#define START_LOGSIZE		5 /* Initial hash table size is 32. */
++#define MAX_LIST_VALUES		20 /* Convert to hash table when node
++				    * value list gets bigger than this
++				    * many values. */
+ 
+ #if (SIZEOF_VOID_P == 8)
+ #define RANDOM_INDEX(i)		HashOneWord(mask, downshift, i)
+ #define BITSPERWORD		64
+ #else 
+ 
+-#define START_LOGSIZE		5 /* Initial hash table size is 32. */
+-#define MAX_LIST_VALUES		20 /* Convert to hash table when node
+-				    * value list gets bigger than this
+-				    * many values. */
+-
+ /*
+  * The following macro takes a preliminary integer hash value and
+  * produces an index into a hash tables bucket list.  The idea is
diff --git a/devel/tnt/BUILD b/devel/tnt/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/devel/tnt/BUILD
@@ -0,0 +1 @@
+true
diff --git a/devel/tnt/DETAILS b/devel/tnt/DETAILS
new file mode 100755
index 0000000..bc8f44c
--- /dev/null
+++ b/devel/tnt/DETAILS
@@ -0,0 +1,30 @@
+           SPELL=tnt
+         VERSION=3_0_5
+          SOURCE="${SPELL}_${VERSION}.zip"
+   SOURCE_URL[0]=http://math.nist.gov/${SPELL}/${SOURCE}
+     SOURCE_HASH=sha512:4e8b9c09506de8ae9a617d5dcba694d41eb62fceb21e427f83e6b4ef5b6cfe77656bee1634c2680f21e9e59e16434f4c2f104400df498c8b68073e6691739f5d
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}"
+        WEB_SITE="http://math.nist.gov/tnt/index.html"
+      LICENSE[0]="Public Domain"
+         ENTERED=20090203
+           SHORT="The Template Numerical Toolkit (TNT) is a collection of interfaces and reference implementations of numerical objects useful for scientific computing in C++."
+cat << EOF
+The Template Numerical Toolkit (TNT) is a collection of interfaces and
+reference implementations of numerical objects useful for scientific computing
+in C++. The toolkit defines interfaces for basic data structures, such as
+multidimensional arrays and sparse matrices, commonly used in numerical
+applications. The goal of this package is to provide reusable software
+components that address many of the portability and maintennace problems
+with C++ codes.
+
+TNT provides a distinction between interfaces and implementations of
+TNT components. For example, there is a TNT interface for two-dimensional
+arrays which describes how individual elements are accessed and how certain
+information, such as the array dimensions, can be used in algorithms;
+however, there can be several implementations of such an interface: one
+that uses expression templates, or one that uses BLAS kernels, or another
+that is instrumented to provide debugging information. By specifying only
+the interface, applications codes may utilize such algorithms, while giving
+library developers the greatest flexibility in employing optimization or
+portability strategies.
+EOF
diff --git a/devel/tnt/HISTORY b/devel/tnt/HISTORY
new file mode 100644
index 0000000..cdcc684
--- /dev/null
+++ b/devel/tnt/HISTORY
@@ -0,0 +1,3 @@
+2009-02-03 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* BUILD, DETAILS, INSTALL: spell created
+
diff --git a/devel/tnt/INSTALL b/devel/tnt/INSTALL
new file mode 100755
index 0000000..7e939c9
--- /dev/null
+++ b/devel/tnt/INSTALL
@@ -0,0 +1 @@
+cp -v tnt*.h $INSTALL_ROOT/usr/include/
diff --git a/http/tkhtml3/DEPENDS b/http/tkhtml3/DEPENDS
new file mode 100755
index 0000000..9e02b58
--- /dev/null
+++ b/http/tkhtml3/DEPENDS
@@ -0,0 +1,5 @@
+depends tcl &&
+depends tk &&
+depends tls &&
+depends tkimg &&
+depends -sub TCL sqlite 
diff --git a/http/tkhtml3/DETAILS b/http/tkhtml3/DETAILS
new file mode 100755
index 0000000..599e3de
--- /dev/null
+++ b/http/tkhtml3/DETAILS
@@ -0,0 +1,15 @@
+           SPELL=tkhtml3
+         VERSION=16
+          SOURCE="${SPELL}-alpha-${VERSION}.tar.gz"
+   SOURCE_URL[0]=http://tkhtml.tcl.tk/${SOURCE}
+     SOURCE_HASH=sha512:8ca6530497093d57b8e12c7206a1045b9d954b5178856b846de4997608870a4c75c383667f3bbbcfdf81d8052b57c5679a80ae3749fa9f5809bad030c5864b70
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/htmlwidget"
+        WEB_SITE="http://tkhtml.tcl.tk/tkhtml.html"
+      LICENSE[0]=BSD
+         ENTERED=20090202
+           SHORT="A web browser engine for Tcl/Tk"
+cat << EOF
+It supports almost all CSS 1.0 and some CSS 2.1, HTML (frames and regular
+documents), tabbed browsing, and many image types. Development is done using
+Tcl/Tk and C.
+EOF
diff --git a/http/tkhtml3/HISTORY b/http/tkhtml3/HISTORY
new file mode 100644
index 0000000..cac8da7
--- /dev/null
+++ b/http/tkhtml3/HISTORY
@@ -0,0 +1,3 @@
+2009-02-02 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* DEPENDS, DETAILS: spell created
+
diff --git a/x11-toolkits/lesstif/DETAILS b/x11-toolkits/lesstif/DETAILS
index fec0ac6..7111005 100755
--- a/x11-toolkits/lesstif/DETAILS
+++ b/x11-toolkits/lesstif/DETAILS
@@ -6,6 +6,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
    SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
       LICENSE[0]=LGPL
   SECURITY_PATCH=1
+      PATCHLEVEL=1
         WEB_SITE=http://www.lesstif.org
          ENTERED=20011019
            SHORT="Lesstif is an LGPL'd implementation of the OSF/Motif GUI X11 toolkit."
diff --git a/x11-toolkits/lesstif/HISTORY b/x11-toolkits/lesstif/HISTORY
index ad54432..dcd5761 100644
--- a/x11-toolkits/lesstif/HISTORY
+++ b/x11-toolkits/lesstif/HISTORY
@@ -1,3 +1,8 @@
+2009-02-05 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* xprint.fix.diff: fixes for death of xprint
+	* PRE_BUILD: apply patch for xprint removal
+	* DETAILS: patchlevel++ like all other xprint related fixes
+
 2008-03-18 Eric Sandall <sandalle at sourcemage.org>
 	* DEPENDS: Switch X11-LIBS to the one and only xorg-libs
 
diff --git a/x11-toolkits/lesstif/PRE_BUILD b/x11-toolkits/lesstif/PRE_BUILD
index 1368193..0bae80d 100755
--- a/x11-toolkits/lesstif/PRE_BUILD
+++ b/x11-toolkits/lesstif/PRE_BUILD
@@ -12,4 +12,5 @@ sed -i 's/ install-data-hook//' doc/lessdox/widgets/Makefile.in  &&
 patch -p0 < $SCRIPT_DIRECTORY/c++fix.patch &&
 patch -p0 < $SCRIPT_DIRECTORY/scroll.patch &&
 patch -p0 < $SCRIPT_DIRECTORY/lesstif-CAN-2005-0605.patch
-
+# fixes for xprint death
+patch -p0 < $SPELL_DIRECTORY/xprint.fix.diff
diff --git a/x11-toolkits/lesstif/xprint.fix.diff b/x11-toolkits/lesstif/xprint.fix.diff
new file mode 100644
index 0000000..783a102
--- /dev/null
+++ b/x11-toolkits/lesstif/xprint.fix.diff
@@ -0,0 +1,35 @@
+--- include/Motif-2.1/Xm/XmAll.h.orig	2009-02-06 22:42:24.000000000 +0000
++++ include/Motif-2.1/Xm/XmAll.h	2009-02-06 22:42:34.000000000 +0000
+@@ -76,12 +76,10 @@
+ #include <Xm/Manager.h>
+ #include <Xm/Notebook.h>
+ #include <Xm/Primitive.h>
+-#include <Xm/Print.h>
+ #include <Xm/SpinB.h>
+ #include <Xm/Transfer.h>
+ 
+ /* 2.1 stuff */
+-#include <Xm/Print.h>
+ #include <Xm/SSpinB.h>
+ 
+ #endif /* _XM_XMALL_H */
+--- include/Motif-2.1/Xm/Makefile.in.orig	2009-02-06 22:41:52.000000000 +0000
++++ include/Motif-2.1/Xm/Makefile.in	2009-02-06 22:42:11.000000000 +0000
+@@ -329,7 +329,6 @@
+ 
+ # Only in 2.1
+ xm_21private_h = \
+-        Print.h PrintSP.h \
+ 	SSpinB.h SSpinBP.h \
+ 	TransltnsP.h \
+ 	XmAll.h XmStrDefs.h 
+--- include/Motif-2.1/Xm/Makefile.am.orig	2009-02-06 22:41:46.000000000 +0000
++++ include/Motif-2.1/Xm/Makefile.am	2009-02-06 22:42:08.000000000 +0000
+@@ -76,7 +76,6 @@
+ 
+ # Only in 2.1
+ xm_21private_h = \
+-        Print.h PrintSP.h \
+ 	SSpinB.h SSpinBP.h \
+ 	TransltnsP.h \
+ 	XmAll.h XmStrDefs.h 



More information about the SM-Commit mailing list