1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Although it continued to build -- with lots of warnings -- the editor

quietly stopped working over the years. It would not come up on 64-bit
at all, and, even where it worked, the copy/pasting was broken due to,
apparently, some unwarranted assumptions about X11, that were no longer
true with modern Xorg.

This change makes use of a major patch, that provides for reasonably
warning-free compile -- which, by itself, fixes the crashes. Also
included in the patch are fixes for copy/pasting as well for parallel
building. (Awareness raised upstream.)

Because BR_Parser.y is among the patched files, bison is now needed at
build-time (found by KATO Tsuguru).

Bump PORTREVISION and take maintainership for the time being.

Reviewed by:	KATO Tsuguru
Sponsored by:	Fatherly Love
This commit is contained in:
Mikhail Teterin 2014-12-31 04:42:38 +00:00
parent 1cd6488449
commit c5df129392
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375868
2 changed files with 11 additions and 5 deletions

View File

@ -3,27 +3,31 @@
PORTNAME= xcoral
PORTVERSION= 3.47
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://xcoral.free.fr/
MAINTAINER= ports@FreeBSD.org
PATCH_SITES= http://aldan.algebra.com/~mi/port-stuff/
PATCHFILES= xcoral-alpheus-and-peneus.patch.bz2
MAINTAINER= mi@aldan.algebra.com
COMMENT= Multiwindow mouse-based text editor for X
LICENSE= GPLv2
USE_XORG= x11
USES= bison
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
LIBS+= -lgnuregex
MAKE_JOBS_UNSAFE= yes
PLIST_SUB= VERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's| regex\.c | |g ; \
@${REINPLACE_CMD} -e 's| regex\.[co] | |g ; \
s| -g | |g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/bm_search.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${STAGEDIR}${PREFIX}/bin

View File

@ -1,2 +1,4 @@
SHA256 (xcoral-3.47.tar.gz) = 886e02eeb96e494d32969fcf41dcd09133896b717b714eb42affed1f460af3dd
SIZE (xcoral-3.47.tar.gz) = 2760763
SHA256 (xcoral-alpheus-and-peneus.patch.bz2) = f04cc61f0cf05cbdfe720e7b6f4f743d26f2a04dc109a2ead445394a739456a0
SIZE (xcoral-alpheus-and-peneus.patch.bz2) = 71099