pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/libnipper



Module Name:    pkgsrc
Committed By:   he
Date:           Fri Aug  5 14:50:29 UTC 2022

Modified Files:
        pkgsrc/net/libnipper: distinfo
Added Files:
        pkgsrc/net/libnipper/patches: patch-device_crypto_crypt-base64.cpp

Log Message:
net/libnipper: make dependence on signed chars explicit.

This allows this package to build on NetBSD/powerpc.  On signed-char
platforms this should not cause any code change, so no revision bump.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/libnipper/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/libnipper/patches/patch-device_crypto_crypt-base64.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/libnipper/distinfo
diff -u pkgsrc/net/libnipper/distinfo:1.8 pkgsrc/net/libnipper/distinfo:1.9
--- pkgsrc/net/libnipper/distinfo:1.8   Tue Oct 26 11:05:55 2021
+++ pkgsrc/net/libnipper/distinfo       Fri Aug  5 14:50:29 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:05:55 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/08/05 14:50:29 he Exp $
 
 BLAKE2s (libnipper-0.12.1.tgz) = 404ebb10447d4fcc1b924fcba281879a15d32b30e83a4bab32bf389c1618521d
 SHA512 (libnipper-0.12.1.tgz) = ba1c53c6c90781e8fb200129e7dabe07a6e8245c24b07dc801e7a81fbe22c03b17241eea09d1a376484c71491af99a17f5a9739ab0f308a5ef8bc9383804d17e
@@ -6,4 +6,5 @@ Size (libnipper-0.12.1.tgz) = 450651 byt
 SHA1 (patch-aa) = c4d245196cd901b9f11826bd163df701e1b447a2
 SHA1 (patch-ab) = 02fe2e79e77a4da0513091610726d1aa655f7637
 SHA1 (patch-device_common_misc.cpp) = cb1b3947fdeb1c962b786f1345b430a7f2fcbbef
+SHA1 (patch-device_crypto_crypt-base64.cpp) = 29e2895c740313dd1aba349f745b045419fe7a42
 SHA1 (patch-report_report-text.cpp) = e686920acc8fa665eb65e69977421e7d50b459df

Added files:

Index: pkgsrc/net/libnipper/patches/patch-device_crypto_crypt-base64.cpp
diff -u /dev/null pkgsrc/net/libnipper/patches/patch-device_crypto_crypt-base64.cpp:1.1
--- /dev/null   Fri Aug  5 14:50:29 2022
+++ pkgsrc/net/libnipper/patches/patch-device_crypto_crypt-base64.cpp   Fri Aug  5 14:50:29 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-device_crypto_crypt-base64.cpp,v 1.1 2022/08/05 14:50:29 he Exp $
+
+Make dependence on signed chars explicit, to allow build
+on NetBSD/powerpc where chars are unsigned unless qualified.
+
+--- device/crypto/crypto-base64.cpp.orig       2008-09-05 20:01:47.000000000 +0000
++++ device/crypto/crypto-base64.cpp
+@@ -36,7 +36,7 @@
+ 
+ // See RFC3548 for details of Base64 Encode / Decode standards
+ 
+-static const char base64string[] = {62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 
21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51};
++static const signed char base64string[] = {62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 
19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51};
+ 
+ 
+ // Base64 character check



Home | Main Index | Thread Index | Old Index