head 1.18; access; symbols pkgsrc-2013Q2:1.18.0.8 pkgsrc-2013Q2-base:1.18 pkgsrc-2012Q4:1.18.0.6 pkgsrc-2012Q4-base:1.18 pkgsrc-2011Q4:1.18.0.4 pkgsrc-2011Q4-base:1.18 pkgsrc-2011Q2:1.18.0.2 pkgsrc-2011Q2-base:1.18 pkgsrc-2009Q4:1.17.0.44 pkgsrc-2009Q4-base:1.17 pkgsrc-2009Q3:1.17.0.42 pkgsrc-2009Q3-base:1.17 pkgsrc-2009Q2:1.17.0.40 pkgsrc-2009Q2-base:1.17 pkgsrc-2009Q1:1.17.0.38 pkgsrc-2009Q1-base:1.17 pkgsrc-2008Q4:1.17.0.36 pkgsrc-2008Q4-base:1.17 pkgsrc-2008Q3:1.17.0.34 pkgsrc-2008Q3-base:1.17 cube-native-xorg:1.17.0.32 cube-native-xorg-base:1.17 pkgsrc-2008Q2:1.17.0.30 pkgsrc-2008Q2-base:1.17 cwrapper:1.17.0.28 pkgsrc-2008Q1:1.17.0.26 pkgsrc-2008Q1-base:1.17 pkgsrc-2007Q4:1.17.0.24 pkgsrc-2007Q4-base:1.17 pkgsrc-2007Q3:1.17.0.22 pkgsrc-2007Q3-base:1.17 pkgsrc-2007Q2:1.17.0.20 pkgsrc-2007Q2-base:1.17 pkgsrc-2007Q1:1.17.0.18 pkgsrc-2007Q1-base:1.17 pkgsrc-2006Q4:1.17.0.16 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.17.0.14 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.17.0.12 pkgsrc-2006Q2-base:1.17 pkgsrc-2006Q1:1.17.0.10 pkgsrc-2006Q1-base:1.17 pkgsrc-2005Q4:1.17.0.8 pkgsrc-2005Q4-base:1.17 pkgsrc-2005Q3:1.17.0.6 pkgsrc-2005Q3-base:1.17 pkgsrc-2005Q2:1.17.0.4 pkgsrc-2005Q2-base:1.17 pkgsrc-2005Q1:1.17.0.2 pkgsrc-2005Q1-base:1.17 pkgsrc-2004Q4:1.16.0.2 pkgsrc-2004Q4-base:1.16 pkgsrc-2004Q3:1.15.0.10 pkgsrc-2004Q3-base:1.15 pkgsrc-2004Q2:1.15.0.8 pkgsrc-2004Q2-base:1.15 pkgsrc-2004Q1:1.15.0.6 pkgsrc-2004Q1-base:1.15 pkgsrc-2003Q4:1.15.0.4 pkgsrc-2003Q4-base:1.15 netbsd-1-6-1:1.15.0.2 netbsd-1-6-1-base:1.15 netbsd-1-6:1.14.0.8 netbsd-1-6-RELEASE-base:1.14 pkgviews:1.14.0.4 pkgviews-base:1.14 buildlink2:1.14.0.2 buildlink2-base:1.14 netbsd-1-5-PATCH003:1.14 netbsd-1-5-PATCH001:1.12 netbsd-1-5-RELEASE:1.10 netbsd-1-4-PATCH003:1.10 netbsd-1-4-PATCH002:1.6 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1.1.1 FreeBSD-current-1997-11-01:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.18 date 2010.01.16.09.15.25; author adam; state dead; branches; next 1.17; 1.17 date 2005.03.10.16.07.27; author wiz; state Exp; branches; next 1.16; 1.16 date 2004.09.28.12.52.14; author adam; state dead; branches 1.16.2.1; next 1.15; 1.15 date 2002.12.05.19.10.43; author drochner; state Exp; branches; next 1.14; 1.14 date 2001.09.19.16.50.40; author drochner; state Exp; branches; next 1.13; 1.13 date 2001.06.30.19.08.22; author jlam; state Exp; branches; next 1.12; 1.12 date 2000.12.22.17.26.18; author jlam; state Exp; branches; next 1.11; 1.11 date 2000.10.23.19.45.16; author jlam; state Exp; branches; next 1.10; 1.10 date 2000.07.25.14.42.03; author jlam; state Exp; branches; next 1.9; 1.9 date 2000.06.21.05.31.46; author jlam; state Exp; branches; next 1.8; 1.8 date 2000.05.30.07.38.54; author tron; state Exp; branches; next 1.7; 1.7 date 2000.04.27.13.14.50; author tron; state Exp; branches; next 1.6; 1.6 date 99.11.24.17.38.50; author hubertf; state Exp; branches; next 1.5; 1.5 date 99.11.24.17.34.10; author hubertf; state Exp; branches; next 1.4; 1.4 date 99.11.03.04.18.47; author jlam; state Exp; branches; next 1.3; 1.3 date 99.09.03.19.45.12; author drochner; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.18.08; author agc; state Exp; branches; next 1.1; 1.1 date 97.11.02.02.45.52; author hubertf; state Exp; branches 1.1.1.1; next ; 1.16.2.1 date 2005.03.11.06.55.42; author snj; state Exp; branches; next ; 1.1.1.1 date 97.11.02.02.45.52; author hubertf; state Exp; branches; next ; desc @@ 1.18 log @Changes 0.95.2: * Bug fix release. @ text @$NetBSD: patch-ac,v 1.17 2005/03/10 16:07:27 wiz Exp $ --- lib/Xm-2.1/Xpmscan.c.orig 2004-11-18 22:00:59.000000000 +0100 +++ lib/Xm-2.1/Xpmscan.c @@@@ -672,8 +672,8 @@@@ GetImagePixels(image, width, height, pma char *dst; unsigned int *iptr; char *data; - unsigned int x, y, i; - int bits, depth, ibu, ibpp, offset; + unsigned int x, y; + int bits, depth, ibu, ibpp, offset, i; unsigned long lbt; Pixel pixel, px; @@@@ -684,6 +684,9 @@@@ GetImagePixels(image, width, height, pma ibpp = image->bits_per_pixel; offset = image->xoffset; + if (image->bitmap_unit < 0) + return (XpmNoMemory); + if ((image->bits_per_pixel | image->depth) == 1) { ibu = image->bitmap_unit; for (y = 0; y < height; y++) @ 1.17 log @Add patch to fix CAN-2005-0605. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.16 log @Changes 0.93.96: * Scroll wheel suuport * Xpm security fixes * XmList fixes * XmFrame fixes * fix for uninitialised memory problems @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.15 2002/12/05 19:10:43 drochner Exp $ d3 23 a25 11 --- clients/Motif-1.2/mwm/system.mwmrc.orig Wed Jun 13 22:39:25 2001 +++ clients/Motif-1.2/mwm/system.mwmrc Thu Dec 5 19:03:32 2002 @@@@ -5,7 +5,7 @@@@ Menu DefaultRootMenu { "Root Menu" f.title - "New Window" f.exec "xterm -e /bin/bash &" + "New Window" f.exec "xterm &" "Shuffle Up" f.circle_up "Shuffle Down" f.circle_down "Refresh" f.refresh @ 1.16.2.1 log @Pullup ticket 352 - requested by Lubomir Sedlacik security fix for lesstif Revisions pulled up: - pkgsrc/x11/lesstif/Makefile 1.77,1.78 - pkgsrc/x11/lesstif/buildlink3.mk 1.4 - pkgsrc/x11/lesstif/distinfo 1.11,1.13 - pkgsrc/x11/lesstif/PLIST 1.9 - pkgsrc/x11/lesstif/patches/patch-ab 1.16 - pkgsrc/x11/lesstif/patches/patch-ac 1.17 Module Name: pkgsrc Committed By: adam Date: Wed Jan 5 11:16:38 UTC 2005 Modified Files: pkgsrc/x11/lesstif: Makefile distinfo Log Message: Changes 0.94.0: * XPM security fixes * memory leak fixes * other fixes ---- Module Name: pkgsrc Committed By: wiz Date: Thu Mar 10 16:07:16 UTC 2005 Modified Files: pkgsrc/x11/lesstif: PLIST Log Message: Sort. ---- Module Name: pkgsrc Committed By: wiz Date: Thu Mar 10 16:07:27 UTC 2005 Modified Files: pkgsrc/x11/lesstif: Makefile distinfo Added Files: pkgsrc/x11/lesstif/patches: patch-ab patch-ac Log Message: Add patch to fix CAN-2005-0605. Bump PKGREVISION. ---- Module Name: pkgsrc Committed By: salo Date: Fri Mar 11 00:34:19 UTC 2005 Modified Files: pkgsrc/x11/lesstif: buildlink3.mk Log Message: Bump BUILDLINK_RECOMMENDED for security update. (hi wiz!) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.17 2005/03/10 16:07:27 wiz Exp $ d3 11 a13 23 --- lib/Xm-2.1/Xpmscan.c.orig 2004-11-18 22:00:59.000000000 +0100 +++ lib/Xm-2.1/Xpmscan.c @@@@ -672,8 +672,8 @@@@ GetImagePixels(image, width, height, pma char *dst; unsigned int *iptr; char *data; - unsigned int x, y, i; - int bits, depth, ibu, ibpp, offset; + unsigned int x, y; + int bits, depth, ibu, ibpp, offset, i; unsigned long lbt; Pixel pixel, px; @@@@ -684,6 +684,9 @@@@ GetImagePixels(image, width, height, pma ibpp = image->bits_per_pixel; offset = image->xoffset; + if (image->bitmap_unit < 0) + return (XpmNoMemory); + if ((image->bits_per_pixel | image->depth) == 1) { ibu = image->bitmap_unit; for (y = 0; y < height; y++) @ 1.15 log @update to 0.93.36 changes to the pkg: -don't bother sharing patches with the Motif-1.2 compatible version anymore -- most patches were only necessary to be able to share patches, so it got ridicoulous -kick out use of autoconf et al. - just unneeded complexity -comply to Motif-2.1 instead of 2.0 lesstif changes: -added XmSimpleSpinBox implementation -Initial implementation of the CareParentVisual Trait -Start implementing XmRenderTable, XmRendition, XmTabList -misc fixes/cleanups @ text @d1 1 a1 1 $NetBSD$ @ 1.14 log @update to 0.93.0 Changes: Bugfixes and further development of DtPrintSetupBox. Support for XmTextFieldSetHighlight() Bugfixes and an additional resource for XmSpinBox. Enhancements for the docs (FAQ, Installation Docs, manpages) mwm fixes/enhancements from Andrei Rezvov Drop inter-library dependencies (any libtool 1.4 related features) Add checks whether to link against -lXp -lXext when using 2.1 Motif libraries (e.g. clients, in our test/ tree) Fix dmalloc debugging support (within configure script) Add some files missing from our test/ tree in the tarballs Smaller configuration and Makefile issues (portability fixes) Remove support for configuring and building Xlt and Xbae from within the LessTif distribution; they will be treated as separate packages from now on. We've been wasting entirely too much time on complexities caused by this lately. No more, I hope. Various fixes for (potential) memory corruption @ text @d4 1 a4 1 +++ clients/Motif-1.2/mwm/system.mwmrc Wed Sep 19 17:45:08 2001 @ 1.13 log @Update lesstif and lesstif12 to 0.92.32. Changes from version 0.92.26 include: Small code fixes to help building on some systems Use new libtool version 1.4 and automake 1.4-p1 Install more machine-indepedent files in $(prefix) @ text @d3 3 a5 3 --- clients/Motif-1.2/mwm/system.mwmrc.orig Sun Jan 16 06:06:11 2000 +++ clients/Motif-1.2/mwm/system.mwmrc @@@@ -4,7 +4,7 @@@@ d8 1 a8 1 "Root Menu" f.title d13 1 a13 1 "Refresh" f.refresh @ 1.12 log @Update lesstif and lesstif12 to version 0.92.6. Make me the maintainer since I'm most familiar with the hack to include the LessTif X11 config files. Relevant changes from version 0.91.8: * Build/Install Uil libs and Headers (and tests) by default. * Fixed some FontList interfaces to conform to the docs. Might fix memory leaks as well. * Ongoing work to use ANSI C89 as much as possible. Drop alternatives being used (e.g. bcopy() and friends) * The Motif 2.x Xme() funcs should now all exist in stubs at least; some had already been "implemented" earlier. * Build support for a Motif 2.1 compatible tree. This will soon replace the 2.0 tree. * Work in progres for creating XmPrint API. (2.1 functionality) @ text @@ 1.11 log @Update lesstif to 0.91.8. Changes from version 0.91.4 include several fixes to plug memory leaks and changing the way LessTif imake config files are handled. Also, install the HTML documentation in share/doc/html. @ text @d3 11 a13 23 --- configure.in.orig Thu Aug 31 04:46:02 2000 +++ configure.in @@@@ -506,7 +506,7 @@@@ dnl We provide for such a translation via Debian's man2html. dnl -AC_CHECK_PROG(VarHaveMan2html, man2html, yes, no) +dnl AC_CHECK_PROG(VarHaveMan2html, man2html, yes, no) AM_CONDITIONAL(HaveMan2html, test x$VarHaveMan2html = xyes) dnl @@@@ -609,6 +609,11 @@@@ dnl AC_SUBST(libdir) AC_SUBST(bindir) + +docdir='${prefix}/share/doc/lesstif' +htmldir='${prefix}/share/doc/html/lesstif' +AC_SUBST(docdir) +AC_SUBST(htmldir) dnl AC_SUBST(version) AC_SUBST(version_suffix) @ 1.10 log @Update lesstif to 0.91.4. Only minor bug fixes and some improvements to the Xbae widget set. As a package, split out the Motif-1.2-compatible libraries into a separate package. This package now contains just the main (Motif-2.0-compatible) LessTif libraries, headers, and documentation. @ text @d3 3 a5 3 --- configure.in.orig Mon Jul 3 18:38:20 2000 +++ configure.in Tue Jul 25 08:18:13 2000 @@@@ -503,7 +503,7 @@@@ d14 1 a14 1 @@@@ -606,6 +606,11 @@@@ @ 1.9 log @USE_LIBTOOL instead of PKGLIBTOOL. @ text @d3 5 a7 5 --- configure.orig Sun May 14 20:49:27 2000 +++ configure Wed Jun 21 00:37:20 2000 @@@@ -6252,10 +6252,12 @@@@ top_srcdir="$ac_dots$ac_given_srcdir" ;; esac d9 3 a11 6 + if false; then case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac + fi d13 2 a14 12 echo creating "$ac_file" rm -f "$ac_file" @@@@ -6476,10 +6478,12 @@@@ *) # Relative path. ac_sub_cache_file="$ac_dots$cache_file" ;; esac + if false; then case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac + fi d16 10 a25 2 echo "running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" # The eval makes quoting arguments work. @ 1.8 log @Defuzz patches. @ text @d3 3 a5 35 --- configure.orig Mon May 15 02:49:27 2000 +++ configure Tue May 30 09:14:23 2000 @@@@ -2151,6 +2151,7 @@@@ fi +if false; then # Check for any special flags to pass to ltconfig. libtool_flags="--cache-file=$cache_file" test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" @@@@ -2321,6 +2322,7 @@@@ # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. exec 5>>./config.log +fi if (aclocal --print-ac-dir) /dev/null 2>&1 && test -w `aclocal --print-ac-dir`; then @@@@ -2905,6 +2907,7 @@@@ echo "$ac_t""$debug_flag $conversions_flag $verbose_flag $production_flag" 1>&6 +if false; then if ${CONFIG_SHELL-/bin/sh} ./libtool --features | grep "enable shared" > /dev/null 2>&1; then lt_libtool_shared="yes" fi @@@@ -2932,6 +2935,7 @@@@ LibtoolStatic_TRUE='#' LibtoolStatic_FALSE= fi +fi # Extract the first word of "ar", so it can be a program name with args. @@@@ -6252,10 +6256,12 @@@@ d18 1 a18 1 @@@@ -6476,10 +6482,12 @@@@ @ 1.7 log @Update lesstif package to version 0.90.0 based on patches supplied by Mark Davies in PR pkg/9915. Changes since version 0.89.9: - XbaeMatrix : work in progress for making rows resizable. This is already in place for columns, it is one of the requirements for being able to handle different fonts. This may break binary compatibility with previous releases. - Various XmText bugfixes. - Add Xm/MenuT.h trait include file, required for Xmt 2.1.3. - XbaeMatrix : two bugfixes related to use of global variables (auch). - CascadeButtons : if we set the sub-menu on a menubar there is no need to refresh. - All over : remove reference to timers we've nuked with XtRemoveTimeOut(). - XmList (XmEXTENDED_SELECT) - the selected_item_count was always coming back as 1 - ImageCache : add None symbolic name for transparency. - XmTextFieldSetSelection - do not allow the start or end position to be greater than the current length. - Make Labels handle bitmaps in the version 2 case only - XmRowColumn : Give the focus to the root when we don't know were else to put it - SelectionBox has a class method called list_callback. In our FileSB class initialization this field was missing. This was causing FileSB sub-classing problems. - Do not activate an accelerator belonging to an un-managed widget. (DDD) - Mnemonics were being installed and un-installed based on a different set of rules. - Make label handle pixmaps with a depth of 1. - Xbae : consistent use of ANSI C prototypes. - Several bugfixes to RPM configuration file (lesstif.spec). - Work in progress for making Xbae widgets threadsafe. - XmListReplaceItemsPosUnselected doesn't replace last item due to the test being performed as if position were 0 based rather than 1 based. - DragBS : don't tell bcopy to copy a negative length. - Various fixes for compiler warnings. - DragBS : _XmWriteDragBuffer also seems to have difficulties - it doesn't work if the 'size' is bigger than 1000, because someone had the bright idea of hardcoding 1000 in as the maximum possible size. - Convert web pages to using JPEG instead of GIF. - Add Builder Xcessory example files for Xbae widgets. With these you should be able to import the Xbae widgets onto the BX palette. - Print a couple of warnings if someone calls Mrm thinking it might actually do something. - Clean up website text consistency. - Fix XmListYToPos(). - Get rid of - Our sample system.mwmrc wasn't correct. - Manager.c : virtual key accelerator handler. - lesstif.spec : make sure the include files for Xbae, Xlt make it in. - lesstif.spec : split the "devel" RPM into two - the "devel" RPM keeps the development stuff (include files etc), the new "static" RPM contains the static libraries. @ text @d3 3 a5 3 --- configure.orig Sat Apr 15 16:40:00 2000 +++ configure Thu Apr 27 13:17:47 2000 @@@@ -1551,6 +1551,7 @@@@ d13 1 a13 1 @@@@ -1708,6 +1709,7 @@@@ d21 1 a21 1 @@@@ -2321,6 +2323,7 @@@@ d29 1 a29 1 @@@@ -2348,6 +2351,7 @@@@ d37 1 a37 1 @@@@ -5595,10 +5599,12 @@@@ d50 1 a50 1 @@@@ -5819,10 +5825,12 @@@@ d61 1 a61 1 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" @ 1.6 log @remove some leftovers from the defuzzing @ text @d3 3 a5 4 diff -x *.orig -urN ./configure /usr/pkgsrc/x11/lesstif/work.i386.unpatched/lesstif-0.89.4/configure --- ./configure Fri Nov 5 21:15:08 1999 +++ /usr/pkgsrc/x11/lesstif/work.i386.unpatched/lesstif-0.89.4/configure Wed Nov 24 17:30:51 1999 @@@@ -1552,6 +1552,7 @@@@ d13 1 a13 1 @@@@ -1709,6 +1710,7 @@@@ d21 42 @ 1.5 log @defuzz @ text @a2 3 Place(s) where this was (most probably...) in before: NetBSD: patch-ac,v 1.4 1999/11/03 04:18:47 jlam Exp @ 1.4 log @Update to 0.89.0. Renumbered patches because it got increasingly difficult to track patches to individual files. Changes from 0.88.9: * Add FontChooser widget to Xlt. * Fix to XmText to make a second call to SetValues with the same pointer still work. * Added a directory tree lib/Xbae which contains the Xbae widget set (XbaeMatrix, XbaeCaption, and XbaeInput). * Made build system changes to build Xbae in the same way as Xlt. * Add build system options to Xlt and/or Xbae can be compiled together with LessTif. Use the --enable-build-Xlt and --enable-build-Xbae options. * Xbae contains both automake-based and Imake based build support; we're not sure how actively we'll support Imake though. * RowColumn tear-off segfault fix. * Fixed segfault with xmgrace. * various fixes for openDX * VaSimpleOption fix for Xquote * fixes for mapCallback for DialogShells with BulletionBoard children * Even though binary compatibility is not our true goal, Netscape-dynMotif (4.61) now runs out-of-the-box with lesstif! * Initial attempts at making lesstif threadsafe (PushB, PushBG) * mxftp should now work * XmScrolledWindow/XmScrollBar geometry fixes @ text @d3 7 a9 3 --- configure.orig Mon Sep 6 17:14:00 1999 +++ configure Tue Nov 2 22:16:16 1999 @@@@ -1406,6 +1406,7 @@@@ d17 1 a17 1 @@@@ -1563,6 +1564,7 @@@@ d24 1 a24 1 subdirs="lib/Xlt lib/Xbae test" @ 1.3 log @update lesstif to 0.88.9, from Adam Ciarcinski (adam@@albedo.com.pl) per PR pkg/8299 @ text @d2 19 a20 8 --- lib/config/mxmkmf.in.orig Sun Aug 15 11:37:11 1999 +++ lib/config/mxmkmf.in Sun Aug 15 11:37:44 1999 @@@@ -5,4 +5,4 @@@@ # Make sure to read the LessTif configuration first, to pick up # that version of Imake.tmpl # -imake -DUseInstalled -I@@prefix@@/lib/config -I@@x_libraries@@/X11/config +imake -DUseInstalled -I@@prefix@@/lib/X11/lesstif -I@@x_libraries@@/X11/config @ 1.2 log @Add NetBSD RCS Ids. @ text @d2 2 a3 3 --- lib/config/mxmkmf.in.orig Wed Feb 19 20:53:22 1997 +++ lib/config/mxmkmf.in Tue Feb 25 11:24:59 1997 d8 2 a9 2 -imake -DUseInstalled -I@@prefix@@/lib/config -I@@x_lib_path@@/X11/config +imake -DUseInstalled -I@@prefix@@/lib/X11/lesstif -I@@x_lib_path@@/X11/config @ 1.1 log @Initial revision @ text @d1 2 @ 1.1.1.1 log @Import Motif-clone @ text @@