akrennmair / newsbeuter

Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
http://www.newsbeuter.org/
MIT License
780 stars 100 forks source link

FreeBSD stfl error #117

Closed uzsolt closed 10 years ago

uzsolt commented 10 years ago

There is a bug in FreeBSD version, maybe it's a stfl error. Please check: http://lists.freebsd.org/pipermail/freebsd-ports/2014-January/089215.html Do you have any idea?

akrennmair commented 10 years ago

I've seen the same issue on NetBSD and OpenBSD. I think I traced it to some stuff that GNU iconv can digest but those systems' iconv implementation couldn't. AFAIK, OpenBSD now has a port for newsbeuter that works. Maybe you could try adapting something from there? http://www.openbsd.org/cgi-bin/cvsweb/ports/www/newsbeuter/

akrennmair commented 10 years ago

Ah, I found it: STFL on OpenBSD links against libiconv: http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/stfl/

uzsolt commented 10 years ago

As I see OpenBSD and NetBSD-style stfl uses GNU iconv: http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/stfl/Makefile?revision=1.15&view=markup : USE_GNU_ICONV= yes http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/stfl/Makefile?rev=1.2;content-type=text%2Fplain : MODULES= converters/libiconv

uzsolt commented 10 years ago

It seems the fix is done: http://www.freshports.org/commit.php?category=devel&port=stfl&files=yes&message_id=201401301605.s0UG5Qvn016669@svn.freebsd.org I'll test it in some minutes.

uzsolt commented 10 years ago

Builds and runs well.