aboutsummaryrefslogtreecommitdiffstats
path: root/main/newsbeuter/musl_const.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/newsbeuter/musl_const.patch')
-rw-r--r--main/newsbeuter/musl_const.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/newsbeuter/musl_const.patch b/main/newsbeuter/musl_const.patch
new file mode 100644
index 0000000000..607fbf5494
--- /dev/null
+++ b/main/newsbeuter/musl_const.patch
@@ -0,0 +1,11 @@
+--- a/src/utils.cpp
++++ b/src/utils.cpp
+@@ -274,7 +274,7 @@
+ * 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)
+ const char * inbufp;
+ #else
+ char * inbufp;