Friday, October 25, 2019

[ports-clang] Fix textproc/uncrustify

Hi,

uncrustify is broken at runtime on macppc. Once again it's a libestdc++
vs ports-clang clash:

--8<--
~$ uncrustify
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Abort trap
-->8--

It's building [0] and just running fine with ports-gcc.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/uncrustify-0.69.0p0.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/uncrustify/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile 12 Jul 2019 20:50:16 -0000 1.23
+++ Makefile 25 Oct 2019 21:06:57 -0000
@@ -4,6 +4,8 @@ COMMENT = source code beautifier

DISTNAME = uncrustify-0.69.0

+REVISION = 0
+
CATEGORIES = textproc devel

HOMEPAGE = http://uncrustify.sourceforge.net/
@@ -17,7 +19,7 @@ WANTLIB += c m ${COMPILER_LIBCXX}

MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=uncrustify/}

-COMPILER = base-clang ports-clang ports-gcc
+COMPILER = base-clang ports-gcc

MODULES = devel/cmake \
lang/python

No comments:

Post a Comment