editors/le: fix build on recent FreeBSD releases without alloca.h Backport patch from upstream repo Approved by: portmgr blanket4b830a95f9
Port details
editors/le1.16.8_2
Text editor with block and binary operations
- Maintainer
- zi@FreeBSD.org
- Packages
- le 1.16.8_2
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/lavv17/le
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (76)
editors/le: fix build with recent libc++ headers
As reported on the ports mailing lists, with recent libc++ headers on
e.g. 15.0-CURRENT, 13.4 or 14.2, editors/le fails with errors similar
to:
/usr/include/c++/v1/ios:257:25: error: expected ')'
257 | static const fmtflags hex = 0x0008;
| ^
./edit.h:158:26: note: expanded from macro 'hex'
158 | #define hex (editmode==HEXM)
| ^
/usr/include/c++/v1/ios:257:25: note: to match this '('
./edit.h:158:17: note: expanded from macro 'hex'
158 | #define hex (editmode==HEXM)
| ^
This is because edit.h defines a `hex` macro, and this clashes with
std::hex from the libc++ headers.
To fix the build, use post-patch to rename the `hex` macro to `is_hex`.
PR: 281141
Reported by: J David <j.david.lists@gmail.com>
Approved by: zi (maintainer)
MFH: 2024Q31aa709605ceditors/le: Move man pages to share/man Approved by: portmgr (blanket)fa48776672
MAN?PREFIX: eleminate its usage and move man to share/man1b819e4869
editors/le: Update WWW - Utilize USES=localbase Approved by: portmgr (just-fix-it)1cfe4a6a25
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
editors: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Adam Saponara <as@php.net> * Adam Weinberger <adamw@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Andreas Kohout <shanee@augusta.de> * Andrej Zverev <az@inec.ru> * Andrey Zakhvatov * Anton Tornqvist <antont@inbox.lv> * Bill Fumerola <billf@chc-chimes.com> * Bob Eager <bob@eager.cx> * Chris D. Faulhaber <jedgar@fxp.org> * Chris Petrik <chris@officialunix.com> * Christian Brueffer <chris@unixpages.org> * Craig Leres <leres@FreeBSD.org> * Daniel Eischen <deischen@FreeBSD.org> * David O'Brien <obrien@cs.ucdavis.edu> * David Thiel <lx@redundancy.redundancy.org> * Diego Depaoli <trebestie@gmail.com> * Dima Dorfman <dima@unixfreak.org> * Dmitri Goutnik <dg@syrec.org> * Dominic Mitchell * Emanuel Haupt <ehaupt@FreeBSD.org> * Frederic Cambus * Gea-Suan Lin <gslin@gslin.org> * Geoffrey Mainland <mainland@apeiron.net> * Grzegorz Blach <gblach@FreeBSD.org> * Hakisho Nukama <nukama@gmail.com> * James Bailie <jimmy@mammothcheese.ca> * Janos Mohacsi <janos.mohacsi@bsd.hu> * Jason Evans <jasone@FreeBSD.org> * Jean-Yves Lefort <jylefort@brutele.be> * Jille Timmermans (jille@quis.cx) * Joe Marcus Clarke <marcus@FreeBSD.org> * Johannes Meixner <johannes@perceivon.net> * John Merryweather Cooper et al * Jun-ichiro itojun Itoh <itojun@itojun.org> * KIMURA Yasuhiro <yasu@utahime.org> * Kelly Yancey <kbyanc@posi.net> * Kenneth Vestergaard Schmidt <kvs@pil.dk> * Kris Kennaway <kris@FreeBSD.org> * Leif Pedersen <bilbo@devpit.org> * MANTANI Nobutaka <nobutaka@nobutaka.com> * Mark Pulford <mark@kyne.com.au> * Martin Blapp * Matías Pizarro <matias@pizarro.net> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Johnson <ahze@FreeBSD.org> * Michael Johnson <ahze@ahze.net> * Michael L. Hostbaek (mich@freebsdcluster.org) * Michael Vasilenko <acid@stu.cn.ua> * Miguel Clara <miguelmclara@gmail.com> * Mohammad S. Babaei <info@babaei.net> * Nicola Vitale <nivit@email.it> * Olga Smirnova <mistresssilvara@hotmail.com> * Oliver Lehmann <oliver@FreeBSD.org> * Olivier Cochard-Labbe <olivier@FreeBSD.org> * Olivier Duchateau * Patrick Li <pat@databits.net> * Peter Wemm <peter@FreeBSD.org> * Philippe Lefebvre <nemesis@balistik.net> * Rimvydas Jasinskas <zrj@ef.irc> * Roman Shterenzon <roman@xpert.com> * Satoshi Asami (asami) * Shaun Amott <shaun@FreeBSD.org> * Shigeyuki FUKUSHIMA <shige@FreeBSD.org> * Shigeyuki Fukushima <shige@FreeBSD.org> * Stanislav Sedov <stas@core.310.ru> * Thomas Gellekum <tg@FreeBSD.org> * Vitaly Magerya <vmagerya@gmail.com> * Xin LI <delphij@FreeBSD.org> * Ying-Chieh Liao * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> * alepulver * brett@peloton.physics.montana.edu * buganini@gmail.com * eric * erich@rrnet.com * gahr * gelf * giffunip@asme.org * ijliao * jkh * joerg * joseph@randomnetworks.com * krion * lightside <lightside@gmx.com> * pgf * rch@richard.eu.org * tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp> * tg * thierry@pompo.net * torstenb@FreeBSD.org * verm With hat: portmgr7cd7a8d850
editors/le: Update to 1.16.8cf44432985
Remove # $FreeBSD$ from Makefiles.305f148f48
- Update to 1.16.6edb787f7fd
- Update to 1.16.5a4f1fd52f6
- MASTER_SITES cleanupc550e11dac
editors/le: document ncurses requirement (USES+=ncurses)
Also, add -I${LOCALBASE}/include to cflags to find ncurses headers
when ports ncurses is used.
approved by: infrastructure blanketbd139368edTypos, whitespace and capitalization fixes (A-F).686b747c39
Convert some more USE_BZIP2 to USES=tar:bzip2 Approved by: portmgr (not really, but touches unstaged ports)aeac01a4bb
- Do not violate stagedir - Bump PORTREVISION as some files were installed outside stagedir Reported by: poudriere With hat: portmgra690d0fe65
Support stagefe35afe046
Add NO_STAGE all over the place in preparation for the staging support (cat: editors)68ede13b49
- Update to 1.14.95b5710b322
- Update to 1.14.8e2686463bc
- Mark BROKEN under FreeBSD 7.x Reported by: pointyhat5144d2f135
- Update to 1.14.74322714236
- Update mirror URL on my ports Feature safe: yesde26666938
-Update to 1.14.6 -Pacify portlint(1) PR: ports/158777 Submitted by: rpsfa@rit.edu (me) Approved by: wxs (mentor)2275132427
Update my email address on the ports I maintain. Approved by: wxs@ (mentor)72a02a04ab
- Update to 1.14.5. - Pass maintainer to submiter. - Add LICENSE. - Add WWW to pkg-descr. PR: ports/157671 Submitted by: Ryan Steinmetz <rpsfa@rit.edu>4f24c7f97d
- Get Rid MD5 supportbb86cbe5d2
- Update to 1.14.3 PR: 142313 Submitted by: Ports Fury227e6ab1c1
- Update to 1.14.2 PR: 135031 Submitted by: Ports Fury2ca6f8cd93
- This port needs files under DATADIR/syntax.d to do correct syntax highlight. Make this happen by using distributor's Makefile to install files. - Bump PORTREVISION PR: ports/130943 Submitted by: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>e33c73ae46
- Update to 1.14.0 PR: 130448 Submitted by: KATO Tsuguru <tkato432@yahoo.com>ecf8a3ad00
- Remove conditional checks for FreeBSD 5.x and olderd095d4a965
Update to version 1.13.11e7a5d32a5d
- Update to 1.13.8 PR: 126595 Submitted by: Ports Furye3e3464832
- Respect NOPORTDATA [1] - Remove 5.x support Reported by: QA Tindy Curse [1]e4f271edfe
- Update to 1.13.7 PR: 125231 Submitted by: Ports Furybabcb27da0
- Drop maintainership21ae257e6e
- Update to 1.13.4 Sinnce both master sites broken, switch to gentoo friends mirrors :)9f3a98cac4
- Update to 1.13.3 PR: ports/101008 Submitted by: miwi Approved by: krion (mentor), az (maintainer)c321f73068
- Update to version 1.3.2 [1] - USE_BZIP2 instead tar.gz for distfile [2] Noticed by: kris mail [*1] Requested by: Andrey Simonenko (via email) [*2]d4ae6ba40c
- Update to version 1.13.0 - Add extra MASTER_SITES PR: ports/96276 Submitted by: Martin Wilke <freebsd@unixfreunde.de>e229cd2611
- Remove deprecated USE_REINPLACE - Remove no longer exist core.inec.ru from MASTER_SITES list - R.I.Pa02df25c27
SHA256ify Approved by: krion@acd87b4ad8
- Change my e-mail Approved by: sem (mentor)04b99f7cc7
- Make it fetchable again, using gzip tarball instead bz2. PR: ports/86008 Submitted by: maintainer5576578903
[1]: - Add a backup master site - Pass maintainership to submitter
Moreover:
- Use ${PORTDOCS} for a smaller pkg-plist
[1]:
PR: ports/85480
Submitted by: Andrej Zverev <az@inec.ru> (new maintainer)1d8a39aea4- Update to 1.12.5 PR: ports/84435 Submitted by: Andrej Zverev <az@inec.ru>dc66e33b1c
Update to 1.12.3 PR: ports/82531 Submitted by: Ports Fury44b5aded58
- Update to 1.12.2 PR: ports/81956 Submitted by: KATO Tsuguru <tkato432@yahoo.com>65324cf802