aboutsummaryrefslogtreecommitdiff
path: root/www/newsbeuter/files/patch-src-utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/newsbeuter/files/patch-src-utils.cpp')
-rw-r--r--www/newsbeuter/files/patch-src-utils.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/newsbeuter/files/patch-src-utils.cpp b/www/newsbeuter/files/patch-src-utils.cpp
new file mode 100644
index 000000000000..26982fb2dfa5
--- /dev/null
+++ b/www/newsbeuter/files/patch-src-utils.cpp
@@ -0,0 +1,12 @@
+--- src/utils.cpp.orig 2015-02-19 10:56:59 UTC
++++ src/utils.cpp
+@@ -274,7 +274,8 @@ std::string utils::convert_text(const st
+ * of all the Unix-like systems around there, only Linux/glibc seems to
+ * come with a SuSv3-conforming iconv implementation.
+ */
+-#if !(__linux) && !defined(__GLIBC__) && !defined(__APPLE__) && !defined(__OpenBSD__)
++#if !(__linux) && !defined(__GLIBC__) && !defined(__APPLE__) \
++ && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+ const char * inbufp;
+ #else
+ char * inbufp;