pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(graphics/ivtools) Candidate to update, but not completed yet



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (mef) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Fri Jan 1 21:21:45 2021 +0900
Changeset:	c0fc7e935d32dbea0c0fb1408de37624f6143117

Added Files:
	ivtools/DESCR
	ivtools/Makefile
	ivtools/PLIST
	ivtools/TODO
	ivtools/distinfo
	ivtools/patches/patch-aa
	ivtools/patches/patch-ab
	ivtools/patches/patch-ac
	ivtools/patches/patch-ad
	ivtools/patches/patch-ae
	ivtools/patches/patch-af
	ivtools/patches/patch-ag
	ivtools/patches/patch-ah
	ivtools/patches/patch-ai
	ivtools/patches/patch-ak
	ivtools/patches/patch-al
	ivtools/patches/patch-am
	ivtools/patches/patch-an
	ivtools/patches/patch-ao
	ivtools/patches/patch-ap
	ivtools/patches/patch-aq
	ivtools/patches/patch-ar
	ivtools/patches/patch-as
	ivtools/patches/patch-at
	ivtools/patches/patch-au
	ivtools/patches/patch-av
	ivtools/patches/patch-aw
	ivtools/patches/patch-ax
	ivtools/patches/patch-ay
	ivtools/patches/patch-az
	ivtools/patches/patch-ba
	ivtools/patches/patch-bb
	ivtools/patches/patch-bc
	ivtools/patches/patch-be
	ivtools/patches/patch-bf
	ivtools/patches/patch-bg
	ivtools/patches/patch-bh
	ivtools/patches/patch-bi
	ivtools/patches/patch-bj
	ivtools/patches/patch-bk
	ivtools/patches/patch-bl
	ivtools/patches/patch-src_glyphs_strchooser_main.c
	ivtools/patches/patch-src_tests_y2k_y2ktest.cc

Log Message:
(graphics/ivtools) Candidate to update, but not completed yet

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c0fc7e935d32dbea0c0fb1408de37624f6143117

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ivtools/DESCR                                      |  20 +
 ivtools/Makefile                                   |  58 ++
 ivtools/PLIST                                      | 847 +++++++++++++++++++++
 ivtools/TODO                                       |  13 +
 ivtools/distinfo                                   |  44 ++
 ivtools/patches/patch-aa                           |  11 +
 ivtools/patches/patch-ab                           |  30 +
 ivtools/patches/patch-ac                           |  45 ++
 ivtools/patches/patch-ad                           |  13 +
 ivtools/patches/patch-ae                           |  13 +
 ivtools/patches/patch-af                           |  22 +
 ivtools/patches/patch-ag                           |  13 +
 ivtools/patches/patch-ah                           |  22 +
 ivtools/patches/patch-ai                           |  13 +
 ivtools/patches/patch-ak                           |  13 +
 ivtools/patches/patch-al                           |  12 +
 ivtools/patches/patch-am                           |  12 +
 ivtools/patches/patch-an                           |  12 +
 ivtools/patches/patch-ao                           |  15 +
 ivtools/patches/patch-ap                           |  14 +
 ivtools/patches/patch-aq                           |  15 +
 ivtools/patches/patch-ar                           |  39 +
 ivtools/patches/patch-as                           |  12 +
 ivtools/patches/patch-at                           |  13 +
 ivtools/patches/patch-au                           |  15 +
 ivtools/patches/patch-av                           |  16 +
 ivtools/patches/patch-aw                           |  13 +
 ivtools/patches/patch-ax                           |  21 +
 ivtools/patches/patch-ay                           |  20 +
 ivtools/patches/patch-az                           |  21 +
 ivtools/patches/patch-ba                           |  21 +
 ivtools/patches/patch-bb                           |  23 +
 ivtools/patches/patch-bc                           |  12 +
 ivtools/patches/patch-be                           | 198 +++++
 ivtools/patches/patch-bf                           |  18 +
 ivtools/patches/patch-bg                           |  19 +
 ivtools/patches/patch-bh                           |  26 +
 ivtools/patches/patch-bi                           |  26 +
 ivtools/patches/patch-bj                           |  27 +
 ivtools/patches/patch-bk                           |  26 +
 ivtools/patches/patch-bl                           |  26 +
 ivtools/patches/patch-src_glyphs_strchooser_main.c |  15 +
 ivtools/patches/patch-src_tests_y2k_y2ktest.cc     |  13 +
 43 files changed, 1877 insertions(+)

diffs:
diff --git a/ivtools/DESCR b/ivtools/DESCR
new file mode 100644
index 0000000000..9847180b6a
--- /dev/null
+++ b/ivtools/DESCR
@@ -0,0 +1,20 @@
+ivtools is a layered collection of application frameworks for building
+custom drawing editors and spatial data servers.  It incorporates a
+backward compatible copy of the original InterViews and Unidraw class
+libraries and sample programs (from 3.2a.tar.Z), augmented with new
+class libraries and sample programs for a wide variety of generic
+spatial data applications.
+
+ivtools comprises four sets of interrelated capabilities useful to
+application programmers.  The first set is the libraries and example
+programs borrowed whole from InterViews 3.1.  The second set is for
+reusing and extending the light-weight glyph objects of InterViews 3.1
+which embody a lot of the capability of TeX.  The third set reuses and
+extends the Unidraw library (Unidraw is a major portion of the overall
+InterViews 3.1 release that provides an application framework for
+custom drawing editors).  The fourth set adds a command interpreter
+and server mechanism to ivtools, and demonstrates these capabilities
+with text, glyph, and graphic front-ends.  To get more of an overview
+of these layers you can read:
+
+    http://www.ivtools.org/ivtools/ivtools-layers.html.
diff --git a/ivtools/Makefile b/ivtools/Makefile
new file mode 100644
index 0000000000..40c12f273e
--- /dev/null
+++ b/ivtools/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.33 2017/08/16 20:45:39 wiz Exp $
+
+DISTNAME=	ivtools-1.2.11
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ivtools/}
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+#HOMEPAGE=	http://www.ivtools.org/ivtools/
+COMMENT=	Drawing editors for PostScript, TeX, and web graphics
+
+CONFLICTS+=	dclock-[0-9]*
+
+DEPENDS+=	pstoedit>=3.0:../../graphics/pstoedit
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	imake bash:run wget:run tar
+
+# -lX11 not found
+#DFLAGS+=	-L ${X11BASE}
+#AKE_ENV+=	LDLIBX11='-lX11 -L ${X11BASE}/lib'
+#DLIBX11=	-lX11 -L ${X11BASE}/lib
+
+
+REPLACE_BASH+=	src/scripts/ivgetjpg.bash src/scripts/ivtiftopnm.bash
+
+WRKSRC=		${WRKDIR}/ivtools-1.2
+GNU_CONFIGURE=	YES
+CONFIGURE_ARGS=	--with-tiff=${BUILDLINK_PREFIX.tiff}
+
+SUBST_CLASSES+=		char-int
+SUBST_MESSAGE.char-int=	correct char range issue
+SUBST_STAGE.char-int=	pre-configure
+SUBST_FILES.char-int+=	src/include/InterViews/Bitmaps/*bm
+SUBST_SED.char-int+=	-e 's/char/unsigned char/'
+
+SUBST_CLASSES+=		char
+SUBST_MESSAGE.char=	correct char range issue
+SUBST_STAGE.char=	pre-configure
+SUBST_FILES.char+=	src/InterViews/smf_kit.c
+SUBST_SED.char+=	-e 's/static char/unsigned char/'
+
+post-patch:
+	${RM} -f ${WRKSRC}/src/include/ivstd/strstream.h
+	${TOUCH} ${WRKSRC}/config/dragonfly-gcc.mk
+
+pre-install:
+	${RM} -f ${WRKSRC}/config/local.def.orig
+	${RM} -f ${WRKSRC}/config/params.def.orig
+	${RM} -f ${WRKSRC}/config/rules.def.orig
+	${RM} -f ${WRKSRC}/config/site.def.*.orig
+	${RM} -f ${WRKSRC}/config/arch.def.orig
+
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ivtools/PLIST b/ivtools/PLIST
new file mode 100644
index 0000000000..bf5a302e4c
--- /dev/null
+++ b/ivtools/PLIST
@@ -0,0 +1,847 @@
+@comment $NetBSD: PLIST,v 1.12 2014/12/25 05:10:38 obache Exp $
+bin/comdraw
+bin/comterp
+bin/comtest
+bin/dclock
+bin/drawserv
+bin/drawtool
+bin/flipbook
+bin/gclock
+bin/glyphterp
+bin/graphdraw
+bin/iclass
+bin/idemo
+bin/idraw
+bin/ivgetjpg
+bin/ivmkmf
+bin/ivtext
+bin/ivtiftopnm
+bin/ivtmpnam
+bin/pnmtopgm
+bin/stdcmapppm
+include/AttrGlyph/attredit.h
+include/Attribute/_comterp.h
+include/Attribute/_comutil.h
+include/Attribute/alist.h
+include/Attribute/aliterator.h
+include/Attribute/attribute.h
+include/Attribute/attrlist.h
+include/Attribute/attrvalue.h
+include/Attribute/classid.h
+include/Attribute/commodule.h
+include/Attribute/lexscan.h
+include/Attribute/paramlist.h
+include/ComGlyph/attrdialog.h
+include/ComGlyph/comtextedit.h
+include/ComGlyph/comtextview.h
+include/ComGlyph/terpdialog.h
+include/ComTerp/_comterp.h
+include/ComTerp/_comutil.h
+include/ComTerp/assignfunc.h
+include/ComTerp/bitfunc.h
+include/ComTerp/boolfunc.h
+include/ComTerp/bquotefunc.h
+include/ComTerp/charfunc.h
+include/ComTerp/comfunc.h
+include/ComTerp/comhandler.h
+include/ComTerp/commodule.h
+include/ComTerp/comterp.h
+include/ComTerp/comterpserv.h
+include/ComTerp/comvalue.h
+include/ComTerp/condfunc.h
+include/ComTerp/ctrlfunc.h
+include/ComTerp/debugfunc.h
+include/ComTerp/dotfunc.h
+include/ComTerp/helpfunc.h
+include/ComTerp/iofunc.h
+include/ComTerp/lexscan.h
+include/ComTerp/listfunc.h
+include/ComTerp/mathfunc.h
+include/ComTerp/numfunc.h
+include/ComTerp/parser.h
+include/ComTerp/postfunc.h
+include/ComTerp/randfunc.h
+include/ComTerp/scanner.h
+include/ComTerp/statfunc.h
+include/ComTerp/strmfunc.h
+include/ComTerp/symbolfunc.h
+include/ComTerp/typefunc.h
+include/ComTerp/xformfunc.h
+include/ComUnidraw/comeditor.h
+include/ComUnidraw/comterp-acehandler.h
+include/ComUnidraw/comterp-iohandler.h
+include/ComUnidraw/dialogfunc.h
+include/ComUnidraw/grdotfunc.h
+include/ComUnidraw/grfunc.h
+include/ComUnidraw/grlistfunc.h
+include/ComUnidraw/groupfunc.h
+include/ComUnidraw/grstatfunc.h
+include/ComUnidraw/highlightfunc.h
+include/ComUnidraw/nfunc.h
+include/ComUnidraw/pixelfunc.h
+include/ComUnidraw/plotfunc.h
+include/ComUnidraw/unifunc.h
+include/ComUtil/comterp.arg
+include/ComUtil/comterp.err
+include/ComUtil/comterp.h
+include/ComUtil/comutil.arg
+include/ComUtil/comutil.ci
+include/ComUtil/comutil.h
+include/ComUtil/util.h
+include/Dispatch/_defines.h
+include/Dispatch/_undefs.h
+include/Dispatch/dispatcher.h
+include/Dispatch/dp.h
+include/Dispatch/enter-scope.h
+include/Dispatch/iocallback.h
+include/Dispatch/iohandler.h
+include/Dispatch/iostreamb.h
+include/Dispatch/leave-scope.h
+include/Dispatch/rpcbuf.h
+include/Dispatch/rpchdr.h
+include/Dispatch/rpcpeer.h
+include/Dispatch/rpcreader.h
+include/Dispatch/rpcregistry.h
+include/Dispatch/rpcservice.h
+include/Dispatch/rpcstream.h
+include/Dispatch/rpcwriter.h
+include/DrawServ/ackback-handler.h
+include/DrawServ/drawcatalog.h
+include/DrawServ/drawclasses.h
+include/DrawServ/drawcmds.h
+include/DrawServ/drawcomps.h
+include/DrawServ/drawcreator.h
+include/DrawServ/draweditor.h
+include/DrawServ/drawfunc.h
+include/DrawServ/drawimport.h
+include/DrawServ/drawkit.h
+include/DrawServ/drawlink.h
+include/DrawServ/drawlinkcomp.h
+include/DrawServ/drawlinklist.h
+include/DrawServ/drawserv-handler.h
+include/DrawServ/drawserv.h
+include/DrawServ/drawviews.h
+include/DrawServ/grid.h
+include/DrawServ/gridlist.h
+include/DrawServ/linkselection.h
+include/DrawServ/rcdialog.h
+include/DrawServ/sid.h
+include/FrameUnidraw/framecatalog.h
+include/FrameUnidraw/frameclasses.h
+include/FrameUnidraw/framecmds.h
+include/FrameUnidraw/framecomps.h
+include/FrameUnidraw/framecreator.h
+include/FrameUnidraw/frameeditor.h
+include/FrameUnidraw/framefile.h
+include/FrameUnidraw/framefunc.h
+include/FrameUnidraw/frameimport.h
+include/FrameUnidraw/framekit.h
+include/FrameUnidraw/frameps.h
+include/FrameUnidraw/framescripts.h
+include/FrameUnidraw/framestates.h
+include/FrameUnidraw/frameviewer.h
+include/FrameUnidraw/frameviews.h
+include/GraphUnidraw/edgecomp.h
+include/GraphUnidraw/graphcatalog.h
+include/GraphUnidraw/graphclasses.h
+include/GraphUnidraw/graphcmds.h
+include/GraphUnidraw/graphcomp.h
+include/GraphUnidraw/graphcreator.h
+include/GraphUnidraw/graphdata.h
+include/GraphUnidraw/graphdialog.h
+include/GraphUnidraw/grapheditor.h
+include/GraphUnidraw/graphimport.h
+include/GraphUnidraw/graphkit.h
+include/GraphUnidraw/graphtools.h
+include/GraphUnidraw/nodecomp.h
+include/IV-2_6/InterViews/adjuster.h
+include/IV-2_6/InterViews/alignment.h
+include/IV-2_6/InterViews/banner.h
+include/IV-2_6/InterViews/border.h
+include/IV-2_6/InterViews/box.h
+include/IV-2_6/InterViews/button.h
+include/IV-2_6/InterViews/compeditor.h
+include/IV-2_6/InterViews/control.h
+include/IV-2_6/InterViews/deck.h
+include/IV-2_6/InterViews/defs.h
+include/IV-2_6/InterViews/dialog.h
+include/IV-2_6/InterViews/filebrowser.h
+include/IV-2_6/InterViews/filechooser.h
+include/IV-2_6/InterViews/frame.h
+include/IV-2_6/InterViews/glue.h
+include/IV-2_6/InterViews/ihandler.h
+include/IV-2_6/InterViews/interactor.h
+include/IV-2_6/InterViews/iwindow.h
+include/IV-2_6/InterViews/matcheditor.h
+include/IV-2_6/InterViews/menu.h
+include/IV-2_6/InterViews/message.h
+include/IV-2_6/InterViews/minmax.h
+include/IV-2_6/InterViews/paint.h
+include/IV-2_6/InterViews/painter.h
+include/IV-2_6/InterViews/panner.h
+include/IV-2_6/InterViews/perspective.h
+include/IV-2_6/InterViews/rubband.h
+include/IV-2_6/InterViews/rubcurve.h
+include/IV-2_6/InterViews/rubgroup.h
+include/IV-2_6/InterViews/rubline.h
+include/IV-2_6/InterViews/rubrect.h
+include/IV-2_6/InterViews/rubverts.h
+include/IV-2_6/InterViews/scene.h
+include/IV-2_6/InterViews/scrollbar.h
+include/IV-2_6/InterViews/scroller.h
+include/IV-2_6/InterViews/sensor.h
+include/IV-2_6/InterViews/shape.h
+include/IV-2_6/InterViews/strbrowser.h
+include/IV-2_6/InterViews/strchooser.h
+include/IV-2_6/InterViews/streditor.h
+include/IV-2_6/InterViews/subject.h
+include/IV-2_6/InterViews/textbuffer.h
+include/IV-2_6/InterViews/textdisplay.h
+include/IV-2_6/InterViews/texteditor.h
+include/IV-2_6/InterViews/textstyle.h
+include/IV-2_6/InterViews/tray.h
+include/IV-2_6/InterViews/viewport.h
+include/IV-2_6/InterViews/world.h
+include/IV-2_6/_enter.h
+include/IV-2_6/_leave.h
+include/IV-2_6/_names.h
+include/IV-3_1/InterViews
+include/IV-X11/Xdefs.h
+include/IV-X11/Xext.h
+include/IV-X11/Xlib.h
+include/IV-X11/Xundefs.h
+include/IV-X11/Xutil.h
+include/IV-X11/xbitmap.h
+include/IV-X11/xbrush.h
+include/IV-X11/xcanvas.h
+include/IV-X11/xcolor.h
+include/IV-X11/xcursor.h
+include/IV-X11/xdisplay.h
+include/IV-X11/xdrag.h
+include/IV-X11/xevent.h
+include/IV-X11/xfont.h
+include/IV-X11/xpainter.h
+include/IV-X11/xpattern.h
+include/IV-X11/xraster.h
+include/IV-X11/xselection.h
+include/IV-X11/xwindow.h
+include/IV-look/bevel.h
+include/IV-look/browser.h
+include/IV-look/button.h
+include/IV-look/choice.h
+include/IV-look/dialogs.h
+include/IV-look/fbrowser.h
+include/IV-look/fchooser.h
+include/IV-look/field.h
+include/IV-look/kit.h
+include/IV-look/menu.h
+include/IV-look/mf_dialogs.h
+include/IV-look/mf_kit.h
+include/IV-look/mono_kit.h
+include/IV-look/ol_dialogs.h
+include/IV-look/ol_kit.h
+include/IV-look/slider.h
+include/IV-look/smf_kit.h
+include/IV-look/stepper.h
+include/IV-look/telltale.h
+include/IVGlyph/bdfltform.h
+include/IVGlyph/bdtable.h
+include/IVGlyph/bdvalue.h
+include/IVGlyph/boolform.h
+include/IVGlyph/charfield.h
+include/IVGlyph/dragedit.h
+include/IVGlyph/enumform.h
+include/IVGlyph/exportchooser.h
+include/IVGlyph/fieldedit.h
+include/IVGlyph/figure.h
+include/IVGlyph/gdialogs.h
+include/IVGlyph/globals.h
+include/IVGlyph/idraw.h
+include/IVGlyph/importchooser.h
+include/IVGlyph/namestate.h
+include/IVGlyph/observables.h
+include/IVGlyph/odialogs.h
+include/IVGlyph/ofilechooser.h
+include/IVGlyph/printchooser.h
+include/IVGlyph/saveaschooser.h
+include/IVGlyph/scrollable.h
+include/IVGlyph/strchooser.h
+include/IVGlyph/stredit.h
+include/IVGlyph/strlist.h
+include/IVGlyph/textbuff.h
+include/IVGlyph/textedit.h
+include/IVGlyph/texteditor.h
+include/IVGlyph/textform.h
+include/IVGlyph/textview.h
+include/IVGlyph/textwindow.h
+include/IVGlyph/toolbutton.h
+include/IVGlyph/valuator.h
+include/InterViews/_defines.h
+include/InterViews/_enter.h
+include/InterViews/_leave.h
+include/InterViews/_names.h
+include/InterViews/_undefs.h
+include/InterViews/action.h
+include/InterViews/adjust.h
+include/InterViews/aggr.h
+include/InterViews/align.h
+include/InterViews/alloctbl.h
+include/InterViews/arraycomp.h
+include/InterViews/background.h
+include/InterViews/bitmap.h
+include/InterViews/boolean.h
+include/InterViews/border.h
+include/InterViews/box.h
+include/InterViews/brush.h
+include/InterViews/canvas.h
+include/InterViews/character.h
+include/InterViews/color.h
+include/InterViews/composition.h
+include/InterViews/compositor.h
+include/InterViews/coord.h
+include/InterViews/cursor.h
+include/InterViews/debug.h
+include/InterViews/deck.h
+include/InterViews/dialog.h
+include/InterViews/display.h
+include/InterViews/drag.h
+include/InterViews/enter-scope.h
+include/InterViews/event.h
+include/InterViews/font.h
+include/InterViews/geometry.h
+include/InterViews/glcontext.h
+include/InterViews/glue.h
+include/InterViews/glyph.h
+include/InterViews/group.h
+include/InterViews/handler.h
+include/InterViews/hit.h
+include/InterViews/image.h
+include/InterViews/input.h
+include/InterViews/iv.h
+include/InterViews/label.h
+include/InterViews/layout.h
+include/InterViews/leave-scope.h
+include/InterViews/lrmarker.h
+include/InterViews/monoglyph.h
+include/InterViews/observe.h
+include/InterViews/page.h
+include/InterViews/patch.h
+include/InterViews/pattern.h
+include/InterViews/place.h
+include/InterViews/polyglyph.h
+include/InterViews/printer.h
+include/InterViews/psfont.h
+include/InterViews/raster.h
+include/InterViews/regexp.h
+include/InterViews/reqerr.h
+include/InterViews/resource.h
+include/InterViews/rule.h
+include/InterViews/scrbox.h
+include/InterViews/selection.h
+include/InterViews/session.h
+include/InterViews/shadow.h
+include/InterViews/simplecomp.h
+include/InterViews/stencil.h
+include/InterViews/style.h
+include/InterViews/superpose.h
+include/InterViews/target.h
+include/InterViews/telltale.h
+include/InterViews/texcomp.h
+include/InterViews/tformsetter.h
+include/InterViews/tiff.h
+include/InterViews/tile.h
+include/InterViews/transformer.h
+include/InterViews/window.h
+include/InterViews/xymarker.h
+include/OS/_defines.h
+include/OS/_undefs.h
+include/OS/directory.h
+include/OS/enter-scope.h
+include/OS/file.h
+include/OS/host.h
+include/OS/leave-scope.h
+include/OS/list.h
+include/OS/math.h
+include/OS/memory.h
+include/OS/os.h
+include/OS/string.h
+include/OS/table.h
+include/OS/table2.h
+include/OS/types.h
+include/OS/ustring.h
+include/OverlayUnidraw/aceimport.h
+include/OverlayUnidraw/algebra3.h
+include/OverlayUnidraw/annotate.h
+include/OverlayUnidraw/attrtool.h
+include/OverlayUnidraw/clipline.h
+include/OverlayUnidraw/cliplinepoly.h
+include/OverlayUnidraw/clippoly.h
+include/OverlayUnidraw/grayraster.h
+include/OverlayUnidraw/grloctool.h
+include/OverlayUnidraw/indexmixins.h
+include/OverlayUnidraw/leafwalker.h
+include/OverlayUnidraw/ovabout.h
+include/OverlayUnidraw/ovadjuster.h
+include/OverlayUnidraw/ovarrow.h
+include/OverlayUnidraw/ovcamcmds.h
+include/OverlayUnidraw/ovcatalog.h
+include/OverlayUnidraw/ovchainview.h
+include/OverlayUnidraw/ovclasses.h
+include/OverlayUnidraw/ovclip.h
+include/OverlayUnidraw/ovcmds.h
+include/OverlayUnidraw/ovcomps.h
+include/OverlayUnidraw/ovcreator.h
+include/OverlayUnidraw/ovctrl.h
+include/OverlayUnidraw/ovdamage.h
+include/OverlayUnidraw/ovdialog.h
+include/OverlayUnidraw/ovdoer.h
+include/OverlayUnidraw/oved.h
+include/OverlayUnidraw/ovellipse.h
+include/OverlayUnidraw/ovexport.h
+include/OverlayUnidraw/ovfile.h
+include/OverlayUnidraw/ovfixview.h
+include/OverlayUnidraw/ovgdialog.h
+include/OverlayUnidraw/ovhull.h
+include/OverlayUnidraw/ovimport.h
+include/OverlayUnidraw/ovipcmds.h
+include/OverlayUnidraw/ovkit.h
+include/OverlayUnidraw/ovline.h
+include/OverlayUnidraw/ovmanips.h
+include/OverlayUnidraw/ovpage.h
+include/OverlayUnidraw/ovpainter.h
+include/OverlayUnidraw/ovpanner.h
+include/OverlayUnidraw/ovpolygon.h
+include/OverlayUnidraw/ovprecise.h
+include/OverlayUnidraw/ovprint.h
+include/OverlayUnidraw/ovpspict.h
+include/OverlayUnidraw/ovpsview.h
+include/OverlayUnidraw/ovraster.h
+include/OverlayUnidraw/ovrect.h
+include/OverlayUnidraw/ovrestimage.h
+include/OverlayUnidraw/ovselect.h
+include/OverlayUnidraw/ovselection.h
+include/OverlayUnidraw/ovshowhide.h
+include/OverlayUnidraw/ovspline.h
+include/OverlayUnidraw/ovstates.h
+include/OverlayUnidraw/ovstencil.h
+include/OverlayUnidraw/ovtext.h
+include/OverlayUnidraw/ovunidraw.h
+include/OverlayUnidraw/ovvars.h
+include/OverlayUnidraw/ovvertices.h
+include/OverlayUnidraw/ovviewer.h
+include/OverlayUnidraw/ovviews.h
+include/OverlayUnidraw/paramlist.h
+include/OverlayUnidraw/phold.h
+include/OverlayUnidraw/ptinpoly.h
+include/OverlayUnidraw/rastercmds.h
+include/OverlayUnidraw/scriptview.h
+include/OverlayUnidraw/setattrbyexpr.h
+include/OverlayUnidraw/slctbyattr.h
+include/OverlayUnidraw/textfile.h
+include/TIFF/format.h
+include/TIFF/tiff.h
+include/TIFF/tiffio.h
+include/Time/Date.h
+include/Time/Time_.h
+include/Time/obstime.h
+include/Time/timeglyph.h
+include/TopoFace/fgeomobjs.h
+include/TopoFace/topoedge.h
+include/TopoFace/topoedgelist.h
+include/TopoFace/topoelt.h
+include/TopoFace/topoface.h
+include/TopoFace/toponode.h
+include/UniIdraw/idarrow.h
+include/UniIdraw/idarrowhead.h
+include/UniIdraw/idarrows.h
+include/UniIdraw/idcatalog.h
+include/UniIdraw/idclasses.h
+include/UniIdraw/idcmds.h
+include/UniIdraw/idcomp.h
+include/UniIdraw/idcreator.h
+include/UniIdraw/iddialogs.h
+include/UniIdraw/ided.h
+include/UniIdraw/idkybd.h
+include/UniIdraw/idvars.h
+include/UniIdraw/idversion.h
+include/Unidraw/Commands/align.h
+include/Unidraw/Commands/brushcmd.h
+include/Unidraw/Commands/catcmds.h
+include/Unidraw/Commands/colorcmd.h
+include/Unidraw/Commands/command.h
+include/Unidraw/Commands/data.h
+include/Unidraw/Commands/datas.h
+include/Unidraw/Commands/dirty.h
+include/Unidraw/Commands/edit.h
+include/Unidraw/Commands/font.h
+include/Unidraw/Commands/import.h
+include/Unidraw/Commands/macro.h
+include/Unidraw/Commands/nop.h
+include/Unidraw/Commands/patcmd.h
+include/Unidraw/Commands/struct.h
+include/Unidraw/Commands/transforms.h
+include/Unidraw/Commands/viewcmds.h
+include/Unidraw/Components/cglue.h
+include/Unidraw/Components/component.h
+include/Unidraw/Components/compview.h
+include/Unidraw/Components/connector.h
+include/Unidraw/Components/csolver.h
+include/Unidraw/Components/ellipse.h
+include/Unidraw/Components/externview.h
+include/Unidraw/Components/grcomp.h
+include/Unidraw/Components/grview.h
+include/Unidraw/Components/gvupdater.h
+include/Unidraw/Components/line.h
+include/Unidraw/Components/link.h
+include/Unidraw/Components/pad.h
+include/Unidraw/Components/pin.h
+include/Unidraw/Components/polygon.h
+include/Unidraw/Components/psformat.h
+include/Unidraw/Components/psview.h
+include/Unidraw/Components/rastercomp.h
+include/Unidraw/Components/rect.h
+include/Unidraw/Components/slot.h
+include/Unidraw/Components/spline.h
+include/Unidraw/Components/stencilcomp.h
+include/Unidraw/Components/text.h
+include/Unidraw/Components/vertices.h
+include/Unidraw/Graphic/damage.h
+include/Unidraw/Graphic/ellipses.h
+include/Unidraw/Graphic/geomobjs.h
+include/Unidraw/Graphic/graphic.h
+include/Unidraw/Graphic/grblock.h
+include/Unidraw/Graphic/lines.h
+include/Unidraw/Graphic/picture.h
+include/Unidraw/Graphic/polygons.h
+include/Unidraw/Graphic/pspaint.h
+include/Unidraw/Graphic/rasterrect.h
+include/Unidraw/Graphic/splines.h
+include/Unidraw/Graphic/ulabel.h
+include/Unidraw/Graphic/ustencil.h
+include/Unidraw/Graphic/util.h
+include/Unidraw/Graphic/verts.h
+include/Unidraw/Tools/connect.h
+include/Unidraw/Tools/grcomptool.h
+include/Unidraw/Tools/magnify.h
+include/Unidraw/Tools/move.h
+include/Unidraw/Tools/reshape.h
+include/Unidraw/Tools/rotate.h
+include/Unidraw/Tools/scale.h
+include/Unidraw/Tools/select.h
+include/Unidraw/Tools/stretch.h
+include/Unidraw/Tools/tool.h
+include/Unidraw/_defines.h
+include/Unidraw/_undefs.h
+include/Unidraw/catalog.h
+include/Unidraw/classes.h
+include/Unidraw/clipboard.h
+include/Unidraw/creator.h
+include/Unidraw/ctrlinfo.h
+include/Unidraw/dialogs.h
+include/Unidraw/editor.h
+include/Unidraw/editorinfo.h
+include/Unidraw/enter-scope.h
+include/Unidraw/globals.h
+include/Unidraw/grid.h
+include/Unidraw/iterator.h
+include/Unidraw/keymap.h
+include/Unidraw/kybd.h
+include/Unidraw/leave-scope.h
+include/Unidraw/manip.h
+include/Unidraw/manips.h
+include/Unidraw/path.h
+include/Unidraw/selection.h
+include/Unidraw/statevar.h
+include/Unidraw/statevars.h
+include/Unidraw/stateview.h
+include/Unidraw/stateviews.h
+include/Unidraw/transfn.h
+include/Unidraw/transfns.h
+include/Unidraw/uarray.h
+include/Unidraw/uctrl.h
+include/Unidraw/uctrls.h
+include/Unidraw/uformat.h
+include/Unidraw/uhash.h
+include/Unidraw/ulist.h
+include/Unidraw/umap.h
+include/Unidraw/unidraw.h
+include/Unidraw/upage.h
+include/Unidraw/viewer.h
+include/ivstd/fstream.h
+include/ivstd/iosfwd
+include/ivstd/iostream.h
+include/ivstd/leakchecker.h
+include/ivstd/malloc.h
+include/ivstd/math.h
+include/ivstd/nan.h
+include/ivstd/osfcn.h
+include/ivstd/signal.h
+include/ivstd/stdio.h
+include/ivstd/stdlib.h
+include/ivstd/stream.h
+include/ivstd/string.h
+include/ivstd/version.h
+lib/ivtools/Idemo
+lib/ivtools/InterViews
+lib/ivtools/comterp.err
+lib/ivtools/config/InterViews/iv-DGUX.cf
+lib/ivtools/config/InterViews/iv-Mips.cf
+lib/ivtools/config/InterViews/iv-aix.cf
+lib/ivtools/config/InterViews/iv-alpha.cf
+lib/ivtools/config/InterViews/iv-apollo.cf
+lib/ivtools/config/InterViews/iv-att.cf
+lib/ivtools/config/InterViews/iv-bsd.cf
+lib/ivtools/config/InterViews/iv-convex.cf
+lib/ivtools/config/InterViews/iv-cray.cf
+lib/ivtools/config/InterViews/iv-cygwin.cf
+lib/ivtools/config/InterViews/iv-darwin.cf
+lib/ivtools/config/InterViews/iv-freebsd.cf
+lib/ivtools/config/InterViews/iv-generic.cf
+lib/ivtools/config/InterViews/iv-hp.cf
+lib/ivtools/config/InterViews/iv-ibm.cf
+lib/ivtools/config/InterViews/iv-linux.cf
+lib/ivtools/config/InterViews/iv-luna.cf
+lib/ivtools/config/InterViews/iv-m4330.cf
+lib/ivtools/config/InterViews/iv-macII.cf
+lib/ivtools/config/InterViews/iv-moto.cf
+lib/ivtools/config/InterViews/iv-netbsd.cf
+lib/ivtools/config/InterViews/iv-pegasus.cf
+lib/ivtools/config/InterViews/iv-sgi.cf
+lib/ivtools/config/InterViews/iv-sony.cf
+lib/ivtools/config/InterViews/iv-stellar.cf
+lib/ivtools/config/InterViews/iv-stratus.cf
+lib/ivtools/config/InterViews/iv-sun.cf
+lib/ivtools/config/InterViews/iv-ultrix.cf
+lib/ivtools/config/InterViews/iv-x386.cf
+lib/ivtools/config/InterViews/xparams.cf
+lib/ivtools/config/alpha3.0-gcc.mk
+lib/ivtools/config/alpha3.2-gcc.mk
+lib/ivtools/config/alpha4-gcc.mk
+lib/ivtools/config/arch.def
+lib/ivtools/config/config-${LOWER_OPSYS}-gcc.defs
+lib/ivtools/config/config.defs.in
+lib/ivtools/config/config.mk
+lib/ivtools/config/config.null.mk
+lib/ivtools/config/darwin-gcc.mk
+lib/ivtools/config/default-gcc.mk
+lib/ivtools/config/dragonfly-gcc.mk
+lib/ivtools/config/freebsd-gcc.mk
+lib/ivtools/config/freebsd2.1-gcc.mk
+lib/ivtools/config/gcc.def
+lib/ivtools/config/hpux-gcc.mk
+lib/ivtools/config/hpux10.20-gcc.mk
+lib/ivtools/config/irix5-gcc.mk
+lib/ivtools/config/irix6-gcc.mk
+lib/ivtools/config/linux-gcc.mk
+lib/ivtools/config/local.def
+lib/ivtools/config/m88k-sysv3-gcc.mk
+lib/ivtools/config/m88k-sysv4-gcc.mk
+lib/ivtools/config/makevars.def
+lib/ivtools/config/netbsd-gcc.mk
+lib/ivtools/config/params.def
+lib/ivtools/config/rules.def
+lib/ivtools/config/sco3.2.4-gcc.mk
+lib/ivtools/config/site.def.ALPHA
+lib/ivtools/config/site.def.CYGWIN
+lib/ivtools/config/site.def.DARWIN
+lib/ivtools/config/site.def.FREEBSD
+lib/ivtools/config/site.def.HP800
+lib/ivtools/config/site.def.LINUX
+lib/ivtools/config/site.def.NETBSD
+lib/ivtools/config/site.def.SGI
+lib/ivtools/config/site.def.SUN4
+lib/ivtools/config/solaris-gcc.mk
+lib/ivtools/config/sunos4-gcc.mk
+lib/ivtools/config/template
+lib/libAttrGlyph.so
+lib/libAttrGlyph.so.${PKGVERSION}
+lib/libAttribute.so
+lib/libAttribute.so.${PKGVERSION}
+lib/libComGlyph.so
+lib/libComGlyph.so.${PKGVERSION}
+lib/libComTerp.so
+lib/libComTerp.so.${PKGVERSION}
+lib/libComUnidraw.so
+lib/libComUnidraw.so.${PKGVERSION}
+lib/libComUtil.so
+lib/libComUtil.so.${PKGVERSION}
+lib/libDrawServ.so
+lib/libDrawServ.so.${PKGVERSION}
+lib/libFrameUnidraw.so
+lib/libFrameUnidraw.so.${PKGVERSION}
+lib/libGraphUnidraw.so
+lib/libGraphUnidraw.so.${PKGVERSION}
+lib/libIV-common.so
+lib/libIV-common.so.${PKGVERSION}
+lib/libIV.so
+lib/libIV.so.${PKGVERSION}
+lib/libIVGlyph.so
+lib/libIVGlyph.so.${PKGVERSION}
+lib/libOverlayUnidraw.so
+lib/libOverlayUnidraw.so.${PKGVERSION}
+lib/libTime.so
+lib/libTime.so.${PKGVERSION}
+lib/libTopoFace.so
+lib/libTopoFace.so.${PKGVERSION}
+lib/libUniIdraw.so
+lib/libUniIdraw.so.${PKGVERSION}
+lib/libUnidraw-common.so
+lib/libUnidraw-common.so.${PKGVERSION}
+lib/libUnidraw.so
+lib/libUnidraw.so.${PKGVERSION}
+man/man1/comdraw.1
+man/man1/comterp.1
+man/man1/dclock.1
+man/man1/drawtool.1
+man/man1/flipbook.1
+man/man1/graphdraw.1
+man/man1/iclass.1
+man/man1/idraw.1
+man/man1/ivmkmf.1
+man/man3/Adjuster.3
+man/man3/Banner.3
+man/man3/BasicDialog.3
+man/man3/Border.3
+man/man3/Box2_6.3
+man/man3/BrushCmd.3
+man/man3/Button2_6.3
+man/man3/CGlue.3
+man/man3/CSolver.3
+man/man3/Catalog.3
+man/man3/Clipboard.3
+man/man3/ColorCmd.3
+man/man3/Command.3
+man/man3/CompletionEditor.3
+man/man3/Component.3
+man/man3/ComponentView.3
+man/man3/ConnectTool.3
+man/man3/Connector.3
+man/man3/Control.3
+man/man3/ControlInfo.3
+man/man3/Creator.3
+man/man3/Damage.3
+man/man3/Data.3
+man/man3/Deck2_6.3
+man/man3/Dialog.3
+man/man3/Dispatcher.3
+man/man3/Editor.3
+man/man3/EditorInfo.3
+man/man3/EllipseComp.3
+man/man3/ExternView.3
+man/man3/FileBrowser.3
+man/man3/FileChooser.3
+man/man3/FontCmd.3
+man/man3/Frame.3
+man/man3/GVUpdater.3
+man/man3/Glue2_6.3
+man/man3/Graphic.3
+man/man3/GraphicBlock.3
+man/man3/GraphicComp.3
+man/man3/GraphicCompTool.3
+man/man3/GraphicView.3
+man/man3/Grid.3
+man/man3/IOCallback.3
+man/man3/IOHandler.3
+man/man3/ImportCmd.3
+man/man3/Interactor.3
+man/man3/Iterator.3
+man/man3/KeyMap.3
+man/man3/LineComp.3
+man/man3/LinkComp.3
+man/man3/MacroCmd.3
+man/man3/MagnifyTool.3
+man/man3/Manipulator.3
+man/man3/MatchEditor.3
+man/man3/Menu2_6.3
+man/man3/Message.3
+man/man3/MoveTool.3
+man/man3/NOPCmd.3
+man/man3/PadComp.3
+man/man3/Page.3
+man/man3/Painter.3
+man/man3/Panner.3
+man/man3/Path.3
+man/man3/Pattern.3
+man/man3/PatternCmd.3
+man/man3/Perspective.3
+man/man3/Picture.3
+man/man3/PinComp.3
+man/man3/PolygonComp.3
+man/man3/PostScriptView.3
+man/man3/RasterComp.3
+man/man3/RasterRect.3
+man/man3/RectComp.3
+man/man3/Regexp.3
+man/man3/ReqErr.3
+man/man3/ReshapeTool.3
+man/man3/Resource.3
+man/man3/RotateTool.3
+man/man3/RpcHdr.3
+man/man3/RpcPeer.3
+man/man3/RpcReader.3
+man/man3/RpcRegistry.3
+man/man3/RpcService.3
+man/man3/RpcWriter.3
+man/man3/Rubband.3
+man/man3/ScaleTool.3
+man/man3/Scene.3
+man/man3/Scroller.3
+man/man3/SelectTool.3
+man/man3/Selection.3
+man/man3/Sensor.3
+man/man3/Shape.3
+man/man3/SlotComp.3
+man/man3/SplineComp.3
+man/man3/StateVar.3
+man/man3/StateVarView.3
+man/man3/StencilComp.3
+man/man3/StrBrowser.3
+man/man3/StrChooser.3
+man/man3/StretchTool.3
+man/man3/StringEditor.3
+man/man3/Subject.3
+man/man3/TextBuffer.3
+man/man3/TextComp.3
+man/man3/TextDisplay.3
+man/man3/TextEditor.3
+man/man3/Tool.3
+man/man3/TransferFunct.3
+man/man3/Tray.3
+man/man3/UArray.3
+man/man3/UControl.3
+man/man3/UHashTable.3
+man/man3/ULabel.3
+man/man3/UList.3
+man/man3/UMap.3
+man/man3/UStencil.3
+man/man3/Unidraw.3
+man/man3/UnidrawIntro.3
+man/man3/Vertices.3
+man/man3/VerticesComp.3
+man/man3/Viewer.3
+man/man3/Viewport.3
+man/man3/World.3
+man/man3/align.3
+man/man3/catcmds.3
+man/man3/classes.3
+man/man3/datas.3
+man/man3/edit.3
+man/man3/ellipses.3
+man/man3/geomobjs.3
+man/man3/globals.3
+man/man3/iostreamb.3
+man/man3/kybd.3
+man/man3/lines.3
+man/man3/manips.3
+man/man3/polygons.3
+man/man3/pspaint.3
+man/man3/rpcbuf.3
+man/man3/rpcstream.3
+man/man3/splines.3
+man/man3/statevars.3
+man/man3/stateviews.3
+man/man3/struct.3
+man/man3/transfns.3
+man/man3/transforms.3
+man/man3/uctrls.3
+man/man3/viewcmds.3
diff --git a/ivtools/TODO b/ivtools/TODO
new file mode 100644
index 0000000000..ca467c81e7
--- /dev/null
+++ b/ivtools/TODO
@@ -0,0 +1,13 @@
+Current problem is:
+
+--- libUnidraw.so.1.2.11 ---
+building libUnidraw.so.1.2.11
+rm -f libUnidraw.so.1.2.11
+c++  -gdwarf-2 -O2  -Wl,-rpath-link,../../IV/NETBSD -L../../IV/NETBSD -lIV -lX11 -lc -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared  -o libUnidraw.so.1.2.11 *.o
+ld: cannot find -lX11
+ld: catcmds.o: in function `ivPrintCmd::Execute()':
+/export/CHROOT/tmp/wip/ivtools/work/ivtools-1.2/src/Unidraw/NETBSD/../catcmds.c:540: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
+ld: catalog.o: in function `ivCatalog::CopyObject(void*, unsigned long)':
+/export/CHROOT/tmp/wip/ivtools/work/ivtools-1.2/src/Unidraw/NETBSD/../catalog.c:681: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
+*** [libUnidraw.so.1.2.11] Error code 1
+
diff --git a/ivtools/distinfo b/ivtools/distinfo
new file mode 100644
index 0000000000..9657692fe0
--- /dev/null
+++ b/ivtools/distinfo
@@ -0,0 +1,44 @@
+$NetBSD: distinfo,v 1.26 2015/11/03 21:34:04 agc Exp $
+
+SHA1 (ivtools-1.2.11.tgz) = ae86773c7100c502f5921e1126d143b3d036f864
+RMD160 (ivtools-1.2.11.tgz) = 4be2dedd2c909f3ada42c2b59ea2967305864067
+SHA512 (ivtools-1.2.11.tgz) = a2774683f8ff61e4332a6ee0bb38cece08232b4422b75994422359c7c085fbdc532827cf229255f643e7bb497f34e0a9ef7a74bd8d6fa38fa387bb9899033917
+Size (ivtools-1.2.11.tgz) = 2211911 bytes
+SHA1 (patch-aa) = 191619b7db43c47d7cc991bc33787434f0ef6948
+SHA1 (patch-ab) = 4d47be6b806f76d66eb83e2f32b0507c56ae8530
+SHA1 (patch-ac) = 2b9b8065194dc0badcafdabe22079101416515aa
+SHA1 (patch-ad) = f5e19829367fb8d0406077934d2ccc222497b9aa
+SHA1 (patch-ae) = 64d0b99a868baf4be3ffd55f387ee1cd4f07747e
+SHA1 (patch-af) = de74e5bcb19c61938269a08c88e5962bbf675f76
+SHA1 (patch-ag) = d79843a5c27f024d4cb8f804c3875de29b0ec1cc
+SHA1 (patch-ah) = 4542d8bc5118d85b9722eb2f400dcc74930ff43c
+SHA1 (patch-ai) = 58bdfa9afb392298365c7d5cb203818cc64f437b
+SHA1 (patch-ak) = b75a7d5cffaf1659d0e30502069b25f6623af044
+SHA1 (patch-al) = e3f9bb775035019bd148a5d2e90e0e6e5e23d9cc
+SHA1 (patch-am) = fdfd7321e9840540b7dc47274c8c6abb9f790a18
+SHA1 (patch-an) = 3b825ee567274415f81676b7d3e33fac69548f78
+SHA1 (patch-ao) = 47846766bb3678ae24cbd5c4267aff317e330944
+SHA1 (patch-ap) = 09750f3dfa7c50f4e74dc13f8882abb086f16ba1
+SHA1 (patch-aq) = 452a19e3bc0cb032651de538a7a5e51f8b91ea75
+SHA1 (patch-ar) = e15757657454a1d86be2d35eb723ae66137a3d6d
+SHA1 (patch-as) = 56b8d26d3755c186c01575b49a91600f067bb878
+SHA1 (patch-at) = 17e959ed87ebb1f6c8d102a89caa484fc1d784c4
+SHA1 (patch-au) = 5ed1442edda4ccb19d36be3c948cdfcb4626cec8
+SHA1 (patch-av) = ffb971e3c77f639fc2c55e0b3a0c9a369ecc0435
+SHA1 (patch-aw) = bd9b55dad5a445832346a7d473102f0fad8ecbcf
+SHA1 (patch-ax) = 94ef57a62db72099ff079a0153663e9d8c43b635
+SHA1 (patch-ay) = 587d1090ea05108e5c9048a8ae5635069f47bec8
+SHA1 (patch-az) = ec58b1583cf750031c848d0455250226f3d54d99
+SHA1 (patch-ba) = bcc98482672d9c1642dd108fbecec16627d43345
+SHA1 (patch-bb) = 8221a722579cc8921cd71e9ff8aedbf73a938e0b
+SHA1 (patch-bc) = be65c4c37689880cb66de15efd27ab2fa77d76d0
+SHA1 (patch-be) = 11e770cd4288556ccd161afb86434591bb8c9e68
+SHA1 (patch-bf) = 60e8f16226e526e75da80652aaeb11b7f51c30a9
+SHA1 (patch-bg) = 36113051de323a5483337b4821ffa1a8163f59bf
+SHA1 (patch-bh) = dcd30d0096d8a13bdd2e5db2eb5eace3b010ba56
+SHA1 (patch-bi) = 477ce54baeb05a4c383c26af696ce18c07085e60
+SHA1 (patch-bj) = d262c3a217b8f7838a08d6a0952417aeb3e525dd
+SHA1 (patch-bk) = 96edb15971da782c78fc2dd177bce5869cb68201
+SHA1 (patch-bl) = 807a2b860184e990fbf5afcebf4a161c4c614741
+SHA1 (patch-src_glyphs_strchooser_main.c) = 7cd91aaaba73d412bb0d41d5030f0c956e3ef000
+SHA1 (patch-src_tests_y2k_y2ktest.cc) = ef1b1d3d20031b3d769152e2896b656aa716abfd
diff --git a/ivtools/patches/patch-aa b/ivtools/patches/patch-aa
new file mode 100644
index 0000000000..d4b21dd0ec
--- /dev/null
+++ b/ivtools/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/03/22 13:22:05 tron Exp $
+
+--- config/local.def.orig	Wed Feb 20 18:56:32 2002
++++ config/local.def	Fri Mar 22 14:08:54 2002
+@@ -195,3 +195,6 @@
+ #define DependCmd CCDriver -M 
+ 
+ XCOMM -------------------------------------------------------------------------
++
++#undef ExtraCCLdFlags
++#define ExtraCCLdFlags -Wl,-R$(X11BASE)/lib -Wl,-R$(LOCALBASE)/lib
diff --git a/ivtools/patches/patch-ab b/ivtools/patches/patch-ab
new file mode 100644
index 0000000000..39bc9e6187
--- /dev/null
+++ b/ivtools/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.5 2014/12/25 04:53:14 obache Exp $
+
+--- configure.orig	2005-10-10 18:35:27.000000000 +0000
++++ configure
+@@ -1346,6 +1346,7 @@ case "$host" in
+     *hpux*10*20) platform_part=hpux10.20 ;;
+     *hpux* ) platform_part=hpux ;;
+     *netbsd* ) platform_part=netbsd ;;
++    *dragonfly* ) platform_part=dragonfly ;;
+     *linux* ) platform_part=linux ;;
+     m88k-*-sysv4 ) platform_part=m88k-sysv4 ;;
+     m88k-*-sysv3 ) platform_part=m88k-sysv3 ;;
+@@ -3741,7 +3742,7 @@ if test "${ac_cv_lib_stdcpp_peek__7istre
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lstdc++  $LIBS"
++LIBS="-lstdc++ -lm $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -3811,7 +3812,7 @@ if test "${ac_cv_lib_stdcpp__ZNSi4peekEv
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lstdc++  $LIBS"
++LIBS="-lstdc++ -lm $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
diff --git a/ivtools/patches/patch-ac b/ivtools/patches/patch-ac
new file mode 100644
index 0000000000..9eaba72e56
--- /dev/null
+++ b/ivtools/patches/patch-ac
@@ -0,0 +1,45 @@
+$NetBSD: patch-ac,v 1.4 2010/04/05 22:52:23 markd Exp $
+
+--- config/site.def.NETBSD.orig	2003-10-22 18:13:39.000000000 +0000
++++ config/site.def.NETBSD
+@@ -16,6 +16,9 @@
+ #undef TroffCmd
+ #define TroffCmd groff
+ 
++#undef CppCmd
++#define CppCmd cpp
++
+ /* 
+  * build RPC classes -- requires iostreams & TCP sockets
+  */
+@@ -35,7 +38,7 @@
+ #define ExtraCCLdLibs -lstdc++ -lm
+ 
+ /* command to create shared libraries */
+-#define SharedLibraryCmd(ldobjs,extra_flags) gcc -shared extra_flags -o $@ ldobjs
++#define SharedLibraryCmd(ldobjs,extra_flags) ${CXX} ${CCLDFLAGS} -shared extra_flags -o $@ ldobjs
+ 
+ /*
+  * Install a shared library on NetBSD.
+@@ -46,15 +46,15 @@
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)			@@\
+ install:: Concat(lib,libname.so.rev)					@@\
+-	MakeDir(dest)                                                   @@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) dest   @@\
+-	-@$(RM) dest/Concat(lib,libname.so)		                @@\
+-	-@(cd dest;$(LN) Concat(lib,libname.so.rev) \			@@\
++	MakeDir($(DESTDIR)dest)                                                   @@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest   @@\
++	-@$(RM) $(DESTDIR)dest/Concat(lib,libname.so)		                @@\
++	-@(cd $(DESTDIR)dest;$(LN) Concat(lib,libname.so.rev) \			@@\
+ 	Concat(lib,libname.so))					        @@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.so.rev)				@@\
+-	$(RM) dest/Concat(lib,libname.so)	
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so.rev)				@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so)	
+ #endif
+ 
+ #ifndef ImakeFlags
diff --git a/ivtools/patches/patch-ad b/ivtools/patches/patch-ad
new file mode 100644
index 0000000000..1df0ef8961
--- /dev/null
+++ b/ivtools/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.7 2010/04/05 22:52:23 markd Exp $
+
+--- src/Dispatch/dispatcher.c.orig	2009-09-15 16:36:12.000000000 +0000
++++ src/Dispatch/dispatcher.c
+@@ -659,7 +659,7 @@ int Dispatcher::waitFor(
+ #endif
+ #else
+ #ifdef SA_NOCLDSTOP                   /* POSIX */
+-#if defined(__CYGWIN__) || defined(hpux) || defined(linux) || defined(sun) && defined(__svr4__)
++#if defined(__CYGWIN__) || defined(hpux) || defined(linux) || defined(sun) && defined(__svr4__) || defined(__NetBSD__)
+ 	sa.sa_handler = (void (*)(int))(&Dispatcher::sigCLD);
+ #else
+ 	sa.sa_handler = fxSIGACTIONHANDLER(&Dispatcher::sigCLD);
diff --git a/ivtools/patches/patch-ae b/ivtools/patches/patch-ae
new file mode 100644
index 0000000000..20ab0f5704
--- /dev/null
+++ b/ivtools/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.3 2006/07/26 11:53:39 markd Exp $
+
+--- config/params.def.orig	2006-07-24 14:49:53.000000000 +0200
++++ config/params.def
+@@ -1056,7 +1056,7 @@ NONSHARED_CCLDFLAGS = NonSharedCCLdFlags
+ 
+ #ifndef TiffCCLdLibs
+ #ifdef TiffLibDir
+-#define TiffCCLdLibs -L$(TIFFLIBDIR) -lTIFF
++#define TiffCCLdLibs -L$(TIFFLIBDIR) -ltiff -Wl,-R$(TIFFLIBDIR)
+ #else
+ #define TiffCCLdLibs /**/
+ #endif
diff --git a/ivtools/patches/patch-af b/ivtools/patches/patch-af
new file mode 100644
index 0000000000..c00ffb78ff
--- /dev/null
+++ b/ivtools/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.3 2007/02/15 18:26:14 joerg Exp $
+
+--- config/arch.def.orig	2007-02-15 15:28:24.000000000 +0000
++++ config/arch.def
+@@ -463,6 +463,17 @@
+ #define MacroFile InterViews/iv-netbsd.cf
+ #endif /* __NetBSD__ */
+ 
++#if defined(__DragonFly__)
++#undef DRAGONFLY
++#undef dragonfly
++#define DragonFlyArchitecture
++#define ArchitectureName DragonFly
++#define architectureName dragonfly
++#define SiteDefCpu <site.def.NETBSD>
++#define MacroIncludeFile <InterViews/iv-netbsd.cf>
++#define MacroFile InterViews/iv-netbsd.cf
++#endif /* __NetBSD__ */
++
+ #if defined(__FreeBSD__)
+ #undef FREEBSD
+ #undef freebsd
diff --git a/ivtools/patches/patch-ag b/ivtools/patches/patch-ag
new file mode 100644
index 0000000000..48249bb873
--- /dev/null
+++ b/ivtools/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.3 2007/02/15 18:26:15 joerg Exp $
+
+--- config/InterViews/TIFF.def.orig	2007-02-15 15:29:59.000000000 +0000
++++ config/InterViews/TIFF.def
+@@ -142,7 +142,7 @@ TIFF_OPTIMIZE_CFLAGS = TIFFOptimizeCFlag
+    -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT \
+     -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1
+ #endif
+-#if defined(NetBSDArchitecture)
++#if defined(NetBSDArchitecture) || defined(DragonflyArchitecture)
+ #define TIFFStdCDefines \
+     -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT \
+     -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1
diff --git a/ivtools/patches/patch-ah b/ivtools/patches/patch-ah
new file mode 100644
index 0000000000..6c44d79806
--- /dev/null
+++ b/ivtools/patches/patch-ah
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.3 2007/02/15 18:26:15 joerg Exp $
+
+--- src/include/ivstd/nan.h.orig	2007-02-15 15:31:06.000000000 +0000
++++ src/include/ivstd/nan.h
+@@ -3,7 +3,7 @@
+ 
+ #if defined(__GLIBC__) && (__GLIBC__==2 && __GLIBC_MINOR__>0 || __GLIBC__>2)
+ #include <bits/nan.h>
+-#elif !defined(__CYGWIN__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__)
++#elif !defined(__CYGWIN__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__) && !defined(__DragonFly__)
+ #include_next <nan.h>
+ #else
+ #include <math.h>
+@@ -12,7 +12,7 @@
+ #include <ieeefp.h>
+ #endif
+ 
+-#if defined(__sun__) && defined(__svr4__) || defined(__CYGWIN__) || defined(__linux__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
++#if defined(__sun__) && defined(__svr4__) || defined(__CYGWIN__) || defined(__linux__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ #define isnanorinf(dval) (!finite(dval))
+ #elif defined(__alpha)
+ #define isnanorinf(dval) (IsNANorINF(dval))
diff --git a/ivtools/patches/patch-ai b/ivtools/patches/patch-ai
new file mode 100644
index 0000000000..11bf2521d5
--- /dev/null
+++ b/ivtools/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.3 2007/02/15 18:26:15 joerg Exp $
+
+--- src/IV-X11/xwindow.c.orig	2007-02-15 15:44:36.000000000 +0000
++++ src/IV-X11/xwindow.c
+@@ -62,7 +62,7 @@
+ #include <stropts.h>
+ #include <sys/conf.h>
+ #endif
+-#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__)
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__) && !defined(__DragonFly__)
+ #if !defined(__linux__) && !defined(__CYGWIN__)
+ /* no standard place for this */
+ extern "C" {
diff --git a/ivtools/patches/patch-ak b/ivtools/patches/patch-ak
new file mode 100644
index 0000000000..f66cfdfb30
--- /dev/null
+++ b/ivtools/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.4 2010/04/05 22:52:23 markd Exp $
+
+--- src/ComTerp/comterp.c.orig	2013-02-13 17:57:54.000000000 +0900
++++ src/ComTerp/comterp.c	2020-12-30 15:14:37.524413132 +0900
+@@ -1078,7 +1078,7 @@ int ComTerp::run(boolean one_expr, boole
+     fbuf.attach(fd);
+   } else
+     fbuf.attach(fileno(stdout));
+-#elif (__GNUC__==3 && __GNUC_MINOR__<1) || __GNUC__>3 || defined(__CYGWIN__)
++#elif (__GNUC__==3 && (__GNUC_MINOR__<1 || __GNUC_MINOR__ >= 4)) || __GNUC__>3 || defined(__CYGWIN__)
+   fileptr_filebuf fbuf(handler() && handler()->wrfptr() 
+ 		       ? handler()->wrfptr() : (_fd>0 ? fdopen(_fd, "w") : stdout), 
+ 	       ios_base::out);
diff --git a/ivtools/patches/patch-al b/ivtools/patches/patch-al
new file mode 100644
index 0000000000..3cd20a5583
--- /dev/null
+++ b/ivtools/patches/patch-al
@@ -0,0 +1,12 @@
+$NetBSD: patch-al,v 1.4 2007/02/19 20:31:49 joerg Exp $
+
+--- src/IV/Imakefile.orig	2005-10-06 18:33:31.000000000 +0000
++++ src/IV/Imakefile
+@@ -41,6 +41,7 @@ SRCS	   = \
+ LIB	   = IV
+ 
+ KIT_CCFLAGS = KitFlags
++OTHER_CCLDFLAGS += ${TIFF_CCLDLIBS} -lX11 -lXext -lc
+ LIBPATHS   = -DABSLIBALLDIR='"$(ABSLIBALLDIR)"' -DRELLIBALLDIR='"$(RELLIBALLDIR)"' \
+ 	     -DX_LIBDIR='"$(XLIBDIR)"'
+ DEPEND_CCFLAGS = DependCCFlags $(KIT_CCFLAGS) $(GL_CCFLAGS)
diff --git a/ivtools/patches/patch-am b/ivtools/patches/patch-am
new file mode 100644
index 0000000000..057a5232f7
--- /dev/null
+++ b/ivtools/patches/patch-am
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.4 2007/02/19 20:31:49 joerg Exp $
+
+--- src/Unidraw/Imakefile.orig	2007-02-15 16:29:47.000000000 +0000
++++ src/Unidraw/Imakefile
+@@ -7,6 +7,7 @@ PACKAGE = Unidraw
+ #ifdef InObjectCodeDir
+ 
+ LIB = Unidraw
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lX11 -lc
+ 
+ MakeLibrary($(LIB),$(VERSION))
+ 
diff --git a/ivtools/patches/patch-an b/ivtools/patches/patch-an
new file mode 100644
index 0000000000..a45e27eaf4
--- /dev/null
+++ b/ivtools/patches/patch-an
@@ -0,0 +1,12 @@
+$NetBSD: patch-an,v 1.4 2007/02/19 20:31:49 joerg Exp $
+
+--- src/Unidraw-common/Imakefile.orig	2007-02-15 16:34:42.000000000 +0000
++++ src/Unidraw-common/Imakefile
+@@ -8,6 +8,7 @@ NO_IVMKCM = 1
+ #ifdef InObjectCodeDir
+ 
+ LIB = Unidraw-common
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
+ 
+ MakeLibrary($(LIB),$(VERSION))
+ 
diff --git a/ivtools/patches/patch-ao b/ivtools/patches/patch-ao
new file mode 100644
index 0000000000..95ad9db1b4
--- /dev/null
+++ b/ivtools/patches/patch-ao
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.4 2007/02/19 20:31:49 joerg Exp $
+
+--- src/Attribute/Imakefile.orig	2007-02-15 16:36:04.000000000 +0000
++++ src/Attribute/Imakefile
+@@ -7,6 +7,10 @@ PACKAGE = Attribute
+ #ifdef InObjectCodeDir
+ 
+ LIB = Attribute
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++
+ 
+ MakeLibrary($(LIB),$(VERSION))
+ 
diff --git a/ivtools/patches/patch-ap b/ivtools/patches/patch-ap
new file mode 100644
index 0000000000..40816b9790
--- /dev/null
+++ b/ivtools/patches/patch-ap
@@ -0,0 +1,14 @@
+$NetBSD: patch-ap,v 1.4 2007/02/19 20:31:49 joerg Exp $
+
+--- src/TopoFace/Imakefile.orig	2007-02-15 16:42:36.000000000 +0000
++++ src/TopoFace/Imakefile
+@@ -7,6 +7,9 @@ PACKAGE = TopoFace
+ #ifdef InObjectCodeDir
+ 
+ LIB = TopoFace
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++
+ 
+ 
+ MakeLibrary($(LIB),$(VERSION))
diff --git a/ivtools/patches/patch-aq b/ivtools/patches/patch-aq
new file mode 100644
index 0000000000..80f0a94962
--- /dev/null
+++ b/ivtools/patches/patch-aq
@@ -0,0 +1,15 @@
+$NetBSD: patch-aq,v 1.4 2007/02/19 20:31:50 joerg Exp $
+
+--- src/ComTerp/Imakefile.orig	2007-02-15 16:45:01.000000000 +0000
++++ src/ComTerp/Imakefile
+@@ -11,6 +11,10 @@ CCSUFFIX = c
+ 
+ OTHER_CCDEFINES = $(ACE_CCDEFINES)
+ OTHER_CCINCLUDES = $(ACE_CCINCLUDES)
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
+ 
+ MakeLibrary($(LIB),$(VERSION))
+ 
diff --git a/ivtools/patches/patch-ar b/ivtools/patches/patch-ar
new file mode 100644
index 0000000000..148dab20a2
--- /dev/null
+++ b/ivtools/patches/patch-ar
@@ -0,0 +1,39 @@
+$NetBSD: patch-ar,v 1.3 2007/02/15 18:26:16 joerg Exp $
+
+--- src/Imakefile.orig	2004-01-30 18:36:03.000000000 +0000
++++ src/Imakefile
+@@ -23,6 +23,8 @@ ACEDISPATCH =
+ #endif
+ 
+ SUBDIRS = \
++	IV \
++	Unidraw \
+ 	IV-common \
+ 	Unidraw-common \
+ 	\
+@@ -33,7 +35,6 @@ SUBDIRS = \
+ 	comtest \
+ 	comterp_ \
+ 	\
+-	IV \
+ 	InterViews \
+ 	IV-2_6 \
+ 	IV-X11 \
+@@ -44,8 +45,8 @@ SUBDIRS = \
+ 	iclass \
+ 	idemo \
+ 	\
+-	Time \
+ 	IVGlyph \
++	Time \
+ 	ivtext \
+ 	glyphs \
+ 	\
+@@ -53,7 +54,6 @@ SUBDIRS = \
+ 	ComGlyph \
+ 	glyphterp \
+ 	\
+-	Unidraw \
+ 	UniIdraw \
+ 	idraw \
+ 	\
diff --git a/ivtools/patches/patch-as b/ivtools/patches/patch-as
new file mode 100644
index 0000000000..44524ff654
--- /dev/null
+++ b/ivtools/patches/patch-as
@@ -0,0 +1,12 @@
+$NetBSD: patch-as,v 1.4 2007/02/19 20:31:50 joerg Exp $
+
+--- src/IVGlyph/Imakefile.orig	2007-02-15 16:51:15.000000000 +0000
++++ src/IVGlyph/Imakefile
+@@ -7,6 +7,7 @@ PACKAGE = IVGlyph
+ #ifdef InObjectCodeDir
+ 
+ LIB = IVGlyph
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lX11 -lc
+ 
+ Use_libInterViews()
+ 
diff --git a/ivtools/patches/patch-at b/ivtools/patches/patch-at
new file mode 100644
index 0000000000..4f817df38a
--- /dev/null
+++ b/ivtools/patches/patch-at
@@ -0,0 +1,13 @@
+$NetBSD: patch-at,v 1.4 2007/02/19 20:31:50 joerg Exp $
+
+--- src/Time/Imakefile.orig	2007-02-15 16:49:02.000000000 +0000
++++ src/Time/Imakefile
+@@ -7,6 +7,8 @@ PACKAGE = Time
+ #ifdef InObjectCodeDir
+ 
+ LIB = Time
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
+ 
+ Use_libInterViews()
+ 
diff --git a/ivtools/patches/patch-au b/ivtools/patches/patch-au
new file mode 100644
index 0000000000..817593e78a
--- /dev/null
+++ b/ivtools/patches/patch-au
@@ -0,0 +1,15 @@
+$NetBSD: patch-au,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/AttrGlyph/Imakefile.orig	2007-02-15 16:55:28.000000000 +0000
++++ src/AttrGlyph/Imakefile
+@@ -7,6 +7,10 @@ PACKAGE = AttrGlyph
+ #ifdef InObjectCodeDir
+ 
+ LIB = AttrGlyph
++OTHER_CCLDFLAGS= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
+ 
+ Use_libInterViews()
+ 
diff --git a/ivtools/patches/patch-av b/ivtools/patches/patch-av
new file mode 100644
index 0000000000..ec31df8af3
--- /dev/null
+++ b/ivtools/patches/patch-av
@@ -0,0 +1,16 @@
+$NetBSD: patch-av,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/ComGlyph/Imakefile.orig	2007-02-15 16:57:44.000000000 +0000
++++ src/ComGlyph/Imakefile
+@@ -7,6 +7,11 @@ PACKAGE = ComGlyph
+ #ifdef InObjectCodeDir
+ 
+ LIB = ComGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComTerp/${ARCHORCPU} -L../../ComTerp/${ARCHORCPU} -lComTerp
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
+ 
+ Use_libInterViews()
+ 
diff --git a/ivtools/patches/patch-aw b/ivtools/patches/patch-aw
new file mode 100644
index 0000000000..0f8187aae8
--- /dev/null
+++ b/ivtools/patches/patch-aw
@@ -0,0 +1,13 @@
+$NetBSD: patch-aw,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/UniIdraw/Imakefile.orig	2007-02-15 16:59:50.000000000 +0000
++++ src/UniIdraw/Imakefile
+@@ -7,6 +7,8 @@ PACKAGE = UniIdraw
+ #ifdef InObjectCodeDir
+ 
+ LIB = UniIdraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
+ 
+ Use_libUnidraw()
+ Use_2_6()
diff --git a/ivtools/patches/patch-ax b/ivtools/patches/patch-ax
new file mode 100644
index 0000000000..a50489c271
--- /dev/null
+++ b/ivtools/patches/patch-ax
@@ -0,0 +1,21 @@
+$NetBSD: patch-ax,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/OverlayUnidraw/Imakefile.orig	2007-02-15 17:04:20.000000000 +0000
++++ src/OverlayUnidraw/Imakefile
+@@ -9,6 +9,16 @@ PACKAGE = OverlayUnidraw
+ LIB = OverlayUnidraw
+ OTHER_CCDEFINES = $(CLIPPOLY_CCDEFINES) $(ACE_CCDEFINES)
+ OTHER_CCINCLUDES = $(CLIPPOLY_CCINCLUDES) $(ACE_CCINCLUDES)
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lX11 -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComTerp/${ARCHORCPU} -L../../ComTerp/${ARCHORCPU} -lComTerp
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComGlyph/${ARCHORCPU} -L../../ComGlyph/${ARCHORCPU} -lComGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../TopoFace/${ARCHORCPU} -L../../TopoFace/${ARCHORCPU} -lTopoFace
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../UniIdraw/${ARCHORCPU} -L../../UniIdraw/${ARCHORCPU} -lUniIdraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../AttrGlyph/${ARCHORCPU} -L../../AttrGlyph/${ARCHORCPU} -lAttrGlyph
+ 
+ Use_libUnidraw()
+ Use_2_6()
diff --git a/ivtools/patches/patch-ay b/ivtools/patches/patch-ay
new file mode 100644
index 0000000000..291cf95f33
--- /dev/null
+++ b/ivtools/patches/patch-ay
@@ -0,0 +1,20 @@
+$NetBSD: patch-ay,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/ComUnidraw/Imakefile.orig	2007-02-15 17:10:45.000000000 +0000
++++ src/ComUnidraw/Imakefile
+@@ -9,6 +9,15 @@ PACKAGE = ComUnidraw
+ LIB = ComUnidraw
+ OTHER_CCDEFINES = $(ACE_CCDEFINES)
+ OTHER_CCINCLUDES = $(ACE_CCINCLUDES)
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lX11 -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../OverlayUnidraw/${ARCHORCPU} -L../../OverlayUnidraw/${ARCHORCPU} -lOverlayUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComTerp/${ARCHORCPU} -L../../ComTerp/${ARCHORCPU} -lComTerp
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComGlyph/${ARCHORCPU} -L../../ComGlyph/${ARCHORCPU} -lComGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../UniIdraw/${ARCHORCPU} -L../../UniIdraw/${ARCHORCPU} -lUniIdraw
+ 
+ Use_libUnidraw()
+ Use_2_6()
diff --git a/ivtools/patches/patch-az b/ivtools/patches/patch-az
new file mode 100644
index 0000000000..27a78d09ce
--- /dev/null
+++ b/ivtools/patches/patch-az
@@ -0,0 +1,21 @@
+$NetBSD: patch-az,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/FrameUnidraw/Imakefile.orig	2007-02-15 17:15:09.000000000 +0000
++++ src/FrameUnidraw/Imakefile
+@@ -7,6 +7,16 @@ PACKAGE = FrameUnidraw
+ #ifdef InObjectCodeDir
+ 
+ LIB = FrameUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../OverlayUnidraw/${ARCHORCPU} -L../../OverlayUnidraw/${ARCHORCPU} -lOverlayUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../UniIdraw/${ARCHORCPU} -L../../UniIdraw/${ARCHORCPU} -lUniIdraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComGlyph/${ARCHORCPU} -L../../ComGlyph/${ARCHORCPU} -lComGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComTerp/${ARCHORCPU} -L../../ComTerp/${ARCHORCPU} -lComTerp
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUnidraw/${ARCHORCPU} -L../../ComUnidraw/${ARCHORCPU} -lComUnidraw
+ 
+ Use_libUnidraw()
+ Use_2_6()
diff --git a/ivtools/patches/patch-ba b/ivtools/patches/patch-ba
new file mode 100644
index 0000000000..d21aae017c
--- /dev/null
+++ b/ivtools/patches/patch-ba
@@ -0,0 +1,21 @@
+$NetBSD: patch-ba,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/GraphUnidraw/Imakefile.orig	2007-02-15 17:21:06.000000000 +0000
++++ src/GraphUnidraw/Imakefile
+@@ -7,6 +7,16 @@ PACKAGE = GraphUnidraw
+ #ifdef InObjectCodeDir
+ 
+ LIB = GraphUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../TopoFace/${ARCHORCPU} -L../../TopoFace/${ARCHORCPU} -lTopoFace
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../OverlayUnidraw/${ARCHORCPU} -L../../OverlayUnidraw/${ARCHORCPU} -lOverlayUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../UniIdraw/${ARCHORCPU} -L../../UniIdraw/${ARCHORCPU} -lUniIdraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComTerp/${ARCHORCPU} -L../../ComTerp/${ARCHORCPU} -lComTerp
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUnidraw/${ARCHORCPU} -L../../ComUnidraw/${ARCHORCPU} -lComUnidraw
+ 
+ Use_libUnidraw()
+ Use_2_6()
diff --git a/ivtools/patches/patch-bb b/ivtools/patches/patch-bb
new file mode 100644
index 0000000000..0d284f601a
--- /dev/null
+++ b/ivtools/patches/patch-bb
@@ -0,0 +1,23 @@
+$NetBSD: patch-bb,v 1.2 2007/02/19 20:31:50 joerg Exp $
+
+--- src/DrawServ/Imakefile.orig	2007-02-15 17:27:54.000000000 +0000
++++ src/DrawServ/Imakefile
+@@ -7,6 +7,18 @@ PACKAGE = DrawServ
+ #ifdef InObjectCodeDir
+ 
+ LIB = DrawServ
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IV/${ARCHORCPU} -L../../IV/${ARCHORCPU} -lIV -lc
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../FrameUnidraw/${ARCHORCPU} -L../../FrameUnidraw/${ARCHORCPU} -lFrameUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../OverlayUnidraw/${ARCHORCPU} -L../../OverlayUnidraw/${ARCHORCPU} -lOverlayUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../GraphUnidraw/${ARCHORCPU} -L../../GraphUnidraw/${ARCHORCPU} -lGraphUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Unidraw/${ARCHORCPU} -L../../Unidraw/${ARCHORCPU} -lUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../UniIdraw/${ARCHORCPU} -L../../UniIdraw/${ARCHORCPU} -lUniIdraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../IVGlyph/${ARCHORCPU} -L../../IVGlyph/${ARCHORCPU} -lIVGlyph
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComTerp/${ARCHORCPU} -L../../ComTerp/${ARCHORCPU} -lComTerp
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUnidraw/${ARCHORCPU} -L../../ComUnidraw/${ARCHORCPU} -lComUnidraw
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../ComUtil/${ARCHORCPU} -L../../ComUtil/${ARCHORCPU} -lComUtil
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../Attribute/${ARCHORCPU} -L../../Attribute/${ARCHORCPU} -lAttribute
++OTHER_CCLDFLAGS+= -Wl,-rpath-link,../../TopoFace/${ARCHORCPU} -L../../TopoFace/${ARCHORCPU} -lTopoFace
+ 
+ OTHER_CCDEFINES = $(ACE_CCDEFINES)
+ OTHER_CCINCLUDES = $(ACE_CCINCLUDES)
diff --git a/ivtools/patches/patch-bc b/ivtools/patches/patch-bc
new file mode 100644
index 0000000000..f69a49c073
--- /dev/null
+++ b/ivtools/patches/patch-bc
@@ -0,0 +1,12 @@
+$NetBSD: patch-bc,v 1.1 2007/03/03 17:54:31 joerg Exp $
+
+--- src/IV-common/Imakefile.orig	2007-02-22 23:39:38.000000000 +0000
++++ src/IV-common/Imakefile
+@@ -8,6 +8,7 @@ NO_IVMKCM = 1
+ #ifdef InObjectCodeDir
+ 
+ LIB = IV-common
++OTHER_CCLDFLAGS += -lc
+ 
+ MakeLibrary($(LIB),$(VERSION))
+ 
diff --git a/ivtools/patches/patch-be b/ivtools/patches/patch-be
new file mode 100644
index 0000000000..2922a81b14
--- /dev/null
+++ b/ivtools/patches/patch-be
@@ -0,0 +1,198 @@
+$NetBSD: patch-be,v 1.2 2014/12/25 05:10:38 obache Exp $
+
+* DESTDIR support
+* Assume cp as GNU cp only for Linux.
+
+--- config/rules.def.orig	2005-10-11 21:21:17.000000000 +0000
++++ config/rules.def
+@@ -929,22 +929,22 @@ step::									@@\
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)			@@\
+ install:: Concat(lib,libname.so.rev)					@@\
+-	MakeDir(dest)							@@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) dest   @@\
++	MakeDir($(DESTDIR)dest)							@@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest   @@\
+ 									@@\
+ uninstall:: 								@@\
+-	$(RM) dest/Concat(lib,libname.so.rev)			
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so.rev)			
+ #endif
+ 
+ #ifndef InstallNonSharedLibrary
+ #define InstallNonSharedLibrary(libname,dest)				@@\
+ install:: Concat(lib,libname.a)						@@\
+-	MakeDir(dest)							@@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.a) dest	@@\
+-	RanLibrary($(RANLIBINSTFLAGS) Concat(dest/lib,libname.a))       @@\
++	MakeDir($(DESTDIR)dest)							@@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.a) $(DESTDIR)dest	@@\
++	RanLibrary($(RANLIBINSTFLAGS) Concat($(DESTDIR)dest/lib,libname.a))       @@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.a)
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.a)
+ #endif
+ 
+ #ifndef InstallLibrary
+@@ -964,20 +964,20 @@ InstallNonSharedLibrary(libname,dest)
+ #if RemoveAfterInstall
+ #define InstallProgramWithFlags(program,destdir,destname,flags)		@@\
+ install:: program							@@\
+-	MakeDir(destdir)						@@\
+-	$(INSTALL) -c $(INSTPGMFLAGS) flags program destdir/destname	@@\
++	MakeDir($(DESTDIR)destdir)						@@\
++	$(INSTALL) -c $(INSTPGMFLAGS) flags program $(DESTDIR)destdir/destname	@@\
+ 	$(RM) program							@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) destdir/destname
++	$(RM) $(DESTDIR)destdir/destname
+ #else
+ #define InstallProgramWithFlags(program,destdir,destname,flags)		@@\
+ install:: program							@@\
+-	MakeDir(destdir)						@@\
+-	$(INSTALL) -c $(INSTPGMFLAGS) flags program destdir/destname    @@\
++	MakeDir($(DESTDIR)destdir)						@@\
++	$(INSTALL) -c $(INSTPGMFLAGS) flags program $(DESTDIR)destdir/destname    @@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) destdir/destname
++	$(RM) $(DESTDIR)destdir/destname
+ #endif
+ #endif
+ 
+@@ -992,11 +992,11 @@ InstallProgramWithFlags(program,destdir,
+ #ifndef InstallScript
+ #define InstallScript(script,dest)					@@\
+ install:: script							@@\
+-	MakeDir(dest)							@@\
+-	$(INSTALL) -c $(INSTBINFLAGS) script dest			@@\
++	MakeDir($(DESTDIR)dest)							@@\
++	$(INSTALL) -c $(INSTBINFLAGS) script $(DESTDIR)dest			@@\
+ 									@@\
+ uninstall::								@@\
+-	dest/script
++	$(DESTDIR)dest/script
+ #endif
+ 
+ /*
+@@ -1005,11 +1005,11 @@ uninstall::								@@\
+ #ifndef InstallScriptAs
+ #define InstallScriptAs(script,dest,destname)				@@\
+ install:: script							@@\
+-	MakeDir(dest)							@@\
+-	$(INSTALL) -c $(INSTBINFLAGS) script dest/destname		@@\
++	MakeDir($(DESTDIR)dest)							@@\
++	$(INSTALL) -c $(INSTBINFLAGS) script $(DESTDIR)dest/destname		@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/destname		
++	$(RM) $(DESTDIR)dest/destname		
+ #endif
+ 
+ /*
+@@ -1018,14 +1018,14 @@ uninstall::								@@\
+ #ifndef InstallMultipleFlags
+ #define InstallMultipleFlags(list,dest,flags)				@@\
+ install:: list								@@\
+-	MakeDir(dest)							@@\
++	MakeDir($(DESTDIR)dest)							@@\
+ 	@for i in list; do \						@@\
+-		(set -x; $(INSTALL) -c flags $$i dest); \		@@\
++		(set -x; $(INSTALL) -c flags $$i $(DESTDIR)dest); \		@@\
+ 	done								@@\
+ 									@@\
+ uninstall::								@@\
+ 	@for i in list; do \						@@\
+-		($(RM) dest/$$i); \					@@\
++		($(RM) $(DESTDIR)dest/$$i); \					@@\
+ 	done
+ #endif
+ 
+@@ -1042,12 +1042,12 @@ InstallMultipleFlags(list,dest,$(INSTALL
+ install::  								@@\
+ 	@if [ -f libdir/libbase ]; then \				@@\
+ 	if [ ! -f dest/libbase ]; then \				@@\
+-		 $(LN) libdir/libbase dest/; \				@@\
+-		 echo $(LN) libdir/libbase dest/ \			@@\
++		 $(LN) libdir/libbase $(DESTDIR)dest/; \				@@\
++		 echo $(LN) libdir/libbase $(DESTDIR)dest/ \			@@\
+ 	;fi ;fi								@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/libbase
++	$(RM) $(DESTDIR)dest/libbase
+ #endif
+ 
+ /*
+@@ -1063,11 +1063,11 @@ install::								@@\
+ #else
+ #define InstallIncludes(dir)						@@\
+ install::								@@\
+-	MakeDir($(INCDIR)/dir)						@@\
+-	$(INSTALL) -c $(INSTINCFLAGS) *.h $(INCDIR)/dir			@@\
++	MakeDir($(DESTDIR)$(INCDIR)/dir)						@@\
++	$(INSTALL) -c $(INSTINCFLAGS) *.h $(DESTDIR)$(INCDIR)/dir			@@\
+ 									@@\
+ uninstall::								@@\
+-	(cd $(INCDIR)/dir;$(RM) *.h)
++	(cd $(DESTDIR)$(INCDIR)/dir;$(RM) *.h)
+ #endif
+ #endif
+ 
+@@ -1080,11 +1080,11 @@ install::								@@\
+ #else
+ #define InstallInclude(dir, file)					@@\
+ install::								@@\
+-	MakeDir($(INCDIR)/dir)						@@\
+-	$(INSTALL) -c $(INSTINCFLAGS) file $(INCDIR)/dir		@@\
++	MakeDir($(DESTDIR)$(INCDIR)/dir)						@@\
++	$(INSTALL) -c $(INSTINCFLAGS) file $(DESTDIR)$(INCDIR)/dir		@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) $(INCDIR)/dir/file
++	$(RM) $(DESTDIR)$(INCDIR)/dir/file
+ #endif
+ #endif
+ 
+@@ -1092,22 +1092,22 @@ uninstall::								@@\
+ #if InstallRelative
+ #define InstallSymLink(dir, file) /**/
+ #else
+-#if !defined(SVR4) && !defined(DarwinArchitecture)
++#if defined(LinuxArchitecture)
+ #define InstallSymLink(dir, file)					@@\
+ install::								@@\
+-	MakeDir(dir)							@@\
+-	cp -fd file dir							@@\
++	MakeDir($(DESTDIR)dir)							@@\
++	cp -fd file $(DESTDIR)dir							@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dir/file	
++	$(RM) $(DESTDIR)dir/file	
+ #else
+ #define InstallSymLink(dir, file)					@@\
+ install::								@@\
+-	MakeDir(dir)							@@\
+-	tar cf - file | (cd dir; tar xfp -)				@@\
++	MakeDir($(DESTDIR)dir)							@@\
++	tar cf - file | (cd $(DESTDIR)dir; tar xfp -)				@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dir/file	
++	$(RM) $(DESTDIR)dir/file	
+ #endif
+ #endif	
+ #endif
+@@ -1119,7 +1119,7 @@ uninstall::								@@\
+ #ifndef InstallXDefaultAs                                        
+ #define InstallXDefaultAs(source,dest,destname)                          @@\
+ install:: source                                                         @@\
+-	MakeDir(dest)                                                    @@\
+-	$(INSTALL) -c $(INSTINCFLAGS) source dest/destname
++	MakeDir($(DESTDIR)dest)                                                    @@\
++	$(INSTALL) -c $(INSTINCFLAGS) source $(DESTDIR)dest/destname
+ #endif
+ 
diff --git a/ivtools/patches/patch-bf b/ivtools/patches/patch-bf
new file mode 100644
index 0000000000..46c3f9431a
--- /dev/null
+++ b/ivtools/patches/patch-bf
@@ -0,0 +1,18 @@
+$NetBSD: patch-bf,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/Imakefile.orig	2003-10-22 18:13:38.000000000 +0000
++++ config/Imakefile
+@@ -11,10 +11,10 @@ MakeInSubdirs($(SUBDIRS))
+ 
+ #if !InstallRelative
+ install::
+-	MakeDir($(CONFIGDIR))
+-	$(INSTALL) -c $(INSTINCFLAGS) *.def* template *.mk $(CONFIGDIR)
++	MakeDir($(DESTDIR)$(CONFIGDIR))
++	$(INSTALL) -c $(INSTINCFLAGS) *.def* template *.mk $(DESTDIR)$(CONFIGDIR)
+ 
+ uninstall::
+-	(cd $(CONFIGDIR);$(RM) *.def* template *.mk)
++	(cd $(DESTDIR)$(CONFIGDIR);$(RM) *.def* template *.mk)
+ #endif
+ 
diff --git a/ivtools/patches/patch-bg b/ivtools/patches/patch-bg
new file mode 100644
index 0000000000..c14ae80b53
--- /dev/null
+++ b/ivtools/patches/patch-bg
@@ -0,0 +1,19 @@
+$NetBSD: patch-bg,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/InterViews/Imakefile.orig	2003-10-22 18:13:37.000000000 +0000
++++ config/InterViews/Imakefile
+@@ -8,11 +8,11 @@ IvmkcmTargets($(PACKAGE))
+ 
+ #if !InstallRelative
+ install::
+-	MakeDir($(CONFIGDIR)/InterViews)
+-	$(INSTALL) -c $(INSTINCFLAGS) *.cf $(CONFIGDIR)/InterViews
++	MakeDir($(DESTDIR)$(CONFIGDIR)/InterViews)
++	$(INSTALL) -c $(INSTINCFLAGS) *.cf $(DESTDIR)$(CONFIGDIR)/InterViews
+ 
+ uninstall::
+-	(cd $(CONFIGDIR)/InterViews; $(RM) *.cf)
++	(cd $(DESTDIR)$(CONFIGDIR)/InterViews; $(RM) *.cf)
+ #endif
+ 
+ 
diff --git a/ivtools/patches/patch-bh b/ivtools/patches/patch-bh
new file mode 100644
index 0000000000..5d618d0c8d
--- /dev/null
+++ b/ivtools/patches/patch-bh
@@ -0,0 +1,26 @@
+$NetBSD: patch-bh,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/site.def.DARWIN.orig	2005-10-07 16:51:19.000000000 +0000
++++ config/site.def.DARWIN
+@@ -83,15 +83,15 @@ clean::									@@\
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)			@@\
+ install:: Concat(lib,libname.rev.dylib)					@@\
+-	MakeDir(dest)                                                   @@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.rev.dylib) dest   @@\
+-	-@$(RM) dest/Concat(lib,libname.dylib)		                @@\
+-	-@(cd dest;$(LN) Concat(lib,libname.rev.dylib) \			@@\
++	MakeDir($(DESTDIR)dest)                                                   @@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.rev.dylib) $(DESTDIR)dest   @@\
++	-@$(RM) $(DESTDIR)dest/Concat(lib,libname.dylib)		                @@\
++	-@(cd $(DESTDIR)dest;$(LN) Concat(lib,libname.rev.dylib) \			@@\
+ 	Concat(lib,libname.dylib))					        @@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.rev.dylib)				@@\
+-	$(RM) dest/Concat(lib,libname.dylib)	
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.rev.dylib)				@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.dylib)	
+ #endif
+ 
+ /* file output by configure script */
diff --git a/ivtools/patches/patch-bi b/ivtools/patches/patch-bi
new file mode 100644
index 0000000000..82a9b726ca
--- /dev/null
+++ b/ivtools/patches/patch-bi
@@ -0,0 +1,26 @@
+$NetBSD: patch-bi,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/site.def.FREEBSD.orig	2003-10-22 18:13:39.000000000 +0000
++++ config/site.def.FREEBSD
+@@ -43,15 +43,15 @@
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)			@@\
+ install:: Concat(lib,libname.so.rev)					@@\
+-	MakeDir(dest)                                                   @@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) dest   @@\
+-	-@$(RM) dest/Concat(lib,libname.so)		                @@\
+-	-@(cd dest;$(LN) Concat(lib,libname.so.rev) \			@@\
++	MakeDir($(DESTDIR)dest)                                                   @@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest   @@\
++	-@$(RM) $(DESTDIR)dest/Concat(lib,libname.so)		                @@\
++	-@(cd $(DESTDIR)dest;$(LN) Concat(lib,libname.so.rev) \			@@\
+ 	Concat(lib,libname.so))					        @@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.so.rev)				@@\
+-	$(RM) dest/Concat(lib,libname.so)	
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so.rev)				@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so)	
+ #endif
+ 
+ /* file output by configure script */
diff --git a/ivtools/patches/patch-bj b/ivtools/patches/patch-bj
new file mode 100644
index 0000000000..6ccd8a8384
--- /dev/null
+++ b/ivtools/patches/patch-bj
@@ -0,0 +1,27 @@
+$NetBSD: patch-bj,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/site.def.HP800.orig	2003-10-22 18:13:39.000000000 +0000
++++ config/site.def.HP800
+@@ -50,15 +50,15 @@
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)			@@\
+ install:: Concat(lib,libname.sl.rev)					@@\
+-	MakeDir(dest)							@@\
+-	if [ -f dest/Concat(lib,libname.sl.rev) ]; then \		@@\
+-	$(RM) dest/Concat(lib,libname.sl.rev); else exit 0; fi		@@\
+-	$(INSTALL) -c -m555 Concat(lib,libname.sl.rev) dest   		@@\
+-	$(LN) dest/Concat(lib,libname.sl.rev) dest/Concat(lib,libname.sl)@@\
++	MakeDir($(DESTDIR)dest)							@@\
++	if [ -f $(DESTDIR)dest/Concat(lib,libname.sl.rev) ]; then \		@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.sl.rev); else exit 0; fi		@@\
++	$(INSTALL) -c -m555 Concat(lib,libname.sl.rev) $(DESTDIR)dest   		@@\
++	$(LN) $(DESTDIR)dest/Concat(lib,libname.sl.rev) $(DESTDIR)dest/Concat(lib,libname.sl)@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.sl.rev)				@@\
+-	$(RM) dest/Concat(lib,libname.sl)
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.sl.rev)				@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.sl)
+ #endif
+ 
+ #undef BuildProgram
diff --git a/ivtools/patches/patch-bk b/ivtools/patches/patch-bk
new file mode 100644
index 0000000000..2e2c0e5fd4
--- /dev/null
+++ b/ivtools/patches/patch-bk
@@ -0,0 +1,26 @@
+$NetBSD: patch-bk,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/site.def.LINUX.orig	2003-10-22 18:13:39.000000000 +0000
++++ config/site.def.LINUX
+@@ -43,15 +43,15 @@
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)			@@\
+ install:: Concat(lib,libname.so.rev)					@@\
+-	MakeDir(dest)                                                   @@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) dest   @@\
+-	-@$(RM) dest/Concat(lib,libname.so)		                @@\
+-	-@(cd dest;$(LN) Concat(lib,libname.so.rev) \			@@\
++	MakeDir($(DESTDIR)dest)                                                   @@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest   @@\
++	-@$(RM) $(DESTDIR)dest/Concat(lib,libname.so)		                @@\
++	-@(cd $(DESTDIR)dest;$(LN) Concat(lib,libname.so.rev) \			@@\
+ 	Concat(lib,libname.so))					        @@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.so.rev)				@@\
+-	$(RM) dest/Concat(lib,libname.so)	
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so.rev)				@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so)	
+ #endif
+ 
+ /* file output by configure script */
diff --git a/ivtools/patches/patch-bl b/ivtools/patches/patch-bl
new file mode 100644
index 0000000000..6dfe227757
--- /dev/null
+++ b/ivtools/patches/patch-bl
@@ -0,0 +1,26 @@
+$NetBSD: patch-bl,v 1.1 2010/04/05 22:52:23 markd Exp $
+
+--- config/site.def.SUN4.orig	2003-10-22 18:13:39.000000000 +0000
++++ config/site.def.SUN4
+@@ -82,15 +82,15 @@
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest)                   @@\
+ install:: Concat(lib,libname.so.rev)                                    @@\
+-	MakeDir(dest)                                                   @@\
+-	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) dest   @@\
+-	-@if [ -f dest/Concat(lib,libname.so) ]; then exit 0; else \    @@\
+-	cd dest; \                                                   	@@\
++	MakeDir($(DESTDIR)dest)                                                   @@\
++	$(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest   @@\
++	-@if [ -f $(DESTDIR)dest/Concat(lib,libname.so) ]; then exit 0; else \    @@\
++	cd $(DESTDIR)dest; \                                                   	@@\
+ 	$(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so); fi	@@\
+ 									@@\
+ uninstall::								@@\
+-	$(RM) dest/Concat(lib,libname.so.rev)				@@\
+-	$(RM) dest/Concat(lib,libname.so)
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so.rev)				@@\
++	$(RM) $(DESTDIR)dest/Concat(lib,libname.so)
+ #endif
+ 
+ /* 
diff --git a/ivtools/patches/patch-src_glyphs_strchooser_main.c b/ivtools/patches/patch-src_glyphs_strchooser_main.c
new file mode 100644
index 0000000000..31af342ae0
--- /dev/null
+++ b/ivtools/patches/patch-src_glyphs_strchooser_main.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_glyphs_strchooser_main.c,v 1.1 2012/12/22 22:10:01 dholland Exp $
+
+Fix implicit int.
+
+--- src/glyphs/strchooser/main.c~	2008-05-07 23:07:47.000000000 +0000
++++ src/glyphs/strchooser/main.c
+@@ -125,7 +125,7 @@ declareActionCallback(Session)
+ declareActionCallback(App)
+ implementActionCallback(App)
+ 
+-main(int argc, char *argv[]) {
++int main(int argc, char *argv[]) {
+   Session * session =  new Session("strchooser", argc, argv, options, properties);
+   LayoutKit &    lk = *LayoutKit::instance();
+   WidgetKit *    wk =  MFKit::instance();
diff --git a/ivtools/patches/patch-src_tests_y2k_y2ktest.cc b/ivtools/patches/patch-src_tests_y2k_y2ktest.cc
new file mode 100644
index 0000000000..10f4b2fed8
--- /dev/null
+++ b/ivtools/patches/patch-src_tests_y2k_y2ktest.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_tests_y2k_y2ktest.cc,v 1.1 2012/12/25 21:09:08 joerg Exp $
+
+--- src/tests/y2k/y2ktest.cc.orig	2012-12-25 18:08:34.000000000 +0000
++++ src/tests/y2k/y2ktest.cc
+@@ -25,7 +25,7 @@
+ using std::cin;
+ using std::cout;
+ 
+-main() {
++int main() {
+   Date date(1, "Jan", 1999);
+ 
+   cout << "Current date initialized to ";


Home | Main Index | Thread Index | Old Index