--- le-1.14.3.orig/debian/control +++ le-1.14.3/debian/control @@ -0,0 +1,19 @@ +Source: le +Section: editors +Priority: optional +Maintainer: Raphael Geissert +Build-Depends: debhelper (>= 6.0.0), autotools-dev, libncursesw5-dev, + quilt, cdbs, autoconf, automake +Standards-Version: 3.8.3 +Homepage: http://freshmeat.net/projects/leeditor/ + +Package: le +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: editor +Description: Text editor with block and binary operations + LE has many block operations with stream and rectangular blocks, + can edit both Unix and DOS style files (LF/CRLF), is binary clean, + has hexadecimal mode, can edit large files and mmap'able devices, + has tunable syntax highlighting, tunable key map, and tunable + color scheme (but can use default colors). --- le-1.14.3.orig/debian/menu +++ le-1.14.3/debian/menu @@ -0,0 +1 @@ +?package(le):needs="text" section="Applications/Editors" title="le text editor" command="/usr/bin/le" --- le-1.14.3.orig/debian/copyright +++ le-1.14.3/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Adam F. Rogoyski on +Sat, 22 May 1999 14:34:52 +0000. + +It was downloaded from ftp://ftp.yars.free.net/pub/source/le/ + +Upstream Author: Alexander V. Lukyanov + +Copyright 1993-2008 (C) by Alexander V. Lukyanov + + le package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + le is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright 1999-2003 by Adam F. Rogoyski +, Copyright 2008 by Raphael Geissert , + with the contributions by several people (listed in debian/changelog). --- le-1.14.3.orig/debian/rules +++ le-1.14.3/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) + DEB_CONFIGURE_EXTRA_FLAGS += --with-debug +endif + +CXXFLAGS += $(shell getconf LFS_CFLAGS) +DEB_INSTALL_CHANGELOGS_ALL = NEWS +DEB_AC_AUX_DIR = $(DEB_SRCDIR)/build-aux + +DEB_AUTO_UPDATE_ACLOCAL=1.11 +DEB_AUTO_UPDATE_AUTOMAKE=1.11 +DEB_AUTO_UPDATE_AUTOCONF=true +DEB_AUTO_UPDATE_AUTOHEADER=true + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +clean:: + find . -name 'Makefile.in' -delete + $(RM) lib/Makefile configure lib/stamp-h1 lib/config.h src/config.h.in --- le-1.14.3.orig/debian/changelog +++ le-1.14.3/debian/changelog @@ -0,0 +1,351 @@ +le (1.14.3-2) unstable; urgency=low + + * debian/patches/multiarch-path.patch: + + Search for ncurses/w in the multiarch library path. + Thanks to peter green for the patch. (Closes: #651705) + * debian/rules: "autoreconf" the cdbs way due to the above change + * debian/control: B-d on automake and autoconf + * debian/patches/strcpy-overlap.patch: + + Don't use strcpy when src and dst overlap. + + -- Raphael Geissert Mon, 10 Sep 2012 21:34:51 -0500 + +le (1.14.3-1) unstable; urgency=low + + * New upstream release + - fixed compilation with gcc 4.4 (Closes: #547305) + - added workaround for a ncurses getmouse bug + * debian/patches/* removed, merged upstream. + * debian/patches/extend-sql-syntax.patch: + + More keywords used in MySQL and Oracle added. + * debian/patches/fix-html-in-php-syntax-delimiter.patch: + + Fix syntax highlighter delimiter in php mode. + * debian/patches/debian-changelog-dist-allow-dash.patch: + + Allow distribution names with dashes in Debian changelog mode. + * debian/control: bumped Standards-Version, no change needed. + + -- Raphael Geissert Mon, 28 Dec 2009 18:20:08 -0600 + +le (1.14.2-1) unstable; urgency=low + + * New upstream release: + - added javascript patterns + - fixed auto word wrap mode (reported by Stefano D'Archino) + * debian/patches/{more_,typos}.patch: minor corrections. + * debian/patches/syntax_corrections.patch: + + Improvements and corrections to the Debian control file mode. + * debian/control: + + Changed my email address. + + Dropped the DM-U-A field. + + Bumped Standards-Version, no change needed. + + -- Raphael Geissert Wed, 01 Jul 2009 12:18:43 -0500 + +le (1.14.1-1) unstable; urgency=low + + * New upstream release: + - fixed html comment pattern. + - added more syntax colors (now 6). + - added txt2tags syntax patterns (Stefano D'Archino). + * debian/patches/* removed, merged upstream. + + -- Raphael Geissert Thu, 07 May 2009 22:32:40 -0500 + +le (1.14.0-1) unstable; urgency=low + + * New upstream release: + - le.1_minus_signs.patch: deleted, merged upstream. + - macro_def_BUG223168.patch: deleted, merged upstream. + - le_syntax.patch: deleted, merged upstream. + - man_typo.patch: deleted, merged upstream. + - add kri/kind terminfo codes to keymap. + - minor improvemens in shell and sql syntax patterns. + - php syntax updated (Igor Zhbanov). + - added sum function to the calculator. + - fvwm2rc syntax added (Aldis Berjoza). + - fixed DOS-EOL mode display in status line. + - automatically turn off syntax highlighting on screens with too long lines + - display syntax selector in File/Info dialog. + - improved syntax descriptions for shell, configure.ac, perl + - use newer regex with non-greedy modifier + - allow syntax pattern inclusion from additional files + * debian/docs: don't install NEWS, it is already being installed as changelog + * debian/rules: use cdbs + * debian/control: + + Build-Depend on cdbs + - Remove versioned build dependencies that are satisfied even in etch: + + quilt + + libncursesw5-dev + + Bump Standards-Version to 3.8.1, no change needed + * debian/patches/ + + pascal-mode.patch: Pascal (*.pas) mode for syntax highlighting + - diff-mode-enhancements.patch: + + Recognise files starting with ^diff + + Colourise the whole added/removed lines, not just the symbols + + debian-control-mode-typo.patch: s/Enhaces/Enhances + - watch-file-mode.patch + + Fix an error related to active/passive caused by accident on a recent + syntax files modification + + -- Raphael Geissert Tue, 05 May 2009 23:28:56 -0500 + +le (1.13.7-2) unstable; urgency=low + + * The "Syntax highlighting" upload. + + * patches/le_syntax.patch: + + Improved syntax highlighting for php. + + Fixed an incorrect highlighting of $" in perl mode. + + Fixed an incorrect highlighting of \# in perl mode. + + Increased the height up to 20 for some long constructors. + + Added makefile mode. + + Also match *.ini in the generic config file mode. + + Added Debian control (control, dsc, changes) file mode. + + Added Debian changelog mode. + + Also match *.pot in po mode. + + Added basic lsm mode. + + Added watch file, uscan(1), mode. + + Added gdbinit mode. + + Added .desktop (and eventsrc) mode. + + Added basic quilt series mode. + + Added basic .ac and .m4 mode. + + Added generic changelog mode. + * debian/control: bump Standards Version to 3.8.0: + - No changes needed + * debian/rules: minor cleanup. + + -- Raphael Geissert Mon, 21 Jul 2008 15:06:29 -0500 + +le (1.13.7-1) unstable; urgency=low + + * New upstream release + - "fixed display for single-byte encodings on linux." + * patches/le.1_minus_signs.patch: Correctly escape minus signs in le.1 + + -- Raphael Geissert Mon, 17 Mar 2008 20:57:06 -0600 + +le (1.13.6-1) unstable; urgency=low + + * New upstream release + * debian/control: Bumped to debhelper's compat version 6 + * Adopting package (Closes: #419076) + * debian/copyright: Updated copyright years + * Added XS-DM-Upload-Allowed: yes + + -- Raphael Geissert Tue, 29 Jan 2008 21:29:10 -0600 + +le (1.13.5-1) unstable; urgency=low + + * QA upload. + * New upstream release + * Install NEWS instead of ChangeLog (outdated) as the upstream changelog + * Updated debian/copyright adding full copyright years and license text + * Added Homepage field + * Extract patches from .diff.gz to different files under debian/patches + - Adds a build dependency on quilt + * Fixed debian/rules target dependencies so parallel building works + * Added LFS flags for building (Closes: #338110) + + -- Raphael Geissert Sat, 15 Dec 2007 22:30:32 -0600 + +le (1.13.4-2) unstable; urgency=low + + * QA upload. + * Build against libncursesw5-dev and not libncurses5-dev to gain multibyte + encoding support. (Closes: #449348, #295955) + * Bump Standards-Version to 3.7.3: + + move from menu section Apps/Editors to Applications/Editors. + + -- Adeodato Simó Sat, 15 Dec 2007 12:03:21 +0100 + +le (1.13.4-1) unstable; urgency=low + + * QA upload. + * New upstream release. Closes: #369373. + * doc/le.1: Fix typos. Thanks to A Costa. Closes: #311236. + * Automatically update config.guess and config.sub from autotools-dev. + * debian/copyright, debian/watch: Update upstream URL. + * debian/README.Debian: Empty; remove. + * debian/changelog: Remove obsolete Emacs local variables. + * debian/dirs: Already created by the Makefile; remove. + * debian/rules: Remove dh_installmanpages. + + -- Matej Vela Tue, 1 May 2007 16:31:01 +0200 + +le (1.9.1-5) unstable; urgency=low + + * QA upload. + * Set Maintainer to QA group; Orphaned: #419076 + * Remove make, g++ from Build-Depends (build-essential) + * Bump compat level to 5, create debian/compat, update debian/rules + * Add quotes to debian/menu + * Fix parsing error for debian/changelog + * Add Provides: editor (Closes: #369383), use update-alternatives to + register / unregister le in postinst/prerm + * Remove le.{postinst,prerm,postrm} templates from debian/ + * Set Standards Version to 3.7.2 + + -- Michael Ablassmeier Thu, 26 Apr 2007 11:29:15 +0200 + +le (1.9.1-4.1) unstable; urgency=low + + * Zero-day NMU from the Minneapolis BSP. + * Fix build problem related to KEY_F macro definition (closes: #223168). + - KEY_F definition was coming from rather than + - Fix was to move include of down a few lines in src/getch.cc + + -- Kenneth J. Pronovici Sat, 13 Dec 2003 17:08:07 -0600 + +le (1.9.1-4) unstable; urgency=low + + * Remove config.log from version .diff. Fixes lintian warning. + + -- Adam F. Rogoyski Sat, 4 Jan 2003 00:38:35 -0600 + +le (1.9.1-3) unstable; urgency=low + + * Upgrade to Standards Version 3.5.8.0. + * Fix lintian warning about Author(s) field in copyright file. + * Add build-depends for make, g++. + + -- Adam F. Rogoyski Sun, 15 Dec 2002 19:55:42 -0600 + +le (1.9.1-2) unstable; urgency=low + + * Add patch from author to fix compiler warning. Closes: #161139. + + -- Adam F. Rogoyski Wed, 25 Sep 2002 22:51:23 -0500 + +le (1.9.1-1) unstable; urgency=low + + * New upstream release. + + -- Adam F. Rogoyski Mon, 16 Sep 2002 23:31:43 -0500 + +le (1.9.0-1) unstable; urgency=low + + * Fix bug #124861, Spelling error in description. + * New upstream release. + + -- Adam F. Rogoyski Sat, 2 Feb 2002 22:38:10 -0600 + +le (1.8.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * standard changed to depricate CLK_TCK in favor of CLOCKS_PER_SEC, + not defined in the compile. Closes: #104598 + + -- LaMont Jones Fri, 13 Jul 2001 15:04:38 -0600 + +le (1.8.2-1) unstable; urgency=low + + * New upstream release. + + -- Adam F. Rogoyski Mon, 21 May 2001 10:32:45 -0500 + +le (1.7.1-1) unstable; urgency=low + + * New upstream release. + * Add build-depends on libncurses5-dev, closes BUG #91898. + + -- Adam F. Rogoyski Sun, 8 Apr 2001 22:10:56 -0500 + +le (1.6.3-1) unstable; urgency=low + + * New upstream release. + * Use standards 3.2.1. + * Use debhelper >> 3.0.0. + + -- Adam F. Rogoyski Tue, 13 Mar 2001 13:33:09 -0600 + +le (1.6.1-1) unstable; urgency=low + + * New upstream release. + * Fix bug #82030. + + -- Adam F. Rogoyski Tue, 16 Jan 2001 19:38:43 -0600 + +le (1.6.0-1) unstable; urgency=low + + * New upstream release. + + -- Adam F. Rogoyski Sun, 10 Dec 2000 14:32:59 -0600 + +le (1.5.7-1) unstable; urgency=low + + * New upstream release. + * Fix download directory site in debian/copyright. + + -- Adam F. Rogoyski Tue, 14 Mar 2000 21:53:52 -0600 + +le (1.5.5-2) unstable; urgency=low + + * Fix .orig.tar.gz directory extrapolation. + + -- Adam F. Rogoyski Sat, 27 Nov 1999 18:46:33 -0600 + +le (1.5.5-1) unstable; urgency=low + + * New upstream release. + * Fixes wishlist bug #50805. + + -- Adam F. Rogoyski Thu, 25 Nov 1999 21:33:06 -0600 + +le (1.5.1-4) unstable; urgency=low + + * fix deleting /usr/doc link on removing package. + + -- Adam F. Rogoyski Sun, 14 Nov 1999 20:26:18 -0600 + +le (1.5.1-3) unstable; urgency=low + + * usr -> usr/share transition. + + -- Adam F. Rogoyski Sat, 13 Nov 1999 22:28:16 -0600 + +le (1.5.1-2) unstable; urgency=low + + * Fixed man page bug. + + -- Adam F. Rogoyski Thu, 10 Jun 1999 19:59:06 +0000 + +le (1.5.1-1) unstable; urgency=low + + * New upstream release + + -- Adam F. Rogoyski Sat, 22 May 1999 14:34:52 +0000 + +le (1.4.2-1.2) frozen unstable; urgency=low + + * Non-maintainer upload. + * Rebuilt with new egcs to get up to date libstdc++ dependency. This + also updates the ncurses dependency (Fixes #29026). + * Rewrote menu file for new format (fixes Lintian error). + + -- J.H.M. Dassen (Ray) Fri, 6 Nov 1998 14:30:23 +0100 + +le (1.4.2-1.1) frozen unstable; urgency=low + + * Non-maintainer upload. + * Rebuilt with new ncurses (with fixed CXX_TYPE_BOOL). + * Can't reproduce core dump on startup reported in #20974. + + -- J.H.M. Dassen (Ray) Sat, 9 May 1998 13:57:16 +0200 + +le (1.4.2-1) unstable; urgency=low + + * New upstream release + + -- Christoph Lameter Mon, 12 Jan 1998 19:12:00 -0800 + +le (1.4.1-1) debs; urgency=low + + * New upstream release + + -- Christoph Lameter Sat, 13 Dec 1997 08:46:16 -0800 + +le (1.4.0-1) unstable; urgency=low + + * Initial Release. + + -- Christoph Lameter Mon, 10 Nov 1997 21:13:15 +0000 --- le-1.14.3.orig/debian/watch +++ le-1.14.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.yars.free.net/pub/source/le/le-(.*)\.tar\.gz debian uupdate --- le-1.14.3.orig/debian/compat +++ le-1.14.3/debian/compat @@ -0,0 +1 @@ +6 --- le-1.14.3.orig/debian/postinst +++ le-1.14.3/debian/postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + update-alternatives --install /usr/bin/editor editor /usr/bin/le 60 \ + --slave /usr/share/man/man1/editor.1.gz editor.1.gz \ + /usr/share/man/man1/le.1.gz +fi + +#DEBHELPER# --- le-1.14.3.orig/debian/prerm +++ le-1.14.3/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove editor /usr/bin/le +fi + +#DEBHELPER# --- le-1.14.3.orig/debian/docs +++ le-1.14.3/debian/docs @@ -0,0 +1,5 @@ +README +TODO +HISTORY +FEATURES +le.lsm --- le-1.14.3.orig/debian/patches/fix-html-in-php-syntax-delimiter.patch +++ le-1.14.3/debian/patches/fix-html-in-php-syntax-delimiter.patch @@ -0,0 +1,13 @@ +Index: le-1.14.3/misc/syntax +=================================================================== +--- le-1.14.3.orig/misc/syntax ++++ le-1.14.3/misc/syntax +@@ -137,7 +137,7 @@ i=tex + + /*.php.*|*.php|/<\?php + s(php)1=<\?(?:php)?((?:.|\n)*?)\?> +-s(html)1=(?:\`|\?>)((?:.|\n)*?)(?:<\?|\') ++s(html)1=(?:\`|\?>)((?:.|\n)*?)(?:<\?|\`) + i=html + i=php + --- le-1.14.3.orig/debian/patches/series +++ le-1.14.3/debian/patches/series @@ -0,0 +1,5 @@ +debian-changelog-dist-allow-dash.patch +fix-html-in-php-syntax-delimiter.patch +extend-sql-syntax.patch +multiarch-path.patch +strcpy-overlap.patch --- le-1.14.3.orig/debian/patches/debian-changelog-dist-allow-dash.patch +++ le-1.14.3/debian/patches/debian-changelog-dist-allow-dash.patch @@ -0,0 +1,13 @@ +Index: le-1.14.3/misc/syntax +=================================================================== +--- le-1.14.3.orig/misc/syntax ++++ le-1.14.3/misc/syntax +@@ -191,7 +191,7 @@ c1,1=^(X[BCS]+-[[:alnum:]-]+)(:) + // ([^ ]+) .+; +urgency= + c3=^[ \t]+--.+ + c2,1=urgency=([[:alnum:]]+) +-ci2,1=[ \t]+([[:alnum:]]+);[ \t]+urgency= ++ci2,1=[ \t]+([[:alnum:]-]+);[ \t]+urgency= + c2,1=^[[:alnum:].-]+ +\((.+)\) + c1,1=^([[:alnum:].-]+) +\(.+\) + ci1=closes:[ \t]*(bug)?#?[ \t]?[0-9]+(,[ \t]*\ --- le-1.14.3.orig/debian/patches/extend-sql-syntax.patch +++ le-1.14.3/debian/patches/extend-sql-syntax.patch @@ -0,0 +1,57 @@ +Index: le-1.14.3/misc/syntax.d/sql +=================================================================== +--- le-1.14.3.orig/misc/syntax.d/sql ++++ le-1.14.3/misc/syntax.d/sql +@@ -3,28 +3,30 @@ + c3=--.*$|/\\*(?:.|\n)*?\\*/ + c3="([^"\n\\]|\\\\.)*"|'([^\n'\\]|\\\\.)*' + ci1,1=(?:[^[:alnum:]_]|^)(\ +-abort|accept|access|add|all|alter|and|any|array|arraylen|as|asc|assert|\ +-assign|at|audit|authorization|avg|base_table|begin|between|binary_integer|\ +-body|boolean|by|case|char|char_base|check|close|cluster|clusters|colauth|\ +-column|columns|comment|commit|compress|connect|constant|count|crash|create|\ +-current|cursor|curval|database|data_base|date|dba|debugoff|debugon|decimal|\ +-declare|default|definition|delay|delete|delta|desc|digits|dispose|distinct|\ +-do|drop|else|elsif|end|entry|exception|exception_init|exclusive|exists|exit|\ +-false|fetch|file|float|for|form|from|function|generic|goto|grant|group|\ +-having|identified|if|immediate|in|increment|index|indexes|indicator|initial|\ +-insert|integer|interface|intersect|into|is|level|like|limited|lock|long|\ +-loop|max|maxextents|min|minus|mlslabel|mod|mode|modify|natural|naturaln|\ +-new|nextval|noaudit|nocompress|not|nowait|null|number|number_base|of|\ +-offline|on|online|open|option|or|order|others|out|package|partition|pctfree|\ +-pls_integer|positive|positiven|pragma|prior|private|privileges|procedure|\ +-public|raise|range|raw|real|record|ref|release|rem|rename|resource|return|\ +-reverse|revoke|rollback|row|rowid|rowlabel|rownum|rows|rowtype|run|\ +-savepoint|schema|select|separate|session|set|share|size|smallint|space|sql|\ +-sqlcode|sqlerrm|start|statement|stddev|subtype|successful|sum|synonym|\ +-sysdate|tabauth|table|tables|task|terminate|then|to|trigger|true|type|uid|\ +-union|unique|update|use|user|validate|values|varchar|varchar2|variance|view|\ +-views|when|whenever|where|while|with|work|write|xor|sequence|cascade|before|each|\ +-constraint|foreign|key|references|primary|using|decode|replace|enable|disable|\ ++abort|accept|access|add|after|all|alter|and|any|array|arraylen|as|asc|\ ++assert|assign|at|audit|authorization|avg|base_table|begin|before|between|\ ++binary_integer|body|boolean|by|cascade|case|char|char_base|check|close|\ ++cluster|clusters|colauth|column|columns|comment|commit|compress|connect|\ ++constant|count|crash|create|current|cursor|curval|database|data_base|date|\ ++dba|debugoff|debugon|decimal|declare|default|definition|delay|delete|\ ++delimiter|delta|desc|digits|dispose|distinct|do|drop|each|else|elsif|end|\ ++engine|entry|exception|exception_init|exclusive|exists|exit|false|fetch|\ ++file|float|for|form|from|function|generic|goto|grant|group|having|\ ++identified|if|immediate|in|increment|index|indexes|indicator|initial|\ ++insert|int|integer|interface|intersect|into|is|level|like|limit|limited|\ ++lock|long|loop|max|maxextents|min|minus|mlslabel|mod|mode|modify|natural|\ ++naturaln|new|nextval|noaudit|nocompress|not|nowait|null|number|\ ++number_base|of|offline|on|online|open|option|or|order|others|out|package|\ ++partition|pctfree|pls_integer|positive|positiven|pragma|prior|private|\ ++privileges|procedure|public|raise|range|raw|real|record|ref|release|rem|\ ++rename|resource|return|reverse|revoke|rollback|row|rowid|rowlabel|rownum|\ ++rows|rowtype|run|savepoint|schema|select|separate|session|set|share|size|\ ++smallint|space|sql|sqlcode|sqlerrm|start|statement|stddev|subtype|\ ++successful|sum|synonym|sysdate|tabauth|table|tables|task|terminate|then|\ ++to|transaction|trigger|true|type|uid|union|unique|unsigned|update|use|\ ++user|validate|values|varchar|varchar2|variance|view|views|when|whenever|\ ++where|while|with|work|write|xor|sequence|cascade|before|each|constraint|\ ++foreign|key|references|primary|using|decode|replace|enable|disable|\ + returning\ + )(?:[^[:alnum:]_]|$) + c2=\||\)|\(|:=|=|\|\||<|>|!= --- le-1.14.3.orig/debian/patches/multiarch-path.patch +++ le-1.14.3/debian/patches/multiarch-path.patch @@ -0,0 +1,21 @@ +Description: Search for ncurses/w in the multiarch path too, allowing + the package to build now that the ncurses libs have been moved to + triplet-based paths. +Origin: other +Author: peter green +Forwarded: no +Last-Update: 2011-12-11 + + +Index: le-1.14.6/acinclude.m4 +=================================================================== +--- le-1.14.6.orig/acinclude.m4 ++++ le-1.14.6/acinclude.m4 +@@ -48,6 +48,7 @@ AC_DEFUN([LE_PATH_CURSES_DIRECT], + for ac_dir0 in `echo "$ac_curses_includes" | sed -e 's:include:lib:' -e 's:/ncurses$::'` \ + /usr/lib \ + /usr/local/lib \ ++ /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH` \ + ; \ + do + for ac_dir in ${ac_dir0}64 ${ac_dir0}; do --- le-1.14.3.orig/debian/patches/strcpy-overlap.patch +++ le-1.14.3/debian/patches/strcpy-overlap.patch @@ -0,0 +1,13 @@ +Index: le-1.14.6/src/file.cc +=================================================================== +--- le-1.14.6.orig/src/file.cc ++++ le-1.14.6/src/file.cc +@@ -74,7 +74,7 @@ void NormalizeFileName(char *s) + *s=0; + break; + } +- strcpy(s+1,p); ++ memmove(s+1,p, strlen(p)+1); + } + } + }