pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/news/newsbeuter newsbeuter: fix NetBSD iconv change
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc86d02b985a
branches: trunk
changeset: 375757:fc86d02b985a
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Mar 25 10:37:30 2022 +0000
description:
newsbeuter: fix NetBSD iconv change
Should fix build on NetBSD<9.99.17
diffstat:
news/newsbeuter/distinfo | 4 ++--
news/newsbeuter/patches/patch-src_utils.cpp | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diffs (48 lines):
diff -r 9c25a8ed03c7 -r fc86d02b985a news/newsbeuter/distinfo
--- a/news/newsbeuter/distinfo Fri Mar 25 10:30:25 2022 +0000
+++ b/news/newsbeuter/distinfo Fri Mar 25 10:37:30 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2021/12/20 07:19:42 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/03/25 10:37:30 wiz Exp $
BLAKE2s (newsbeuter-2.9.tar.gz) = d42446556199395cf370c229208d52e21fd8d666cc415ae6f4cd2bd92d9ea889
SHA512 (newsbeuter-2.9.tar.gz) = b173008c8c8d3729f8ccef3ce62645a05c1803fb842d5c0afdf9ffd4ed3726030f9c359c20bc817402a6a0ea12af742d0ae7faf9b92d52c11f420f62b430b0aa
@@ -11,4 +11,4 @@
SHA1 (patch-src_feedhq__api.cpp) = 53d2807fc03cc048b6af928d304efcf9c6bd5c70
SHA1 (patch-src_oldreader__api.cpp) = fccad7823870717eab2f0c87e3ab78465dbf8128
SHA1 (patch-src_ttrss__api.cpp) = 60e0f71819c6a91d7d8ab44daf24e1df06029601
-SHA1 (patch-src_utils.cpp) = e153e29a0234901176485e16b92360f1e9bdea7e
+SHA1 (patch-src_utils.cpp) = e8b63a872e5452a29205b3c62977cd9e546e61ee
diff -r 9c25a8ed03c7 -r fc86d02b985a news/newsbeuter/patches/patch-src_utils.cpp
--- a/news/newsbeuter/patches/patch-src_utils.cpp Fri Mar 25 10:30:25 2022 +0000
+++ b/news/newsbeuter/patches/patch-src_utils.cpp Fri Mar 25 10:37:30 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_utils.cpp,v 1.1 2021/12/20 07:19:42 nia Exp $
+$NetBSD: patch-src_utils.cpp,v 1.2 2022/03/25 10:37:30 wiz Exp $
Adapt to NetBSD iconv prototype change.
--- src/utils.cpp.orig 2015-02-19 10:56:59.000000000 +0000
+++ src/utils.cpp
-@@ -37,6 +37,15 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
+@@ -37,6 +37,13 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
#include <openssl/crypto.h>
#endif
@@ -12,15 +12,13 @@
+#include <sys/param.h>
+#if __NetBSD_Prereq__(9,99,17)
+#define NETBSD_POSIX_ICONV 1
-+#else
-+#define NETBSD_POSIX_ICONV 0
+#endif
+#endif
+
namespace newsbeuter {
std::vector<std::string> utils::tokenize_quoted(const std::string& str, std::string delimiters) {
-@@ -274,7 +283,7 @@ std::string utils::convert_text(const st
+@@ -274,7 +281,7 @@ 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.
*/
Home |
Main Index |
Thread Index |
Old Index