pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/unzoo



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar 16 12:10:22 UTC 2026

Modified Files:
        pkgsrc/archivers/unzoo: distinfo
        pkgsrc/archivers/unzoo/patches: patch-unzoo.c

Log Message:
unzoo: Fix implicit function declarations.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/archivers/unzoo/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/archivers/unzoo/patches/patch-unzoo.c

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

Modified files:

Index: pkgsrc/archivers/unzoo/distinfo
diff -u pkgsrc/archivers/unzoo/distinfo:1.6 pkgsrc/archivers/unzoo/distinfo:1.7
--- pkgsrc/archivers/unzoo/distinfo:1.6 Tue Oct 26 09:57:19 2021
+++ pkgsrc/archivers/unzoo/distinfo     Mon Mar 16 12:10:21 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 09:57:19 nia Exp $
+$NetBSD: distinfo,v 1.7 2026/03/16 12:10:21 nia Exp $
 
 BLAKE2s (unzoo.c) = eefd7915679141e01a0abcb4f338515101f3b0df119474bfecb36d27cef1674e
 SHA512 (unzoo.c) = d293e244e44af131702550ddefdd035e32de3e7228f6c1c805139d448ba96357931405d313405572c30fc7c8d2ff005cc0ffc4d0ad209f47ee9ec1217ccaed21
 Size (unzoo.c) = 115328 bytes
-SHA1 (patch-unzoo.c) = 5b652586c919a8a5a5498c00ae2330620af39ea4
+SHA1 (patch-unzoo.c) = 3696ec77dc4a2ea87b905ece0c1e7e84e8b49759

Index: pkgsrc/archivers/unzoo/patches/patch-unzoo.c
diff -u pkgsrc/archivers/unzoo/patches/patch-unzoo.c:1.1 pkgsrc/archivers/unzoo/patches/patch-unzoo.c:1.2
--- pkgsrc/archivers/unzoo/patches/patch-unzoo.c:1.1    Thu Mar 26 22:29:47 2020
+++ pkgsrc/archivers/unzoo/patches/patch-unzoo.c        Mon Mar 16 12:10:21 2026
@@ -1,4 +1,6 @@
-$NetBSD: patch-unzoo.c,v 1.1 2020/03/26 22:29:47 rillig Exp $
+$NetBSD: patch-unzoo.c,v 1.2 2026/03/16 12:10:21 nia Exp $
+
+Fix implicit declaration of mkdir, utime.
 
 unzoo.c: In function 'IsMatchName':
 unzoo.c:1268:40: error: array subscript has type 'char' [-Werror=char-subscripts]
@@ -16,17 +18,21 @@ On NetBSD-8.0-x86_64 using GCC 5.5.0 the
 which means that pattern matching depended on the contents of the archive
 before.
 
---- unzoo.c.orig       2020-03-26 22:01:16.074248902 +0000
+--- unzoo.c.orig       2026-03-16 11:45:18.028989167 +0000
 +++ unzoo.c
-@@ -244,6 +244,7 @@
+@@ -243,7 +243,11 @@
+ *H  Initial revision
  *H
  */
++#include        <sys/types.h>
++#include        <sys/stat.h>
  #include        <stdio.h>
-+#include      <string.h>
++#include        <string.h>
++#include        <utime.h>
  
  
  /****************************************************************************
-@@ -1265,10 +1266,10 @@ int             IsMatchName ( pat, str )
+@@ -1265,10 +1269,10 @@ int             IsMatchName ( pat, str )
      /* try to match the name part                                          */
      while ( *pat != '\0' || *str != '\0' ) {
          if      ( *pat==*str                  ) { pat++;       str++;       }



Home | Main Index | Thread Index | Old Index