pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/hs-disk-free-space
Module Name: pkgsrc
Committed By: pho
Date: Sun May 5 12:39:47 UTC 2024
Modified Files:
pkgsrc/sysutils/hs-disk-free-space: Makefile buildlink3.mk distinfo
Added Files:
pkgsrc/sysutils/hs-disk-free-space/patches: patch-System_DiskSpace.hsc
Log Message:
sysutils/hs-disk-free-space: Use the correct symbol for statvfs(2) on NetBSD
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/hs-disk-free-space/Makefile \
pkgsrc/sysutils/hs-disk-free-space/buildlink3.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/hs-disk-free-space/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/hs-disk-free-space/patches/patch-System_DiskSpace.hsc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/hs-disk-free-space/Makefile
diff -u pkgsrc/sysutils/hs-disk-free-space/Makefile:1.2 pkgsrc/sysutils/hs-disk-free-space/Makefile:1.3
--- pkgsrc/sysutils/hs-disk-free-space/Makefile:1.2 Thu Nov 2 06:37:23 2023
+++ pkgsrc/sysutils/hs-disk-free-space/Makefile Sun May 5 12:39:47 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2023/11/02 06:37:23 pho Exp $
+# $NetBSD: Makefile,v 1.3 2024/05/05 12:39:47 pho Exp $
DISTNAME= disk-free-space-0.1.0.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/sysutils/hs-disk-free-space/buildlink3.mk
diff -u pkgsrc/sysutils/hs-disk-free-space/buildlink3.mk:1.2 pkgsrc/sysutils/hs-disk-free-space/buildlink3.mk:1.3
--- pkgsrc/sysutils/hs-disk-free-space/buildlink3.mk:1.2 Thu Nov 2 06:37:23 2023
+++ pkgsrc/sysutils/hs-disk-free-space/buildlink3.mk Sun May 5 12:39:47 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2023/11/02 06:37:23 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2024/05/05 12:39:47 pho Exp $
BUILDLINK_TREE+= hs-disk-free-space
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= hs-disk-free-space
HS_DISK_FREE_SPACE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-disk-free-space+= hs-disk-free-space>=0.1.0
-BUILDLINK_ABI_DEPENDS.hs-disk-free-space+= hs-disk-free-space>=0.1.0.1nb1
+BUILDLINK_ABI_DEPENDS.hs-disk-free-space+= hs-disk-free-space>=0.1.0.1nb2
BUILDLINK_PKGSRCDIR.hs-disk-free-space?= ../../sysutils/hs-disk-free-space
.endif # HS_DISK_FREE_SPACE_BUILDLINK3_MK
Index: pkgsrc/sysutils/hs-disk-free-space/distinfo
diff -u pkgsrc/sysutils/hs-disk-free-space/distinfo:1.1 pkgsrc/sysutils/hs-disk-free-space/distinfo:1.2
--- pkgsrc/sysutils/hs-disk-free-space/distinfo:1.1 Tue Oct 24 08:22:12 2023
+++ pkgsrc/sysutils/hs-disk-free-space/distinfo Sun May 5 12:39:47 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/10/24 08:22:12 pho Exp $
+$NetBSD: distinfo,v 1.2 2024/05/05 12:39:47 pho Exp $
BLAKE2s (disk-free-space-0.1.0.1.tar.gz) = d783289857c3dec5b75d4763f5d2171fecceb095715bb14837a8deec5ac9e0b9
SHA512 (disk-free-space-0.1.0.1.tar.gz) = 7e798e5428a8ee1a226c28172aca93940dae7aeec5f6fc0a7500da0299074a007f3b5a1d53d7282def245e4b829f86ff9f18ee1f8e824fa259052d5f2434729a
Size (disk-free-space-0.1.0.1.tar.gz) = 2771 bytes
+SHA1 (patch-System_DiskSpace.hsc) = dbedd9eee01c069828029b7609a318d6c13260ba
Added files:
Index: pkgsrc/sysutils/hs-disk-free-space/patches/patch-System_DiskSpace.hsc
diff -u /dev/null pkgsrc/sysutils/hs-disk-free-space/patches/patch-System_DiskSpace.hsc:1.1
--- /dev/null Sun May 5 12:39:47 2024
+++ pkgsrc/sysutils/hs-disk-free-space/patches/patch-System_DiskSpace.hsc Sun May 5 12:39:47 2024
@@ -0,0 +1,21 @@
+$NetBSD: patch-System_DiskSpace.hsc,v 1.1 2024/05/05 12:39:47 pho Exp $
+
+Use capi calling convention. On NetBSD statvfs(2) isn't a regular symbol in
+libc.
+
+--- System/DiskSpace.hsc.orig 2024-05-05 12:36:08.046949584 +0000
++++ System/DiskSpace.hsc
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CApiFFI #-}
+ {-# LANGUAGE CPP #-}
+
+ {- |
+@@ -20,7 +21,7 @@ import Foreign.C
+
+ #include <sys/statvfs.h>
+
+-foreign import ccall safe statvfs :: CString -> Ptr a -> IO CInt
++foreign import capi safe "sys/statvfs.h statvfs" statvfs :: CString -> Ptr a -> IO CInt
+
+ type FsBlkCnt = #type fsblkcnt_t
+
Home |
Main Index |
Thread Index |
Old Index