pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/WCMCommander



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Apr 29 09:39:45 UTC 2024

Modified Files:
        pkgsrc/sysutils/WCMCommander: distinfo
Added Files:
        pkgsrc/sysutils/WCMCommander/patches: patch-src_vfs_vfs-sftp2.cpp

Log Message:
WCMCommander: Fix building with GCC 10.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/WCMCommander/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/WCMCommander/patches/patch-src_vfs_vfs-sftp2.cpp

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

Modified files:

Index: pkgsrc/sysutils/WCMCommander/distinfo
diff -u pkgsrc/sysutils/WCMCommander/distinfo:1.5 pkgsrc/sysutils/WCMCommander/distinfo:1.6
--- pkgsrc/sysutils/WCMCommander/distinfo:1.5   Tue Oct 26 11:19:18 2021
+++ pkgsrc/sysutils/WCMCommander/distinfo       Mon Apr 29 09:39:44 2024
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:19:18 nia Exp $
+$NetBSD: distinfo,v 1.6 2024/04/29 09:39:44 nia Exp $
 
 BLAKE2s (WCMCommander-0.20.0.tar.gz) = 4536511589680497c7da07dcb33140e05d5ffd0e7f1c43af91afaafeb08bd846
 SHA512 (WCMCommander-0.20.0.tar.gz) = 4c57b741b9336d8c2e4fe69765bdc2a0b17c2785c71877bbd9b928cd26ab36d92dd2e16f53399a77a50762fa6d87bc52dfcd9037c5ba8179f6274b6480b314aa
 Size (WCMCommander-0.20.0.tar.gz) = 5005688 bytes
 SHA1 (patch-src_tcp__sock.cpp) = 5d0758a7f0e53255de1ea9a47ad12b7a7e3b4809
+SHA1 (patch-src_vfs_vfs-sftp2.cpp) = e1d7681881c1e255ba4fda3d89da0999d707666c
 SHA1 (patch-src_vfs_vfs.cpp) = 47270fe6ee671370635fb880a998630bc2011143
 SHA1 (patch-src_wal_wal__sys__api.cpp) = 435a3a5ff4f6f55310f7aa22bbd8b76045302263

Added files:

Index: pkgsrc/sysutils/WCMCommander/patches/patch-src_vfs_vfs-sftp2.cpp
diff -u /dev/null pkgsrc/sysutils/WCMCommander/patches/patch-src_vfs_vfs-sftp2.cpp:1.1
--- /dev/null   Mon Apr 29 09:39:45 2024
+++ pkgsrc/sysutils/WCMCommander/patches/patch-src_vfs_vfs-sftp2.cpp    Mon Apr 29 09:39:45 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_vfs_vfs-sftp2.cpp,v 1.1 2024/04/29 09:39:45 nia Exp $
+
+Fix building with modern C++ compilers.
+prompts[i].text is unsigned char *.
+
+--- src/vfs/vfs-sftp2.cpp.orig 2024-04-29 09:30:37.929308710 +0000
++++ src/vfs/vfs-sftp2.cpp
+@@ -187,7 +187,7 @@ void KbIntCallback(
+               for ( i = 0; i < num_prompts; i++ )
+               {
+                       pData[i].visible = prompts[i].echo != 0;
+-                      pData[i].prompt = std::string( prompts[i].text, prompts[i].length );
++                      pData[i].prompt = std::string( reinterpret_cast<char *>(prompts[i].text), prompts[i].length );
+               }
+ 
+               if ( !kbdIntInfo->Prompt(



Home | Main Index | Thread Index | Old Index