File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1- $NetBSD: distinfo,v 1.4 2021/10/26 11:23:30 nia Exp $
1+ $NetBSD: distinfo,v 1.5 2024/01/02 17:57:28 schmonz Exp $
22
33BLAKE2s (scdoc-1.10.1.tar.gz) = 844030c009ec4b928ac434be87aecd0393bec6be913664a77e02b33d7afd718a
44SHA512 (scdoc-1.10.1.tar.gz) = 2b6f86263aa7d2f3b08e00772446f8ae067178b8c4ed6d53cb0ed75a8326eb96288813af5faa403a2fbcbfca131adf6e2ca614bcac90c6c3bf979b6c15ec21ad
55Size (scdoc-1.10.1.tar.gz) = 12447 bytes
66SHA1 (patch-Makefile) = db6776d997201358c442277f8ca07ee4858e6697
7+ SHA1 (patch-include_str.h) = 1fc9ea0660a25eb3327ba61783c8c78cb647ce52
8+ SHA1 (patch-src_string.c) = ee04f0a2cf8ed3a6f430b6ed4a082c26ab9e8414
Original file line number Diff line number Diff line change 1+ $NetBSD : patch - include_str .h ,v 1.1 2024 /01 /02 17 :57 :29 schmonz Exp $
2+
3+ Satisfy - Wstrict - prototypes to fix at least macOS build .
4+
5+ -- - include /str .h .orig 2020 - 02 - 14 21 :38 :03.000000000 + 0000
6+ ++ + include /str .h
7+ @@ -7 ,7 + 7 ,7 @@ struct str {
8+ size_t len , size ;
9+ };
10+
11+ - struct str * str_create ();
12+ + struct str * str_create (void );
13+ void str_free (struct str * str );
14+ void str_reset (struct str * str );
15+ int str_append_ch (struct str * str , uint32_t ch );
Original file line number Diff line number Diff line change 1+ $NetBSD : patch - src_string .c ,v 1.1 2024 /01 /02 17 :57 :29 schmonz Exp $
2+
3+ Satisfy - Wstrict - prototypes to fix at least macOS build .
4+
5+ -- - src /string .c .orig 2020 - 02 - 14 21 :38 :03.000000000 + 0000
6+ ++ + src /string .c
7+ @@ -15 ,7 + 15 ,7 @@ static int ensure_capacity (struct str * s
8+ return 1 ;
9+ }
10+
11+ - struct str * str_create () {
12+ + struct str * str_create (void ) {
13+ struct str * str = calloc (sizeof (struct str ), 1 );
14+ str -> str = malloc (16 );
15+ str -> size = 16 ;
You can’t perform that action at this time.
0 commit comments