1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Remove USE_GCC, this fixes segfaults due to mixing c++ libraries.

PR:             186347
Submitted by:   til
Reported by:    Zsolt Udvari <udvzsolt@gmail.com>
This commit is contained in:
Tilman Keskinoz 2014-02-03 15:47:22 +00:00
parent 1ac332247d
commit c25f63fde8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342458
3 changed files with 29 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= newsbeuter
PORTVERSION= 2.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
@ -22,11 +22,11 @@ OPTIONS_DEFAULT=PODCAST
OPTIONS_SUB= yes
PODCAST_DESC= Podcast client (podbeuter)
USES= gettext gmake iconv:translit ncurses perl5 pkgconfig
USES= compiler:c++11-lang gettext gmake iconv:translit ncurses perl5 pkgconfig
USE_CXXSTD= gnu++11
USE_PERL5= build
USE_SQLITE= yes
USE_GNOME= libxml2
USE_GCC= any
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \

View File

@ -0,0 +1,13 @@
--- include/matcher.h.orig 2014-02-02 16:00:13.000000000 +0100
+++ include/matcher.h 2014-02-02 16:00:19.000000000 +0100
@@ -3,6 +3,10 @@
#include <FilterParser.h>
+#ifdef _LIBCPP_VERSION
+namespace std { namespace tr1 = std; }
+#endif
+
namespace newsbeuter {
class matchable {

View File

@ -0,0 +1,13 @@
--- rss/rsspp_internal.h.orig 2014-02-02 15:53:54.000000000 +0100
+++ rss/rsspp_internal.h 2014-02-02 15:52:36.000000000 +0100
@@ -9,6 +9,10 @@
#include <rsspp.h>
#include <tr1/memory>
+#ifdef _LIBCPP_VERSION
+namespace std { namespace tr1 = std; }
+#endif
+
#define CONTENT_URI "http://purl.org/rss/1.0/modules/content/"
#define RDF_URI "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
#define ITUNES_URI "http://www.itunes.com/dtds/podcast-1.0.dtd"