pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfilezilla libfilezilla: Limit std::wcsnrtombs t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d8ee124a6865
branches: trunk
changeset: 439336:d8ee124a6865
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Sep 18 08:55:45 2020 +0000
description:
libfilezilla: Limit std::wcsnrtombs to SunOS.
diffstat:
net/libfilezilla/distinfo | 3 ++-
net/libfilezilla/patches/patch-lib_string.cpp | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r a4162e7bb655 -r d8ee124a6865 net/libfilezilla/distinfo
--- a/net/libfilezilla/distinfo Fri Sep 18 08:00:30 2020 +0000
+++ b/net/libfilezilla/distinfo Fri Sep 18 08:55:45 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.27 2020/09/18 07:57:38 wiz Exp $
+$NetBSD: distinfo,v 1.28 2020/09/18 08:55:45 jperkin Exp $
SHA1 (libfilezilla-0.24.1.tar.bz2) = 0cc47178917abc8e33b1c08bbe4f4d9a1de8180e
RMD160 (libfilezilla-0.24.1.tar.bz2) = e4439b7039f35536b447f523489a478f1ea34dde
SHA512 (libfilezilla-0.24.1.tar.bz2) = f9075bb88e5c10617d21fb7b49f7e9bd38567eeca3c4a1cd8b1e20354b1e3da95f05618897cefa6758c7843efd9833230843f77a0c23e7019cf22c950e7e8e8c
Size (libfilezilla-0.24.1.tar.bz2) = 560439 bytes
SHA1 (patch-lib_socket.cpp) = c0bd9a42d312fb4990eca74ecdae34da1edb5d2d
+SHA1 (patch-lib_string.cpp) = bcd82d2e02bcdfbd14c8b0e0c74fbbd235dc1329
diff -r a4162e7bb655 -r d8ee124a6865 net/libfilezilla/patches/patch-lib_string.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libfilezilla/patches/patch-lib_string.cpp Fri Sep 18 08:55:45 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_string.cpp,v 1.9 2020/09/18 08:55:45 jperkin Exp $
+
+Use std::wcsnrtombs() on SunOS.
+
+--- lib/string.cpp.orig 2020-07-07 12:06:31.000000000 +0000
++++ lib/string.cpp
+@@ -13,6 +13,10 @@
+
+ #include <cstdlib>
+
++#ifdef __sun
++using std::wcsnrtombs;
++#endif
++
+ static_assert('a' + 25 == 'z', "We only support systems running with an ASCII-based character set. Sorry, no EBCDIC.");
+
+ // char may be unsigned, yielding stange results if subtracting characters. To work around it, expect a particular order of characters.
Home |
Main Index |
Thread Index |
Old Index