pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/unarchiver



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Nov  9 06:21:05 UTC 2023

Modified Files:
        pkgsrc/archivers/unarchiver: distinfo
Added Files:
        pkgsrc/archivers/unarchiver/patches: patch-XADUnarchiver.m

Log Message:
archivers/unarchiver: Fix build on NetBSD 9


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/archivers/unarchiver/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/archivers/unarchiver/patches/patch-XADUnarchiver.m

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

Modified files:

Index: pkgsrc/archivers/unarchiver/distinfo
diff -u pkgsrc/archivers/unarchiver/distinfo:1.1 pkgsrc/archivers/unarchiver/distinfo:1.2
--- pkgsrc/archivers/unarchiver/distinfo:1.1    Sun Nov 28 20:04:21 2021
+++ pkgsrc/archivers/unarchiver/distinfo        Thu Nov  9 06:21:05 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/11/28 20:04:21 pho Exp $
+$NetBSD: distinfo,v 1.2 2023/11/09 06:21:05 pho Exp $
 
 BLAKE2s (unarchiver-3.10/TheUnarchiverSource.zip) = 2d40314838ce264233e2724a19da426e93cecbdc2af148849f29ae6f262450c2
 SHA512 (unarchiver-3.10/TheUnarchiverSource.zip) = b27c941f4ca03c8e9c348343fe43994fec5aa12a21c14ac9c7d53fecff234221fe37311d20f8894bc2d1e48b96df44e7446bcf81848112260d62c46be4a6cb92
 Size (unarchiver-3.10/TheUnarchiverSource.zip) = 2753163 bytes
+SHA1 (patch-XADUnarchiver.m) = fdd8dfef277affcdb63119a84fd419475841e77d

Added files:

Index: pkgsrc/archivers/unarchiver/patches/patch-XADUnarchiver.m
diff -u /dev/null pkgsrc/archivers/unarchiver/patches/patch-XADUnarchiver.m:1.1
--- /dev/null   Thu Nov  9 06:21:05 2023
+++ pkgsrc/archivers/unarchiver/patches/patch-XADUnarchiver.m   Thu Nov  9 06:21:05 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-XADUnarchiver.m,v 1.1 2023/11/09 06:21:05 pho Exp $
+
+Fix build with Clang 16 on NetBSD 9: Calling unlink(2) without including
+its declaration results in a compilation failure.
+
+--- XADUnarchiver.m.orig       2023-11-09 06:17:36.478142779 +0000
++++ XADUnarchiver.m
+@@ -4,6 +4,8 @@
+ #import "CSFileHandle.h"
+ #import "Progress.h"
+ 
++#include <unistd.h>
++
+ @implementation XADUnarchiver
+ 
+ +(XADUnarchiver *)unarchiverForArchiveParser:(XADArchiveParser *)archiveparser



Home | Main Index | Thread Index | Old Index