diff options
author | wiz <wiz@pkgsrc.org> | 2022-06-07 10:15:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-06-07 10:15:01 +0000 |
commit | 207a2071e1429c22d2d65136a85d02c51016562b (patch) | |
tree | b22e0e1bd434a0835372e27e65a86e69ad8c4fb8 /sysutils | |
parent | 3684ee93533e99ab49c93277a8e4bb83ce3da474 (diff) | |
download | pkgsrc-207a2071e1429c22d2d65136a85d02c51016562b.tar.gz |
tkdesk: remove
Last release from 2004, dead upstream, broken despite valiant efforts
by dholland.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 3 | ||||
-rw-r--r-- | sysutils/tkdesk/DESCR | 6 | ||||
-rw-r--r-- | sysutils/tkdesk/Makefile | 39 | ||||
-rw-r--r-- | sysutils/tkdesk/PLIST | 544 | ||||
-rw-r--r-- | sysutils/tkdesk/distinfo | 23 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-aa | 87 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-ab | 62 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-ac | 13 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-ae | 13 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-aj | 81 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-ak | 44 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-al | 75 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-libdesk_dsk__ls.c | 145 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-libdesk_misc.c | 100 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-libdesk_o__FileListbox.c | 79 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-libdesk_ot.c | 76 | ||||
-rw-r--r-- | sysutils/tkdesk/patches/patch-netscape-remote_netscape-remote.c | 14 |
17 files changed, 1 insertions, 1403 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 2ccbb594f8a..7a0e42fdbee 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1004 2022/05/14 04:44:02 adam Exp $ +# $NetBSD: Makefile,v 1.1005 2022/06/07 10:15:01 wiz Exp $ # COMMENT= System utilities @@ -706,7 +706,6 @@ SUBDIR+= testdisk SUBDIR+= tiramisu SUBDIR+= tits SUBDIR+= tkcron -SUBDIR+= tkdesk SUBDIR+= tload SUBDIR+= tob SUBDIR+= top diff --git a/sysutils/tkdesk/DESCR b/sysutils/tkdesk/DESCR deleted file mode 100644 index c71f316d61e..00000000000 --- a/sysutils/tkdesk/DESCR +++ /dev/null @@ -1,6 +0,0 @@ -TkDesk is a graphical file manager for Unix and the X-Window System. It offers -a very rich set of file operations and services, and provides the user with an -immense amount of configurability. TkDesk's configuration flexibility results -from the use of Tcl/Tk as the primary implementation language. Another benefit -of using Tcl/Tk is that TkDesk is very portable and runs on virtually any Unix -platform. diff --git a/sysutils/tkdesk/Makefile b/sysutils/tkdesk/Makefile deleted file mode 100644 index 194e14474f2..00000000000 --- a/sysutils/tkdesk/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# $NetBSD: Makefile,v 1.31 2022/06/06 05:11:58 dholland Exp $ -# - -DISTNAME= tkdesk-2.0 -PKGNAME= ${DISTNAME}p2 -PKGREVISION= 5 -CATEGORIES= sysutils -MASTER_SITES= http://tkdesk.sourceforge.net/dist/ - -PATCH_SITES= http://tkdesk.sourceforge.net/patches/ -PATCHFILES= ${DISTNAME}p1.patch ${DISTNAME}p2.patch -PATCH_DIST_STRIP= -p1 - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://tkdesk.sourceforge.net/ -COMMENT= Graphical file manager - -USE_TOOLS+= pax - -GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib \ - --with-tk=${BUILDLINK_PREFIX.tk}/lib \ - --with-itcl=${BUILDLINK_PREFIX.tcl}/lib/itcl${ITCL_VERSION} \ - --with-blt=${BUILDLINK_PREFIX.blt}/lib -MAKE_ENV+= LIB_RUNTIME_DIR=${BUILDLINK_PREFIX.tcl}/lib/itcl${ITCL_VERSION} - -DESTDIR_VARNAME= INSTALL_ROOT -INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 - -.include "../../lang/tcl/buildlink3.mk" -.include "../../x11/blt/buildlink3.mk" -.include "../../x11/tk/buildlink3.mk" - -pre-install: - ${RM} -Rf ${WRKSRC}/tcldesk/configs/.trash - ${FIND} ${WRKSRC}/tcldesk -type f \( -name '*.orig' -or -name '*.orig_dist' \) -print | ${XARGS} ${RM} -rf - ${FIND} ${WRKSRC}/tcldesk -type f -print | ${XARGS} ${TOUCH} - -.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/tkdesk/PLIST b/sysutils/tkdesk/PLIST deleted file mode 100644 index 40897ee4db9..00000000000 --- a/sysutils/tkdesk/PLIST +++ /dev/null @@ -1,544 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:16:15 joerg Exp $ -bin/cd-tkdesk -bin/ed-tkdesk -bin/od-tkdesk -bin/op-tkdesk -bin/pauseme -bin/pop-tkdesk -bin/tkdesk -bin/tkdeskclient -bin/tkdesksh -lib/tkdesk/Common.tcl -lib/tkdesk/Desktop.tcl -lib/tkdesk/DiskUsage.tcl -lib/tkdesk/Editor.tcl -lib/tkdesk/FileInfo.tcl -lib/tkdesk/FileListbox.tcl -lib/tkdesk/Frame.tcl -lib/tkdesk/HistEntry.tcl -lib/tkdesk/List.tcl -lib/tkdesk/Periodic.tcl -lib/tkdesk/Toplevel.tcl -lib/tkdesk/Viewer.tcl -lib/tkdesk/action.tcl -lib/tkdesk/annotations.tcl -lib/tkdesk/appbar-date.tcl -lib/tkdesk/appbar-dialup.tcl -lib/tkdesk/appbar-load.tcl -lib/tkdesk/appbar-mail.tcl -lib/tkdesk/appbar-trash.tcl -lib/tkdesk/appbar.tcl -lib/tkdesk/bltDnd.tcl -lib/tkdesk/bltDragdrop.tcl -lib/tkdesk/bookmarks.tcl -lib/tkdesk/cb_tools/bindings.tcl -lib/tkdesk/cb_tools/bitmaps/combo.xbm -lib/tkdesk/cb_tools/bitmaps/down.xbm -lib/tkdesk/cb_tools/bitmaps/erase.xbm -lib/tkdesk/cb_tools/bitmaps/help.xbm -lib/tkdesk/cb_tools/bitmaps/slash.xbm -lib/tkdesk/cb_tools/bitmaps/timer.mask.xbm -lib/tkdesk/cb_tools/bitmaps/timer.xbm -lib/tkdesk/cb_tools/bitmaps/timer1.xbm -lib/tkdesk/cb_tools/bitmaps/timer2.xbm -lib/tkdesk/cb_tools/bitmaps/timer3.xbm -lib/tkdesk/cb_tools/bitmaps/timer4.xbm -lib/tkdesk/cb_tools/bitmaps/timer5.xbm -lib/tkdesk/cb_tools/bitmaps/timer6.xbm -lib/tkdesk/cb_tools/bitmaps/timer7.xbm -lib/tkdesk/cb_tools/bitmaps/timer8.xbm -lib/tkdesk/cb_tools/bitmaps/up.xbm -lib/tkdesk/cb_tools/debug.tcl -lib/tkdesk/cb_tools/dialog.tcl -lib/tkdesk/cb_tools/help.tcl -lib/tkdesk/cb_tools/itcl_reload.tcl -lib/tkdesk/cb_tools/mkindex -lib/tkdesk/cb_tools/modules.tcl -lib/tkdesk/cb_tools/popup.tcl -lib/tkdesk/cb_tools/tclIndex -lib/tkdesk/cb_tools/tools.tcl -lib/tkdesk/cb_tools/widgets.tcl -lib/tkdesk/config.tcl -lib/tkdesk/configs/AppBar -lib/tkdesk/configs/AppBar_Be -lib/tkdesk/configs/AppBar_Games -lib/tkdesk/configs/ButtonBar -lib/tkdesk/configs/Commands -lib/tkdesk/configs/Directories -lib/tkdesk/configs/FileTags -lib/tkdesk/configs/Popups -lib/tkdesk/configs/Sounds -lib/tkdesk/configs/System -lib/tkdesk/copy.tcl -lib/tkdesk/cpanels.tcl -lib/tkdesk/delete.tcl -lib/tkdesk/diary.tcl -lib/tkdesk/doc/ChangeLog -lib/tkdesk/doc/Guide -lib/tkdesk/doc/License -lib/tkdesk/doc/QuickStart -lib/tkdesk/doc/guide-1.html -lib/tkdesk/doc/guide-10.html -lib/tkdesk/doc/guide-11.html -lib/tkdesk/doc/guide-2.html -lib/tkdesk/doc/guide-3.html -lib/tkdesk/doc/guide-4.html -lib/tkdesk/doc/guide-5.html -lib/tkdesk/doc/guide-6.html -lib/tkdesk/doc/guide-7.html -lib/tkdesk/doc/guide-8.html -lib/tkdesk/doc/guide-9.html -lib/tkdesk/doc/guide.html -lib/tkdesk/dsk_Listbox.tcl -lib/tkdesk/envedit.tcl -lib/tkdesk/file_ops.tcl -lib/tkdesk/find.tcl -lib/tkdesk/help.tcl -lib/tkdesk/history.tcl -lib/tkdesk/images/aladins_lamp.xpm -lib/tkdesk/images/arrleft.xpm -lib/tkdesk/images/arrright.xpm -lib/tkdesk/images/atom.xpm -lib/tkdesk/images/be/achtung.xpm -lib/tkdesk/images/be/app_link.xpm -lib/tkdesk/images/be/bebox.xpm -lib/tkdesk/images/be/bebox2.xpm -lib/tkdesk/images/be/bettler.xpm -lib/tkdesk/images/be/bildschirm1.xpm -lib/tkdesk/images/be/blocks.xpm -lib/tkdesk/images/be/briefkasten.xpm -lib/tkdesk/images/be/bulb.xpm -lib/tkdesk/images/be/cdplayer.xpm -lib/tkdesk/images/be/domino.xpm -lib/tkdesk/images/be/edit.xpm -lib/tkdesk/images/be/email.xpm -lib/tkdesk/images/be/fernbedienung.xpm -lib/tkdesk/images/be/flieger.xpm -lib/tkdesk/images/be/folder.xpm -lib/tkdesk/images/be/font.xpm -lib/tkdesk/images/be/fraktal.xpm -lib/tkdesk/images/be/grammophon.xpm -lib/tkdesk/images/be/hardware.xpm -lib/tkdesk/images/be/info.xpm -lib/tkdesk/images/be/install.xpm -lib/tkdesk/images/be/kaleidoskop.xpm -lib/tkdesk/images/be/kartei.xpm -lib/tkdesk/images/be/kiste.xpm -lib/tkdesk/images/be/leute.xpm -lib/tkdesk/images/be/lib_link.xpm -lib/tkdesk/images/be/lupe.xpm -lib/tkdesk/images/be/maennchen.xpm -lib/tkdesk/images/be/mailbox.xpm -lib/tkdesk/images/be/mine.xpm -lib/tkdesk/images/be/mischpult.xpm -lib/tkdesk/images/be/netsurf.xpm -lib/tkdesk/images/be/netzwerk.xpm -lib/tkdesk/images/be/ordner.xpm -lib/tkdesk/images/be/ordner_link.xpm -lib/tkdesk/images/be/oszi.xpm -lib/tkdesk/images/be/paint.xpm -lib/tkdesk/images/be/papierkorb.xpm -lib/tkdesk/images/be/printer.xpm -lib/tkdesk/images/be/rakete.xpm -lib/tkdesk/images/be/schrank.xpm -lib/tkdesk/images/be/schreibtisch.xpm -lib/tkdesk/images/be/scsi.xpm -lib/tkdesk/images/be/terminal.xpm -lib/tkdesk/images/be/text.xpm -lib/tkdesk/images/be/text2.xpm -lib/tkdesk/images/be/text_leer.xpm -lib/tkdesk/images/be/uhr.xpm -lib/tkdesk/images/be/world.xpm -lib/tkdesk/images/be/wuerfel.xpm -lib/tkdesk/images/be/zahnrad.xpm -lib/tkdesk/images/be/zahnrad2.xpm -lib/tkdesk/images/be/zeichner.xpm -lib/tkdesk/images/bigfiling.xpm -lib/tkdesk/images/book_edit.xpm -lib/tkdesk/images/book_open.xpm -lib/tkdesk/images/bookcase.xpm -lib/tkdesk/images/box_full.xpm -lib/tkdesk/images/calendar.xpm -lib/tkdesk/images/cdrom.xpm -lib/tkdesk/images/checklist.xpm -lib/tkdesk/images/chess.xpm -lib/tkdesk/images/comet.xpm -lib/tkdesk/images/construction.xpm -lib/tkdesk/images/copy.xpm -lib/tkdesk/images/copy2.xpm -lib/tkdesk/images/desk.xpm -lib/tkdesk/images/desk2.xpm -lib/tkdesk/images/document.xpm -lib/tkdesk/images/door_run.xpm -lib/tkdesk/images/earth.xpm -lib/tkdesk/images/earth2.xpm -lib/tkdesk/images/edit.xpm -lib/tkdesk/images/eye.xpm -lib/tkdesk/images/ficons16/archive.xpm -lib/tkdesk/images/ficons16/backup.xpm -lib/tkdesk/images/ficons16/book.xpm -lib/tkdesk/images/ficons16/c.xpm -lib/tkdesk/images/ficons16/computer.xpm -lib/tkdesk/images/ficons16/config.xpm -lib/tkdesk/images/ficons16/desk.xpm -lib/tkdesk/images/ficons16/dir.xpm -lib/tkdesk/images/ficons16/dir2.xpm -lib/tkdesk/images/ficons16/diropen.xpm -lib/tkdesk/images/ficons16/diropen2.xpm -lib/tkdesk/images/ficons16/doc.xpm -lib/tkdesk/images/ficons16/exec.xpm -lib/tkdesk/images/ficons16/exec2.xpm -lib/tkdesk/images/ficons16/file.xpm -lib/tkdesk/images/ficons16/font.xpm -lib/tkdesk/images/ficons16/gif.xpm -lib/tkdesk/images/ficons16/gif2.xpm -lib/tkdesk/images/ficons16/h.xpm -lib/tkdesk/images/ficons16/html.xpm -lib/tkdesk/images/ficons16/html2.xpm -lib/tkdesk/images/ficons16/image.xpm -lib/tkdesk/images/ficons16/mini-comet.xpm -lib/tkdesk/images/ficons16/music.xpm -lib/tkdesk/images/ficons16/parcel.xpm -lib/tkdesk/images/ficons16/pdf.xpm -lib/tkdesk/images/ficons16/prism.xpm -lib/tkdesk/images/ficons16/rpm.xpm -lib/tkdesk/images/ficons16/script.xpm -lib/tkdesk/images/ficons16/sound.xpm -lib/tkdesk/images/ficons16/speaker.xpm -lib/tkdesk/images/ficons16/sym.xpm -lib/tkdesk/images/ficons16/symdir.xpm -lib/tkdesk/images/ficons16/symdir2.xpm -lib/tkdesk/images/ficons16/symdiropen.xpm -lib/tkdesk/images/ficons16/symdiropen2.xpm -lib/tkdesk/images/ficons16/symexec.xpm -lib/tkdesk/images/ficons16/sys.xpm -lib/tkdesk/images/ficons16/system.xpm -lib/tkdesk/images/ficons16/tcl.xpm -lib/tkdesk/images/ficons16/tex.xpm -lib/tkdesk/images/ficons16/text.xpm -lib/tkdesk/images/ficons16/video.xpm -lib/tkdesk/images/ficons16/write.xpm -lib/tkdesk/images/ficons16/xbm.xpm -lib/tkdesk/images/ficons16/xpm.xpm -lib/tkdesk/images/ficons32/binary.xpm -lib/tkdesk/images/ficons32/bracket.xpm -lib/tkdesk/images/ficons32/compressed.xpm -lib/tkdesk/images/ficons32/dir.xpm -lib/tkdesk/images/ficons32/dir2.xpm -lib/tkdesk/images/ficons32/dot_a.xpm -lib/tkdesk/images/ficons32/dot_c.xpm -lib/tkdesk/images/ficons32/dot_h.xpm -lib/tkdesk/images/ficons32/dot_o.xpm -lib/tkdesk/images/ficons32/drawing.xpm -lib/tkdesk/images/ficons32/drawing3.xpm -lib/tkdesk/images/ficons32/exec.xpm -lib/tkdesk/images/ficons32/fig.xpm -lib/tkdesk/images/ficons32/file.xpm -lib/tkdesk/images/ficons32/gif.xpm -lib/tkdesk/images/ficons32/info.xpm -lib/tkdesk/images/ficons32/makefile.xpm -lib/tkdesk/images/ficons32/postscript.xpm -lib/tkdesk/images/ficons32/sound.xpm -lib/tkdesk/images/ficons32/system.xpm -lib/tkdesk/images/ficons32/tar.xpm -lib/tkdesk/images/ficons32/tex.xpm -lib/tkdesk/images/ficons32/text.xpm -lib/tkdesk/images/ficons32/xbm.xpm -lib/tkdesk/images/ficons32/xpm.xpm -lib/tkdesk/images/file_dir.xpm -lib/tkdesk/images/file_doc.xpm -lib/tkdesk/images/filing.xpm -lib/tkdesk/images/floppy.xpm -lib/tkdesk/images/folder.xpm -lib/tkdesk/images/folder2.xpm -lib/tkdesk/images/hand+.xpm -lib/tkdesk/images/hand.mask.xpm -lib/tkdesk/images/hand.xpm -lib/tkdesk/images/help.xpm -lib/tkdesk/images/home.xpm -lib/tkdesk/images/info.xpm -lib/tkdesk/images/info2.xpm -lib/tkdesk/images/laserwriter2.xpm -lib/tkdesk/images/lightning.xpm -lib/tkdesk/images/lock.xpm -lib/tkdesk/images/mac.xpm -lib/tkdesk/images/magnify.xpm -lib/tkdesk/images/magnify2.xpm -lib/tkdesk/images/mail_edit.xpm -lib/tkdesk/images/mailbox_empty.xpm -lib/tkdesk/images/mailbox_full.xpm -lib/tkdesk/images/mailbox_old.xpm -lib/tkdesk/images/maildog_empty.xpm -lib/tkdesk/images/maildog_new.xpm -lib/tkdesk/images/man.xpm -lib/tkdesk/images/moon.xpm -lib/tkdesk/images/mosaic.xpm -lib/tkdesk/images/move.xpm -lib/tkdesk/images/navigator.xpm -lib/tkdesk/images/netscape.xpm -lib/tkdesk/images/news.xpm -lib/tkdesk/images/next/3D.xpm -lib/tkdesk/images/next/BallotBox.xpm -lib/tkdesk/images/next/Beer.xpm -lib/tkdesk/images/next/BookOpen.xpm -lib/tkdesk/images/next/C-Devel.xpm -lib/tkdesk/images/next/Camera2.xpm -lib/tkdesk/images/next/Chess.xpm -lib/tkdesk/images/next/Computer.xpm -lib/tkdesk/images/next/ComputerPC.xpm -lib/tkdesk/images/next/DarkForest.xpm -lib/tkdesk/images/next/DiskFloppy.xpm -lib/tkdesk/images/next/Draw.xpm -lib/tkdesk/images/next/Equation.xpm -lib/tkdesk/images/next/Files.xpm -lib/tkdesk/images/next/Finder.xpm -lib/tkdesk/images/next/Ghost.xpm -lib/tkdesk/images/next/Home.xpm -lib/tkdesk/images/next/HomeOpen.xpm -lib/tkdesk/images/next/Info.xpm -lib/tkdesk/images/next/Java.xpm -lib/tkdesk/images/next/KeyPower.xpm -lib/tkdesk/images/next/MailOpen.xpm -lib/tkdesk/images/next/Netsurfer.xpm -lib/tkdesk/images/next/Network.xpm -lib/tkdesk/images/next/NewspaperExtra.xpm -lib/tkdesk/images/next/PDFOmni.xpm -lib/tkdesk/images/next/PadlockAndKeys.xpm -lib/tkdesk/images/next/Penguin.xpm -lib/tkdesk/images/next/PhoneTT.xpm -lib/tkdesk/images/next/PhoneTTOffhook.xpm -lib/tkdesk/images/next/PrinterHP.xpm -lib/tkdesk/images/next/Rolodex.xpm -lib/tkdesk/images/next/SoundEdit.xpm -lib/tkdesk/images/next/TeXView.xpm -lib/tkdesk/images/next/Time.xpm -lib/tkdesk/images/next/TrueDie.xpm -lib/tkdesk/images/next/WWW.xpm -lib/tkdesk/images/next/Window.xpm -lib/tkdesk/images/next/World.xpm -lib/tkdesk/images/next/Write.xpm -lib/tkdesk/images/next/WriteMail.xpm -lib/tkdesk/images/next/adder.xpm -lib/tkdesk/images/next/applix.xpm -lib/tkdesk/images/next/bag.xpm -lib/tkdesk/images/next/bag_full.xpm -lib/tkdesk/images/next/bargraph.xpm -lib/tkdesk/images/next/books.xpm -lib/tkdesk/images/next/browsebook.xpm -lib/tkdesk/images/next/butterfly.xpm -lib/tkdesk/images/next/cabinet.xpm -lib/tkdesk/images/next/camera.xpm -lib/tkdesk/images/next/cap.xpm -lib/tkdesk/images/next/cards.xpm -lib/tkdesk/images/next/cdisc.xpm -lib/tkdesk/images/next/checked_monitor.xpm -lib/tkdesk/images/next/chip.xpm -lib/tkdesk/images/next/circle_step.xpm -lib/tkdesk/images/next/clock.xpm -lib/tkdesk/images/next/close_window.xpm -lib/tkdesk/images/next/comet.xpm -lib/tkdesk/images/next/comm-newmail.xpm -lib/tkdesk/images/next/comm-oldmail.xpm -lib/tkdesk/images/next/communicator.xpm -lib/tkdesk/images/next/crash.xpm -lib/tkdesk/images/next/dialog.xpm -lib/tkdesk/images/next/diskbox.xpm -lib/tkdesk/images/next/diskbox_full.xpm -lib/tkdesk/images/next/document.xpm -lib/tkdesk/images/next/dtp.xpm -lib/tkdesk/images/next/edit.xpm -lib/tkdesk/images/next/envelope.xpm -lib/tkdesk/images/next/envelope_full.xpm -lib/tkdesk/images/next/executor.xpm -lib/tkdesk/images/next/feltpend.xpm -lib/tkdesk/images/next/floppy.xpm -lib/tkdesk/images/next/folders.xpm -lib/tkdesk/images/next/galaxy.xpm -lib/tkdesk/images/next/gear.xpm -lib/tkdesk/images/next/globe.xpm -lib/tkdesk/images/next/hammer_chart.xpm -lib/tkdesk/images/next/hammer_doc.xpm -lib/tkdesk/images/next/keys.xpm -lib/tkdesk/images/next/lettercase.xpm -lib/tkdesk/images/next/magnify.xpm -lib/tkdesk/images/next/mail_env.xpm -lib/tkdesk/images/next/mail_letter.xpm -lib/tkdesk/images/next/mailbox_empty.xpm -lib/tkdesk/images/next/mailbox_full.xpm -lib/tkdesk/images/next/mailbox_old.xpm -lib/tkdesk/images/next/mask_clouds.xpm -lib/tkdesk/images/next/microphone.xpm -lib/tkdesk/images/next/monalisa.xpm -lib/tkdesk/images/next/monitor.xpm -lib/tkdesk/images/next/monitor_eye.xpm -lib/tkdesk/images/next/monitor_hp.xpm -lib/tkdesk/images/next/monitor_sun.xpm -lib/tkdesk/images/next/monitor_win.xpm -lib/tkdesk/images/next/nest.xpm -lib/tkdesk/images/next/netscape.xpm -lib/tkdesk/images/next/note.xpm -lib/tkdesk/images/next/novell.xpm -lib/tkdesk/images/next/package.xpm -lib/tkdesk/images/next/paintbrush.xpm -lib/tkdesk/images/next/people.xpm -lib/tkdesk/images/next/pillars.xpm -lib/tkdesk/images/next/plaindoc.xpm -lib/tkdesk/images/next/radar.xpm -lib/tkdesk/images/next/radio.xpm -lib/tkdesk/images/next/rectrash.xpm -lib/tkdesk/images/next/rectrash_full.xpm -lib/tkdesk/images/next/recycle.xpm -lib/tkdesk/images/next/recycle_full.xpm -lib/tkdesk/images/next/screwdriver.xpm -lib/tkdesk/images/next/sealed_document.xpm -lib/tkdesk/images/next/shell.xpm -lib/tkdesk/images/next/spheresd.xpm -lib/tkdesk/images/next/sql.xpm -lib/tkdesk/images/next/tape.xpm -lib/tkdesk/images/next/toaster.xpm -lib/tkdesk/images/next/toaster_full.xpm -lib/tkdesk/images/next/widgets.xpm -lib/tkdesk/images/next/win_comp.xpm -lib/tkdesk/images/next/win_net.xpm -lib/tkdesk/images/next/wizard.xpm -lib/tkdesk/images/next/wrench.xpm -lib/tkdesk/images/orbit.xpm -lib/tkdesk/images/pacman.xpm -lib/tkdesk/images/paint.xpm -lib/tkdesk/images/pda.xpm -lib/tkdesk/images/pen.xpm -lib/tkdesk/images/pencil3.xpm -lib/tkdesk/images/printer.xpm -lib/tkdesk/images/printer16.xpm -lib/tkdesk/images/prism.xpm -lib/tkdesk/images/question.xpm -lib/tkdesk/images/radar.xpm -lib/tkdesk/images/recycle.xpm -lib/tkdesk/images/shell.xpm -lib/tkdesk/images/stars.xpm -lib/tkdesk/images/terminal.xpm -lib/tkdesk/images/tetris.xpm -lib/tkdesk/images/tkdesk_logo.ppm -lib/tkdesk/images/tools.xpm -lib/tkdesk/images/trash.xpm -lib/tkdesk/images/trashcan.xpm -lib/tkdesk/images/trashcan_full.xpm -lib/tkdesk/images/twotexts.xpm -lib/tkdesk/images/up.xpm -lib/tkdesk/images/xbm/apple_draft.xbm -lib/tkdesk/images/xbm/apple_write.xbm -lib/tkdesk/images/xbm/audio.xbm -lib/tkdesk/images/xbm/barhandle.xbm -lib/tkdesk/images/xbm/bigfiling.xbm -lib/tkdesk/images/xbm/bomb.xbm -lib/tkdesk/images/xbm/book.xbm -lib/tkdesk/images/xbm/books.xbm -lib/tkdesk/images/xbm/calc.xbm -lib/tkdesk/images/xbm/calendar.xbm -lib/tkdesk/images/xbm/check_list.xbm -lib/tkdesk/images/xbm/clock.xbm -lib/tkdesk/images/xbm/copy.xbm -lib/tkdesk/images/xbm/copy2.xbm -lib/tkdesk/images/xbm/cup.xbm -lib/tkdesk/images/xbm/dice.xbm -lib/tkdesk/images/xbm/dir.xbm -lib/tkdesk/images/xbm/documents.xbm -lib/tkdesk/images/xbm/door_open.xbm -lib/tkdesk/images/xbm/drag_files.xbm -lib/tkdesk/images/xbm/draw.xbm -lib/tkdesk/images/xbm/earth.xbm -lib/tkdesk/images/xbm/edit.xbm -lib/tkdesk/images/xbm/exclaimation_dot.xbm -lib/tkdesk/images/xbm/exec.xbm -lib/tkdesk/images/xbm/eye.xbm -lib/tkdesk/images/xbm/file.xbm -lib/tkdesk/images/xbm/file_dir.xbm -lib/tkdesk/images/xbm/file_doc.xbm -lib/tkdesk/images/xbm/filing_open.xbm -lib/tkdesk/images/xbm/filing_shut.xbm -lib/tkdesk/images/xbm/film.xbm -lib/tkdesk/images/xbm/floppy.xbm -lib/tkdesk/images/xbm/flow_chart.xbm -lib/tkdesk/images/xbm/folder2.xbm -lib/tkdesk/images/xbm/games.xbm -lib/tkdesk/images/xbm/gnuplot.xbm -lib/tkdesk/images/xbm/hand+.xbm -lib/tkdesk/images/xbm/hand.mask.xbm -lib/tkdesk/images/xbm/hand.xbm -lib/tkdesk/images/xbm/help.xbm -lib/tkdesk/images/xbm/home.xbm -lib/tkdesk/images/xbm/info.xbm -lib/tkdesk/images/xbm/info2.xbm -lib/tkdesk/images/xbm/kiste.xbm -lib/tkdesk/images/xbm/laserwriter2.xbm -lib/tkdesk/images/xbm/letter.xbm -lib/tkdesk/images/xbm/library3.xbm -lib/tkdesk/images/xbm/lightning.xbm -lib/tkdesk/images/xbm/lock.xbm -lib/tkdesk/images/xbm/mac.xbm -lib/tkdesk/images/xbm/macintosh.xbm -lib/tkdesk/images/xbm/magnify2.xbm -lib/tkdesk/images/xbm/magnify_hand.xbm -lib/tkdesk/images/xbm/mail.xbm -lib/tkdesk/images/xbm/moon.xbm -lib/tkdesk/images/xbm/move.xbm -lib/tkdesk/images/xbm/network.xbm -lib/tkdesk/images/xbm/news.xbm -lib/tkdesk/images/xbm/note.xbm -lib/tkdesk/images/xbm/paint.xbm -lib/tkdesk/images/xbm/paint2.xbm -lib/tkdesk/images/xbm/pen.xbm -lib/tkdesk/images/xbm/pencil3.xbm -lib/tkdesk/images/xbm/picture.xbm -lib/tkdesk/images/xbm/postit.xbm -lib/tkdesk/images/xbm/printer16.xbm -lib/tkdesk/images/xbm/question.xbm -lib/tkdesk/images/xbm/question_dot.xbm -lib/tkdesk/images/xbm/radar.xbm -lib/tkdesk/images/xbm/read.xbm -lib/tkdesk/images/xbm/rocket.xbm -lib/tkdesk/images/xbm/shell.xbm -lib/tkdesk/images/xbm/sign_exit.xbm -lib/tkdesk/images/xbm/source.xbm -lib/tkdesk/images/xbm/streamer_drive.xbm -lib/tkdesk/images/xbm/system.xbm -lib/tkdesk/images/xbm/term.xbm -lib/tkdesk/images/xbm/terminal.xbm -lib/tkdesk/images/xbm/text.xbm -lib/tkdesk/images/xbm/tool.xbm -lib/tkdesk/images/xbm/tools.xbm -lib/tkdesk/images/xbm/trash.xbm -lib/tkdesk/images/xbm/trashcan.xbm -lib/tkdesk/images/xbm/trashcan_full.xbm -lib/tkdesk/images/xbm/wichtig.xbm -lib/tkdesk/images/xbm/write.xbm -lib/tkdesk/images/xbm/xchess.xbm -lib/tkdesk/images/xbm/xlogo.xbm -lib/tkdesk/images/xbm/xlogo16.xbm -lib/tkdesk/images/xbm/xterm.xbm -lib/tkdesk/images/xemacs.xpm -lib/tkdesk/images/xlogo16.xpm -lib/tkdesk/images/xterm.xpm -lib/tkdesk/images/xterm32.xpm -lib/tkdesk/itcl_reload.tcl -lib/tkdesk/jdb_rcs.tcl -lib/tkdesk/jobs.tcl -lib/tkdesk/mkindex -lib/tkdesk/popup.tcl -lib/tkdesk/server.tcl -lib/tkdesk/sound.tcl -lib/tkdesk/sounds/door_open.au -lib/tkdesk/sounds/door_shut.au -lib/tkdesk/sounds/halt.au -lib/tkdesk/sounds/herewego.au -lib/tkdesk/sounds/metal.au -lib/tkdesk/sounds/newmail.au -lib/tkdesk/sounds/robot_dead.au -lib/tkdesk/sounds/start.au -lib/tkdesk/tclIndex -lib/tkdesk/update.tcl -lib/tkdesk/util.tcl -man/man1/cd-tkdesk.1 -man/man1/ed-tkdesk.1 -man/man1/od-tkdesk.1 -man/man1/tkdesk.1 diff --git a/sysutils/tkdesk/distinfo b/sysutils/tkdesk/distinfo deleted file mode 100644 index 6976aac4f1c..00000000000 --- a/sysutils/tkdesk/distinfo +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: distinfo,v 1.12 2022/06/06 05:11:58 dholland Exp $ - -BLAKE2s (tkdesk-2.0.tar.gz) = 95b665597f1700fbae03bd19ca880b108afabac8a38f6535459ff9574b75c2f4 -SHA512 (tkdesk-2.0.tar.gz) = 482f69b9181b69a0903eff9afeeceefda949d620d7986d796589221a0a201f720e33aae05a622f597eb1072def96ff178232e1f432bc45947d298e730f47155a -Size (tkdesk-2.0.tar.gz) = 907432 bytes -BLAKE2s (tkdesk-2.0p1.patch) = 0345b3b1f069fd827d13156511a2d6c2eea9f5b8b5bddfea3dbe69052e45f5ee -SHA512 (tkdesk-2.0p1.patch) = 3e5ac9a6784183a659c958c20b3608e3646af405132e57b8336ec91bdee481eec63927bfa390ed985dff884cc722f772b09a62cc15ff1d19d64f30b399afa16b -Size (tkdesk-2.0p1.patch) = 3147 bytes -BLAKE2s (tkdesk-2.0p2.patch) = a95322ec58e4fb1f6de9e489136c0d6c3d09c906f6d4deb3b6648c49dabd90fe -SHA512 (tkdesk-2.0p2.patch) = 29171f1f706da9b2ecaf78a760138cfc70ed58a9630ce5e24a23cba9a68735a693c640e5e9378ce3f80dd919431b432b9e8afd3d544a73797d31957532d83802 -Size (tkdesk-2.0p2.patch) = 138282 bytes -SHA1 (patch-aa) = 13e1f7ed8b564774949498d2356c29a0ca23bcd1 -SHA1 (patch-ab) = 50e591e0732abf19bec531ba1667cadc6c4b24cf -SHA1 (patch-ac) = 286a2bb4177431f87b778ed943cd57961aeb48ab -SHA1 (patch-ae) = c09cd944af50c2a31020a7478c1568e847b0cb02 -SHA1 (patch-aj) = 72f8fdd5bf216fce0db937bfbb862ec540a28b96 -SHA1 (patch-ak) = 441a1eefd5872786981b25aa07482a8d6d9515aa -SHA1 (patch-al) = d4f621554ae76d3ad061fe8c244e10633de4f367 -SHA1 (patch-libdesk_dsk__ls.c) = 1b5824d83b8665bc7b98fbd59fd2736ae17180a1 -SHA1 (patch-libdesk_misc.c) = a7e3e2d4b001b7528900a3ec663acbe62f5bbaaa -SHA1 (patch-libdesk_o__FileListbox.c) = 90a19887846f869896d2aae8f17119a342b28cda -SHA1 (patch-libdesk_ot.c) = e261153bcb876a0a30a1e2fd2854339d2b406446 -SHA1 (patch-netscape-remote_netscape-remote.c) = 3f6cda21fce514f8fbb14f066be23a479fc7e84f diff --git a/sysutils/tkdesk/patches/patch-aa b/sysutils/tkdesk/patches/patch-aa deleted file mode 100644 index 3d26c2c4602..00000000000 --- a/sysutils/tkdesk/patches/patch-aa +++ /dev/null @@ -1,87 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2022/06/06 05:11:58 dholland Exp $ - -- Remove bashisms. -- Fix itcl library names. -- Fix BLT library names. -- Avoid print from test(1) because ITCL_MAJOR_VERSION is never actually set. - ---- configure.orig 2004-04-14 03:39:47.000000000 +0000 -+++ configure -@@ -1430,7 +1430,7 @@ TK_LIB_STATIC=${TKCONF_PATH}/libtk${TK_V - # Check for the TkStep libraries (if needed)... - # - --if test "$ENABLE_TKSTEP" == "yes" ; then -+if test "$ENABLE_TKSTEP" = "yes" ; then - TK_LIB_SPEC="-ltkstep -lXpm -ltiff" - { echo "$as_me:$LINENO: will link using TkStep libraries" >&5 - echo "$as_me: will link using TkStep libraries" >&6;} -@@ -1446,7 +1446,7 @@ echo "$as_me:$LINENO: result: $TCL_VERSI - echo "${ECHO_T}$TCL_VERSION" >&6 - if test "$TCL_MAJOR_VERSION" -lt 8; then - echo -- if test "$ENABLE_UNSUPPORTED" == "yes" ; then -+ if test "$ENABLE_UNSUPPORTED" = "yes" ; then - { echo "$as_me:$LINENO: WARNING: you may be attempting to use TkDesk 2.x with an unsupported version of Tcl. Good luck. Hope it works out for you." >&5 - echo "$as_me: WARNING: you may be attempting to use TkDesk 2.x with an unsupported version of Tcl. Good luck. Hope it works out for you." >&2;} - else -@@ -1462,7 +1462,7 @@ echo "$as_me:$LINENO: result: $TK_VERSIO - echo "${ECHO_T}$TK_VERSION" >&6 - if test "$TK_MAJOR_VERSION" -lt 8; then - echo -- if test "$ENABLE_UNSUPPORTED" == "yes" ; then -+ if test "$ENABLE_UNSUPPORTED" = "yes" ; then - { echo "$as_me:$LINENO: WARNING: you may be attempting to use TkDesk 2.x with an unsupported version of Tk. Good luck. Hope it works out for you." >&5 - echo "$as_me: WARNING: you may be attempting to use TkDesk 2.x with an unsupported version of Tk. Good luck. Hope it works out for you." >&2;} - else -@@ -1503,9 +1503,9 @@ echo "${ECHO_T}$ITCLCONF_PATH/$ITCLCONF_ - echo $ECHO_N "checking version of Itcl... $ECHO_C" >&6 - echo "$as_me:$LINENO: result: $ITCL_VERSION" >&5 - echo "${ECHO_T}$ITCL_VERSION" >&6 -- if test "$ITCL_MAJOR_VERSION" -ne 3; then -+ if test "${ITCL_MAJOR_VERSION:-3}" -ne 3; then - echo -- if test "$ENABLE_UNSUPPORTED" == "yes" ; then -+ if test "$ENABLE_UNSUPPORTED" = "yes" ; then - { echo "$as_me:$LINENO: WARNING: you may be attempting to use TkDesk 2.x with an unsupported version of Itcl. Good luck. Hope it works out for you." >&5 - echo "$as_me: WARNING: you may be attempting to use TkDesk 2.x with an unsupported version of Itcl. Good luck. Hope it works out for you." >&2;} - else -@@ -1548,10 +1548,10 @@ else - ITCL_LIB_SPEC="-L${TCLCONF_PATH} -litcl3.1" - ITCL_LIB_STATIC=${TCLCONF_PATH}/libitcl3.1.a - fi -- if test -f "${TCLCONF_PATH}/libitcl3.2.so" -o -f "${TCLCONF_PATH}/libitcl3.2.a" -+ if test -f "${TCLCONF_PATH}/libitcl32.so" -o -f "${TCLCONF_PATH}/libitcl32.a" - then -- ITCL_LIB_SPEC="-L${TCLCONF_PATH} -litcl3.2" -- ITCL_LIB_STATIC=${TCLCONF_PATH}/libitcl3.2.a -+ ITCL_LIB_SPEC="-L${TCLCONF_PATH} -litcl32" -+ ITCL_LIB_STATIC=${TCLCONF_PATH}/libitcl32.a - fi - fi - -@@ -1567,17 +1567,17 @@ if test -z "$BLT_LIB_PATH" ; then - echo "$as_me:$LINENO: result: ./blt" >&5 - echo "${ECHO_T}./blt" >&6 - else -- BLT_LIB_SPEC="-L$BLT_LIB_PATH -lBLT" -- BLT_LIB_STATIC=$BLT_LIB_PATH/libBLT.a -+ BLT_LIB_SPEC="-L$BLT_LIB_PATH -lBLT24" -+ BLT_LIB_STATIC=$BLT_LIB_PATH/libBLT24.a - NEED_BLT_LIB= -- if test ! -f $BLT_LIB_PATH/libBLT.a \ -- -a ! -f $BLT_LIB_PATH/libBLT.so -+ if test ! -f $BLT_LIB_PATH/libBLT24.a \ -+ -a ! -f $BLT_LIB_PATH/libBLT24.so - then -- if test ! -f $BLT_LIB_PATH/lib/libBLT.a \ -- -a ! -f $BLT_LIB_PATH/lib/libBLT.so -+ if test ! -f $BLT_LIB_PATH/lib/libBLT24.a \ -+ -a ! -f $BLT_LIB_PATH/lib/libBLT24.so - then - echo -- { { echo "$as_me:$LINENO: error: could not find libBLT.a or libBLT.so in $BLT_LIB_PATH or in $BLT_LIB_PATH/lib." >&5 -+ { { echo "$as_me:$LINENO: error: could not find libBLT24.a or libBLT24.so in $BLT_LIB_PATH or in $BLT_LIB_PATH/lib." >&5 - echo "$as_me: error: could not find libBLT.a or libBLT.so in $BLT_LIB_PATH or in $BLT_LIB_PATH/lib." >&2;} - { (exit 1); exit 1; }; } - else diff --git a/sysutils/tkdesk/patches/patch-ab b/sysutils/tkdesk/patches/patch-ab deleted file mode 100644 index ba451d9b171..00000000000 --- a/sysutils/tkdesk/patches/patch-ab +++ /dev/null @@ -1,62 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2014/02/22 07:53:47 obache Exp $ - ---- Makefile.in.orig 2004-04-14 22:31:17.000000000 +0000 -+++ Makefile.in -@@ -28,7 +28,7 @@ exec_prefix = @exec_prefix@ - INSTALL_ROOT = - - # Directory from which TkDesk will reference its library of Tcl scripts: --TKDESK_LIBRARY = @libdir@/TkDesk -+TKDESK_LIBRARY = @libdir@/tkdesk - - # Path name to use when installing library scripts: - SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TKDESK_LIBRARY) -@@ -50,7 +50,7 @@ MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/ma - - # To change the compiler switches, for example to change from -O - # to -g, change the following line: --CC_OPTS = -O -DUSE_OLD_IMAGE -DUSE_NON_CONST -+CC_OPTS = @CFLAGS@ -DUSE_OLD_IMAGE -DUSE_NON_CONST - - # To change the linker switches, for example to add -s, - # change the following line: -@@ -173,28 +173,29 @@ tkdesk_script: - rm_tkdesk_script: - @rm -f tkdesk - --install: tkdesksh client rm_tkdesk_script tkdesk_script dirs -- @chmod +x install-sh -+install: tkdesksh client rm_tkdesk_script tkdesk_script - @echo "=== Installing the executables..." -- @for f in tkdesksh tkdesk tkdeskclient/tkdeskclient tools/pauseme tools/ed-tkdesk tools/cd-tkdesk tools/od-tkdesk tools/op-tkdesk tools/pop-tkdesk; do \ -+ @for f in tkdesksh tkdeskclient/tkdeskclient; do \ - echo "installing $$f" ;\ -- rm -f $(BIN_INSTALL_DIR)/`basename $$f` ;\ -- $(INSTALL_PROGRAM) $$f $(BIN_INSTALL_DIR) ;\ -+ $(BSD_INSTALL_PROGRAM) $$f $(BIN_INSTALL_DIR) ;\ -+ done -+ @for f in tkdesk tools/pauseme tools/ed-tkdesk tools/cd-tkdesk tools/od-tkdesk tools/op-tkdesk tools/pop-tkdesk; do \ -+ echo "installing $$f" ;\ -+ $(BSD_INSTALL_SCRIPT) $$f $(BIN_INSTALL_DIR) ;\ - done - @echo "=== Installing TkDesk's library..." -- @cd ./tcldesk; tar cf - * | (cd $(SCRIPT_INSTALL_DIR); tar xvf -) -- @cd .. -+ $(BSD_INSTALL_DATA_DIR) $(SCRIPT_INSTALL_DIR) -+ @cd ./tcldesk; pax -rwpm * ${SCRIPT_INSTALL_DIR}; cd .. - @cp ChangeLog $(SCRIPT_INSTALL_DIR)/doc/ChangeLog - @echo "=== Setting permissions..." - find $(SCRIPT_INSTALL_DIR) -type f -exec chmod a+r {} \; - find $(SCRIPT_INSTALL_DIR) -type d -exec chmod a+rx {} \; - @echo "=== Creating index..." -- cd $(SCRIPT_INSTALL_DIR); $(BIN_INSTALL_DIR)/tkdesksh mkindex -+ cd $(SCRIPT_INSTALL_DIR); tclsh mkindex - @echo "=== Installing the manual pages..." - @for f in tkdesk.1 cd-tkdesk.1 ed-tkdesk.1 od-tkdesk.1; do \ - echo "installing $$f" ;\ -- rm -f $(MAN1_INSTALL_DIR)/$$f ;\ -- $(INSTALL_DATA) doc/$$f $(MAN1_INSTALL_DIR) ;\ -+ $(BSD_INSTALL_MAN) doc/$$f $(MAN1_INSTALL_DIR) ;\ - done - @echo "=== Installation complete." - diff --git a/sysutils/tkdesk/patches/patch-ac b/sysutils/tkdesk/patches/patch-ac deleted file mode 100644 index ac4c0798e67..00000000000 --- a/sysutils/tkdesk/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2005/10/26 04:29:01 minskim Exp $ - ---- tcldesk/configs/AppBar.orig 2004-04-13 01:41:00.000000000 -0500 -+++ tcldesk/configs/AppBar -@@ -405,7 +405,7 @@ set tkdesk(appbar) { - } - } - {{Superuser} -- {{Edit password file} {dsk_exec_as_root vi /etc/passwd}} -+ {{Edit password file} {dsk_exec_as_root vipw}} - {{Edit /etc/hosts} {dsk_exec_as_root vi /etc/hosts}} - } - - diff --git a/sysutils/tkdesk/patches/patch-ae b/sysutils/tkdesk/patches/patch-ae deleted file mode 100644 index 6e0497cf8b4..00000000000 --- a/sysutils/tkdesk/patches/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ae,v 1.1.1.1 2002/07/03 09:27:00 dmcmahill Exp $ - ---- tcldesk/configs/System.orig Sat Apr 29 18:20:13 2000 -+++ tcldesk/configs/System Sat Apr 29 18:21:05 2000 -@@ -132,7 +132,7 @@ - ### most cases). - - set tkdesk(cmd,whoami) "whoami" ;# used to determine user's login name --set tkdesk(cmd,du) "du -Dk" ;# for Disk Usage: usage in KB -+set tkdesk(cmd,du) "du -k" ;# for Disk Usage: usage in KB - set tkdesk(cmd,df) "df" ;# for getting free disk space in KB - set tkdesk(cmd,sort) "sort -rn" ;# for Disk Usage: list biggest first - set tkdesk(cmd,cp) "cp -r" ;# copy recursively diff --git a/sysutils/tkdesk/patches/patch-aj b/sysutils/tkdesk/patches/patch-aj deleted file mode 100644 index c98c288a205..00000000000 --- a/sysutils/tkdesk/patches/patch-aj +++ /dev/null @@ -1,81 +0,0 @@ -$NetBSD: patch-aj,v 1.5 2022/06/06 05:11:58 dholland Exp $ - -- remove panic declaration (XXX: why?) -- update for newer tcl - ---- libdesk/tixImgXpm.c.orig 2022-06-06 01:40:39.166611462 +0000 -+++ libdesk/tixImgXpm.c -@@ -58,8 +58,6 @@ - #include "tkPort.h"*/ - /*#include <tix.h>*/ - --EXTERN void panic(); -- - /* constants used only in this file */ - - #define XPM_MONO 1 -@@ -151,7 +149,7 @@ typedef struct PixmapInstance { - */ - - static int ImgXpmCreate _ANSI_ARGS_((Tcl_Interp *interp, -- char *name, int argc, char **argv, -+ char *name, int objc, Tcl_Obj *CONST objv[], - Tk_ImageType *typePtr, Tk_ImageMaster master, - ClientData *clientDataPtr)); - static ClientData ImgXpmGet _ANSI_ARGS_((Tk_Window tkwin, -@@ -239,12 +237,12 @@ static int xpmTableInited = 0; - *---------------------------------------------------------------------- - */ - static int --ImgXpmCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) -+ImgXpmCreate(interp, name, objc, objv, typePtr, master, clientDataPtr) - Tcl_Interp *interp; /* Interpreter for application containing - * image. */ - char *name; /* Name to use for image. */ -- int argc; /* Number of arguments. */ -- char **argv; /* Argument strings for options (doesn't -+ int objc; /* Number of arguments. */ -+ Tcl_Obj *CONST objv[]; /* Argument strings for options (doesn't - * include image name or type). */ - Tk_ImageType *typePtr; /* Pointer to our type record (not used). */ - Tk_ImageMaster master; /* Token for image, to be used by us in -@@ -254,6 +252,13 @@ ImgXpmCreate(interp, name, argc, argv, t - { - PixmapMaster *masterPtr; - -+ int i; -+ char **argv = (char **) Tcl_Alloc(objc * sizeof(char*)); -+ for (i=0; i < objc; i++) { -+ -+ argv[i] = Tcl_GetString(objv[i]); -+ } -+ - masterPtr = (PixmapMaster *) ckalloc(sizeof(PixmapMaster)); - masterPtr->tkMaster = master; - masterPtr->interp = interp; -@@ -267,10 +272,11 @@ ImgXpmCreate(interp, name, argc, argv, t - masterPtr->isDataAlloced = 0; - masterPtr->instancePtr = NULL; - -- if (ImgXpmConfigureMaster(masterPtr, argc, argv, 0) != TCL_OK) { -+ if (ImgXpmConfigureMaster(masterPtr, objc, argv, 0) != TCL_OK) { - ImgXpmDelete((ClientData) masterPtr); - return TCL_ERROR; - } -+ Tcl_Free((char *) argv); - *clientDataPtr = (ClientData) masterPtr; - return TCL_OK; - } -@@ -1152,9 +1158,11 @@ ImgXpmCmd(clientData, interp, argc, argv - size_t length; - - if (argc < 2) { -- sprintf(interp->result, -+ char buf[128]; -+ snprintf(buf, sizeof(buf), - "wrong # args: should be \"%.50s option ?arg arg ...?\"", - argv[0]); -+ Tcl_SetResult(interp, buf, TCL_VOLATILE); - return TCL_ERROR; - } - c = argv[1][0]; diff --git a/sysutils/tkdesk/patches/patch-ak b/sysutils/tkdesk/patches/patch-ak deleted file mode 100644 index 6b547f4896e..00000000000 --- a/sysutils/tkdesk/patches/patch-ak +++ /dev/null @@ -1,44 +0,0 @@ -$NetBSD: patch-ak,v 1.1.1.1 2002/07/03 09:27:01 dmcmahill Exp $ - ---- tcldesk/util.tcl.orig Fri Jun 28 15:05:45 2002 -+++ tcldesk/util.tcl -@@ -112,8 +112,8 @@ - #} - if {$windows != ""} { - foreach win $windows { -- #puts "blt_busy(1) hold $win" -- catch {blt_busy hold $win \ -+ #puts "busy(1) hold $win" -+ catch {busy hold $win \ - -cursor "@$cb_tools(path)/bitmaps/timer1.xbm \ - $cb_tools(path)/bitmaps/timer.mask.xbm black white"} - if {[lsearch $dsk_busy(windows) $win] < 0} { -@@ -141,8 +141,8 @@ - - set cb_balloonHelp(bltbusy) 1 - foreach win $dsk_busy(busy) { -- #puts "blt_busy(2) hold $win" -- catch {blt_busy hold $win \ -+ #puts "busy(2) hold $win" -+ catch {busy hold $win \ - -cursor "@$cb_tools(path)/bitmaps/timer1.xbm \ - $cb_tools(path)/bitmaps/timer.mask.xbm black white"} - } -@@ -177,7 +177,7 @@ - #} - if {$windows != ""} { - foreach win $windows { -- catch {blt_busy release $win} -+ catch {busy release $win} - set l [lsearch $dsk_busy(windows) $win] - if {$l >= 0} { - set dsk_busy(windows) [lreplace $dsk_busy(windows) $l $l] -@@ -202,7 +202,7 @@ - - foreach win $dsk_busy(busy) { - if {([lsearch $dsk_busy(windows) $win] < 0) || ($force != "")} { -- catch {blt_busy release $win} -+ catch {busy release $win} - } - } - diff --git a/sysutils/tkdesk/patches/patch-al b/sysutils/tkdesk/patches/patch-al deleted file mode 100644 index 9f68cfef6a4..00000000000 --- a/sysutils/tkdesk/patches/patch-al +++ /dev/null @@ -1,75 +0,0 @@ -$NetBSD: patch-al,v 1.2 2022/06/06 05:11:58 dholland Exp $ - -- Remove bashisms. -- Fix BLT library names. -- Avoid print from test(1) because ITCL_MAJOR_VERSION is never actually set. - -Caution: it appears that not all of the direct changes to configure in -its own patch (patch-aa) are reflected here. - ---- configure.in.orig 2004-04-14 03:39:12.000000000 +0000 -+++ configure.in -@@ -107,7 +107,7 @@ TK_LIB_STATIC=${TKCONF_PATH}/libtk${TK_V - # Check for the TkStep libraries (if needed)... - # - --if test "$ENABLE_TKSTEP" == "yes" ; then -+if test "$ENABLE_TKSTEP" = "yes" ; then - TK_LIB_SPEC="-ltkstep -lXpm -ltiff" - AC_MSG_NOTICE([will link using TkStep libraries]) - fi -@@ -120,7 +120,7 @@ AC_MSG_CHECKING(version of Tcl) - AC_MSG_RESULT($TCL_VERSION) - if test "$TCL_MAJOR_VERSION" -lt 8; then - echo -- if test "$ENABLE_UNSUPPORTED" == "yes" ; then -+ if test "$ENABLE_UNSUPPORTED" = "yes" ; then - AC_MSG_WARN([you may be attempting to use TkDesk 2.x with an unsupported version of Tcl. Good luck. Hope it works out for you.]) - else - AC_MSG_ERROR([TkDesk version 2.x requires Tcl version 8 or higher. Please upgrade your Tcl or, if that is not possible, you might prefer to use TkDesk version 1.2 instead.]) -@@ -131,7 +131,7 @@ AC_MSG_CHECKING(version of Tk) - AC_MSG_RESULT($TK_VERSION) - if test "$TK_MAJOR_VERSION" -lt 8; then - echo -- if test "$ENABLE_UNSUPPORTED" == "yes" ; then -+ if test "$ENABLE_UNSUPPORTED" = "yes" ; then - AC_MSG_WARN([you may be attempting to use TkDesk 2.x with an unsupported version of Tk. Good luck. Hope it works out for you.]) - else - AC_MSG_ERROR([TkDesk version 2.x requires Tk version 8 or higher. Please upgrade your Tk or, if that is not possible, you might prefer to use TkDesk version 1.2 instead.]) -@@ -165,9 +165,9 @@ if test $success = 1 ; then - - AC_MSG_CHECKING(version of Itcl) - AC_MSG_RESULT($ITCL_VERSION) -- if test "$ITCL_MAJOR_VERSION" -ne 3; then -+ if test "${ITCL_MAJOR_VERSION:-3}" -ne 3; then - echo -- if test "$ENABLE_UNSUPPORTED" == "yes" ; then -+ if test "$ENABLE_UNSUPPORTED" = "yes" ; then - AC_MSG_WARN([you may be attempting to use TkDesk 2.x with an unsupported version of Itcl. Good luck. Hope it works out for you.]) - else - AC_MSG_ERROR([found Itcl, but it appears to be the wrong version. TkDesk 2.x requires itcl 3.x to be installed. Please get it from: http://www.incrtcl.sourceforge.net.]) -@@ -222,17 +222,17 @@ if test -z "$BLT_LIB_PATH" ; then - NEED_BLT_LIB=lib_blt - AC_MSG_RESULT(./blt) - else -- BLT_LIB_SPEC="-L$BLT_LIB_PATH -lBLT" -- BLT_LIB_STATIC=$BLT_LIB_PATH/libBLT.a -+ BLT_LIB_SPEC="-L$BLT_LIB_PATH -lBLT24" -+ BLT_LIB_STATIC=$BLT_LIB_PATH/libBLT24.a - NEED_BLT_LIB= -- if test ! -f $BLT_LIB_PATH/libBLT.a \ -- -a ! -f $BLT_LIB_PATH/libBLT.so -+ if test ! -f $BLT_LIB_PATH/libBLT24.a \ -+ -a ! -f $BLT_LIB_PATH/libBLT24.so - then -- if test ! -f $BLT_LIB_PATH/lib/libBLT.a \ -- -a ! -f $BLT_LIB_PATH/lib/libBLT.so -+ if test ! -f $BLT_LIB_PATH/lib/libBLT24.a \ -+ -a ! -f $BLT_LIB_PATH/lib/libBLT24.so - then - echo -- AC_MSG_ERROR([could not find libBLT.a or libBLT.so in $BLT_LIB_PATH or in $BLT_LIB_PATH/lib.]) -+ AC_MSG_ERROR([could not find libBLT24.a or libBLT24.so in $BLT_LIB_PATH or in $BLT_LIB_PATH/lib.]) - else - BLT_LIB_PATH=$BLT_LIB_PATH/lib - fi diff --git a/sysutils/tkdesk/patches/patch-libdesk_dsk__ls.c b/sysutils/tkdesk/patches/patch-libdesk_dsk__ls.c deleted file mode 100644 index edea3fdee05..00000000000 --- a/sysutils/tkdesk/patches/patch-libdesk_dsk__ls.c +++ /dev/null @@ -1,145 +0,0 @@ -$NetBSD: patch-libdesk_dsk__ls.c,v 1.1 2022/06/06 05:11:58 dholland Exp $ - -Update for Tcl 8.6 (?) -Don't run off the end of strings. - ---- libdesk/dsk_ls.c~ 2004-04-14 02:20:01.000000000 +0000 -+++ libdesk/dsk_ls.c -@@ -226,7 +226,7 @@ char *path; - #endif - - strncpy (par_path, path, MAXPATHLEN); -- par_path[MAXPATHLEN] = (char) NULL; -+ par_path[MAXPATHLEN - 1] = 0; - if (process_cmdline (argc, argv) != TCL_OK) - return (TCL_ERROR); - -@@ -374,8 +374,8 @@ FILE_ENTRY *fe; - - if (S_ISLNK(fe->sb.st_mode)) { - strcpy (linkname, " -> "); -- len = readlink (fe->path, linkname + 4, MAXPATHLEN - 4); -- *(linkname + 4 + len) = (char) NULL; -+ len = readlink (fe->path, linkname + 4, MAXPATHLEN - 5); -+ *(linkname + 4 + len) = 0; - return (linkname); - } else { - return (strcpy (linkname, "")); -@@ -1223,7 +1223,8 @@ char *path; - fprintf (stderr, "Opening %s ...\n", path); - #endif - if ((dp = opendir (path)) == NULL) { -- sprintf (dsk_interp->result, "no such file or dir: %s", path); -+ snprintf(buffer, MAXPATHLEN, "no such file or dir: %s", path); -+ Tcl_SetResult(dsk_interp, buffer, TCL_VOLATILE); - return (TCL_ERROR); - } - -@@ -1240,18 +1241,15 @@ char *path; - if ( (dir->d_name[1] == '\0') - || (dir->d_name[1] == '.' && dir->d_name[2] == '\0')) { - if (!par_no_points) { -- strcpy (buffer, path); -- strcat (buffer, dir->d_name); -+ snprintf(buffer, MAXPATHLEN, "%s%s", path, dir->d_name); - new_file_entry (buffer); - } - } else if (par_show_all) { -- strcpy (buffer, path); -- strcat (buffer, dir->d_name); -+ snprintf(buffer, MAXPATHLEN, "%s%s", path, dir->d_name); - new_file_entry (buffer); - } - } else { -- strcpy (buffer, path); -- strcat (buffer, dir->d_name); -+ snprintf(buffer, MAXPATHLEN, "%s%s", path, dir->d_name); - if (!par_only_directories) { - new_file_entry (buffer); - } else { -@@ -1280,16 +1278,19 @@ int read_file_lists () - { - struct stat sb; - char bc, *slash; -+ char buffer[MAXPATHLEN]; - - if (par_path[strlen (par_path) - 1] == '/' && !par_one_file) { - /* par_path is the name of a directory */ - if (stat (par_path, &sb) < 0) { -- sprintf (dsk_interp->result, "no such file or dir: %s", par_path); -+ snprintf(buffer, MAXPATHLEN, "no such file or dir: %s", par_path); -+ Tcl_SetResult(dsk_interp, buffer, TCL_VOLATILE); - return (TCL_ERROR); - } - } else { - if (stat (par_path, &sb) < 0) { -- sprintf (dsk_interp->result, "no such file or dir: %s", par_path); -+ snprintf(buffer, MAXPATHLEN, "no such file or dir: %s", par_path); -+ Tcl_SetResult(dsk_interp, buffer, TCL_VOLATILE); - return (TCL_ERROR); - } - if (!S_ISDIR(sb.st_mode) || par_one_file) { -@@ -1375,7 +1376,7 @@ char *argv[]; - break; - case 'M': - if (argc == 2) { -- strcpy (dsk_interp->result, USAGE); -+ Tcl_SetResult(dsk_interp, USAGE, TCL_STATIC); - return (TCL_ERROR); - } - i++; argc--; -@@ -1398,7 +1399,7 @@ char *argv[]; - break; - case 's': - if (argc == 2) { -- strcpy (dsk_interp->result, USAGE); -+ Tcl_SetResult(dsk_interp, USAGE, TCL_STATIC); - return (TCL_ERROR); - } - i++; argc--; -@@ -1415,9 +1416,11 @@ char *argv[]; - else if (!strcmp ("not", argv[i])) - par_sort_type = BY_NTH; - else { -- sprintf (dsk_interp->result, -+ char buffer[1024]; -+ snprintf(buffer, sizeof(buffer), - "Don't know how to sort by %s.\n%s", - argv[i], USAGE); -+ Tcl_SetResult(dsk_interp, buffer, TCL_VOLATILE); - return (TCL_ERROR); - } - break; -@@ -1427,14 +1430,18 @@ char *argv[]; - case 't': - par_append_char = 1; - break; -- default: -- sprintf (dsk_interp->result, "Dont understand: -%c\n%s", -- argv[i][1], USAGE); -- return (TCL_ERROR); -+ default: { -+ char buffer[1024]; -+ snprintf(buffer, sizeof(buffer), -+ "Dont understand: -%c\n%s", -+ argv[i][1], USAGE); -+ Tcl_SetResult(dsk_interp, buffer, TCL_VOLATILE); -+ return (TCL_ERROR); -+ } - } - } else { - if (*par_path) { -- strcpy (dsk_interp->result, USAGE); -+ Tcl_SetResult(dsk_interp, USAGE, TCL_STATIC); - return (TCL_ERROR); - } - strcpy (par_path, argv[i]); -@@ -1444,7 +1451,7 @@ char *argv[]; - } - - if (!*par_path) { -- strcpy (dsk_interp->result, USAGE); -+ Tcl_SetResult(dsk_interp, USAGE, TCL_STATIC); - return (TCL_ERROR); - } - diff --git a/sysutils/tkdesk/patches/patch-libdesk_misc.c b/sysutils/tkdesk/patches/patch-libdesk_misc.c deleted file mode 100644 index c547b75a7ce..00000000000 --- a/sysutils/tkdesk/patches/patch-libdesk_misc.c +++ /dev/null @@ -1,100 +0,0 @@ -$NetBSD: patch-libdesk_misc.c,v 1.1 2022/06/06 05:11:58 dholland Exp $ - -Update interpreter result handling for Tcl 8.6 (?) -Don't cast result of malloc. - ---- libdesk/misc.c.orig 2004-02-29 21:52:24.000000000 +0000 -+++ libdesk/misc.c -@@ -79,7 +79,7 @@ int dsk_striptc_Cmd (clientData, interp, - char instr[TCL_RESULT_SIZE], outstr[TCL_RESULT_SIZE]; - - if (argc < 2 || argc > 3) { -- sprintf (interp->result, "usage: dsk_striptc ?-keep? string"); -+ Tcl_SetResult(interp, "usage: dsk_striptc ?-keep? string", TCL_STATIC); - return (TCL_ERROR); - } - if (argc == 3) { -@@ -87,7 +87,8 @@ int dsk_striptc_Cmd (clientData, interp, - keep = 1; - strcpy(instr, argv[2]); - } else { -- sprintf (interp->result, "usage: dsk_striptc ?-keep? string"); -+ Tcl_SetResult(interp, "usage: dsk_striptc ?-keep? string", -+ TCL_STATIC); - return (TCL_ERROR); - } - } else { -@@ -95,7 +96,7 @@ int dsk_striptc_Cmd (clientData, interp, - } - - if (instr[0] == 0) { -- *interp->result = 0; -+ Tcl_SetResult(interp, "", TCL_STATIC); - return (TCL_OK); - } - -@@ -125,7 +126,7 @@ int dsk_striptc_Cmd (clientData, interp, - } - } - -- strcpy (interp->result, outstr); -+ Tcl_SetResult(interp, outstr, TCL_VOLATILE); - return (TCL_OK); - } /* dsk_striptc_Cmd */ - -@@ -144,12 +145,12 @@ int dsk_esc_Cmd (clientData, interp, arg - char *buf; - - if (argc != 3) { -- sprintf (interp->result, "usage: dsk_esc string chars"); -+ Tcl_SetResult(interp, "usage: dsk_esc string chars", TCL_STATIC); - return (TCL_ERROR); - } - - /* assume every char needs to be backslashed, for safety reasons */ -- buf = (char *) malloc (strlen (argv[1]) * 2); -+ buf = malloc (strlen (argv[1]) * 2); - if (buf == NULL) { - fprintf (stderr, "out of memory in dsk_esc_Cmd\n"); - exit (1); -@@ -176,12 +177,12 @@ int dsk_unesc_Cmd (clientData, interp, a - char *buf; - - if (argc != 2) { -- strcpy (interp->result, "usage: dsk_unesc string"); -+ Tcl_SetResult(interp, "usage: dsk_unesc string", TCL_STATIC); - return (TCL_ERROR); - } - - /* assume every char needs to be backslashed, for safety reasons */ -- buf = (char *) malloc (strlen (argv[1]) * 2); -+ buf = malloc (strlen (argv[1]) * 2); - if (buf == NULL) { - fprintf (stderr, "out of memory in dsk_esc_Cmd\n"); - exit (1); -@@ -259,7 +260,7 @@ int dsk_statfs_Cmd (clientData, interp, - char buf[64]; - - if (argc != 2) { -- strcpy (interp->result, "usage: dskC_statfs path?/file?"); -+ Tcl_SetResult(interp, "usage: dskC_statfs path?/file?", TCL_STATIC); - return TCL_ERROR; - } - -@@ -295,13 +296,14 @@ int dsk_statfs_Cmd (clientData, interp, - return TCL_OK; - - } else { -- sprintf (interp->result, "Error %d", errno); -+ snprintf(buf, sizeof(buf), "Error %d", errno); -+ Tcl_SetResult(interp, buf, TCL_VOLATILE); - return TCL_ERROR; - } - - #else - -- strcpy (interp->result, ""); -+ Tcl_SetResult(interp, "", TCL_STATIC); - return TCL_OK; - - #endif diff --git a/sysutils/tkdesk/patches/patch-libdesk_o__FileListbox.c b/sysutils/tkdesk/patches/patch-libdesk_o__FileListbox.c deleted file mode 100644 index 36cfba8ef89..00000000000 --- a/sysutils/tkdesk/patches/patch-libdesk_o__FileListbox.c +++ /dev/null @@ -1,79 +0,0 @@ -$NetBSD: patch-libdesk_o__FileListbox.c,v 1.1 2022/06/06 05:11:58 dholland Exp $ - -Update interpreter result handling for Tcl 8.6 (?) - -Also, memory allocated from inside tcl needs to be freed with Tcl_Free. - ---- libdesk/o_FileListbox.c.orig 2004-02-29 21:52:24.000000000 +0000 -+++ libdesk/o_FileListbox.c -@@ -69,7 +69,7 @@ int dsk_init_ftags_Cmd (clientData, inte - - /* get and split the taglist */ - if (targv != NULL) -- free ((char *)targv); -+ Tcl_Free ((char *)targv); - if (argc > 1) { - if (Tcl_SplitList (interp, argv[1], &targc, &targv) == TCL_ERROR) - return TCL_ERROR; -@@ -81,7 +81,7 @@ int dsk_init_ftags_Cmd (clientData, inte - - /* get and split tag masks */ - if (pargv != NULL) -- free ((char *)pargv); -+ Tcl_Free ((char *)pargv); - if (argc > 2) { - if (Tcl_SplitList (interp, argv[2], &pargc, &pargv) == TCL_ERROR) - return TCL_ERROR; -@@ -93,7 +93,7 @@ int dsk_init_ftags_Cmd (clientData, inte - - /* get and split ignore masks */ - if (iargv != NULL) -- free ((char *)iargv); -+ Tcl_Free ((char *)iargv); - if (argc > 3) { - if (Tcl_SplitList (interp, argv[3], &iargc, &iargv) == TCL_ERROR) - return TCL_ERROR; -@@ -139,7 +139,7 @@ int dsk_ls_and_tag_Cmd (clientData, inte - #endif - - if (argc != 2) { -- strcpy (interp->result, "usage: dskC_ls_and_tag path"); -+ Tcl_SetResult(interp, "usage: dskC_ls_and_tag path", TCL_STATIC); - return TCL_ERROR; - } - -@@ -170,7 +170,7 @@ int dsk_ls_and_tag_Cmd (clientData, inte - if (Tcl_SplitList (interp, lscmd, &lsargc, &lsargv) == TCL_ERROR) - return TCL_ERROR; - dsk_ls_init_and_parse_options (lsargc, lsargv, argv[1]); -- free (lsargv); -+ Tcl_Free (lsargv); - - /* now read and sort the file list */ - fargc = dsk_ls_read_and_sort (iargc, (showall ? NULL : iargv), -@@ -301,14 +301,14 @@ int dsk_ls_and_tag_Cmd (clientData, inte - /* free memory allocated by dsk_ls */ - dsk_ls_cleanup(); - if (!mask_matches_all) -- free (maskv); -+ Tcl_Free (maskv); - - /* - * And now the tagging: - */ - if (mtags) { - ot_invoke ("array names mt"); -- strcpy (buf, interp->result); -+ strcpy (buf, Tcl_GetStringResult(interp)); - if (Tcl_SplitList (interp, buf, &mtargc, &mtargv) == TCL_ERROR) - return TCL_ERROR; - -@@ -343,7 +343,7 @@ int dsk_ls_and_tag_Cmd (clientData, inte - } - Tcl_DStringFree (&dbigcmd); - -- free (mtargv); -+ Tcl_Free (mtargv); - } - - if (add_images && notmatch_set) { diff --git a/sysutils/tkdesk/patches/patch-libdesk_ot.c b/sysutils/tkdesk/patches/patch-libdesk_ot.c deleted file mode 100644 index f569aca7995..00000000000 --- a/sysutils/tkdesk/patches/patch-libdesk_ot.c +++ /dev/null @@ -1,76 +0,0 @@ -$NetBSD: patch-libdesk_ot.c,v 1.1 2022/06/06 05:11:58 dholland Exp $ - -Update interpreter result handling for Tcl 8.6 (?) - -Also, memory allocated from inside tcl needs to be freed with Tcl_Free. - ---- libdesk/ot.c.orig 2004-04-14 02:34:37.000000000 +0000 -+++ libdesk/ot.c -@@ -150,7 +150,8 @@ char *argv[]; - char **largv; - - if (argc < 3) { -- interp->result = "usage: ot_maplist list var ?var ...?"; -+ Tcl_SetResult(interp, "usage: ot_maplist list var ?var ...?", -+ TCL_STATIC); - return TCL_ERROR; - } - -@@ -160,7 +161,7 @@ char *argv[]; - - for (i = 0; i < largc; i++) { - if (!Tcl_SetVar (interp, argv[i + 2], largv[i], TCL_LEAVE_ERR_MSG)) { -- free (largv); -+ Tcl_Free (largv); - return TCL_ERROR; - } - -@@ -169,7 +170,7 @@ char *argv[]; - for (j = i + 1; j < largc; j++) { - if (!Tcl_SetVar (interp, argv[i + 2], largv[j], - TCL_LEAVE_ERR_MSG|TCL_LIST_ELEMENT|TCL_APPEND_VALUE)) { -- free (largv); -+ Tcl_Free (largv); - return TCL_ERROR; - } - } -@@ -177,7 +178,7 @@ char *argv[]; - } - } - -- free (largv); -+ Tcl_Free (largv); - return TCL_OK; - } /* ot_maplist_Cmd */ - -@@ -204,7 +205,9 @@ char *argv[]; - int x, y; - - if (argc != 2 && argc != 3) { -- interp->result = "usage: ot_warp_pointer window / ot_warp_pointer x y"; -+ Tcl_SetResult(interp, -+ "usage: ot_warp_pointer window / ot_warp_pointer x y", -+ TCL_STATIC); - return TCL_ERROR; - } - -@@ -262,14 +265,16 @@ char *cmd; - } - - if (Tcl_GetCommandInfo (interp, argv[0], &cmdInfo) == 0) { -- sprintf (interp->result, "invalid command name \"%s\"", argv[0]); -- free (argv); -+ char buf[1024]; -+ snprintf(buf, sizeof(buf), "invalid command name \"%s\"", argv[0]); -+ Tcl_SetResult(interp, buf, TCL_VOLATILE); -+ Tcl_Free (argv); - return TCL_ERROR; - } - - Tcl_ResetResult (interp); - retval = (*cmdInfo.proc) (cmdInfo.clientData, interp, argc, argv); -- free (argv); -+ Tcl_Free (argv); - return retval; - } /* Ot_TclInvoke */ - diff --git a/sysutils/tkdesk/patches/patch-netscape-remote_netscape-remote.c b/sysutils/tkdesk/patches/patch-netscape-remote_netscape-remote.c deleted file mode 100644 index f2a758bd9a9..00000000000 --- a/sysutils/tkdesk/patches/patch-netscape-remote_netscape-remote.c +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-netscape-remote_netscape-remote.c,v 1.1 2022/06/06 05:11:58 dholland Exp $ - -Use standard headers. - ---- netscape-remote/netscape_remote.c~ 2004-02-29 21:52:24.000000000 +0000 -+++ netscape-remote/netscape_remote.c -@@ -31,6 +31,7 @@ static char rcsid[]= - #include "config.h" - #include <sys/types.h> - #include <unistd.h> -+#include <string.h> - #ifdef HAVE_TCL8_0_H - #include <tcl8.0.h> - #include <tk8.0.h> |