freebsd-ports/www/newsbeuter/files/patch-rss-rsspp_internatl.h
Tilman Keskinoz c25f63fde8 Remove USE_GCC, this fixes segfaults due to mixing c++ libraries.
PR:             186347
Submitted by:   til
Reported by:    Zsolt Udvari <udvzsolt@gmail.com>
2014-02-03 15:47:22 +00:00

13 lines
459 B
C

--- 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"