pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libfilezilla



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Sep 18 08:55:46 UTC 2020

Modified Files:
        pkgsrc/net/libfilezilla: distinfo
Added Files:
        pkgsrc/net/libfilezilla/patches: patch-lib_string.cpp

Log Message:
libfilezilla: Limit std::wcsnrtombs to SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/libfilezilla/distinfo
cvs rdiff -u -r0 -r1.9 pkgsrc/net/libfilezilla/patches/patch-lib_string.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libfilezilla/distinfo
diff -u pkgsrc/net/libfilezilla/distinfo:1.27 pkgsrc/net/libfilezilla/distinfo:1.28
--- pkgsrc/net/libfilezilla/distinfo:1.27       Fri Sep 18 07:57:38 2020
+++ pkgsrc/net/libfilezilla/distinfo    Fri Sep 18 08:55:45 2020
@@ -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

Added files:

Index: pkgsrc/net/libfilezilla/patches/patch-lib_string.cpp
diff -u /dev/null pkgsrc/net/libfilezilla/patches/patch-lib_string.cpp:1.9
--- /dev/null   Fri Sep 18 08:55:46 2020
+++ pkgsrc/net/libfilezilla/patches/patch-lib_string.cpp        Fri Sep 18 08:55:45 2020
@@ -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