pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/openrsync
Module Name: pkgsrc
Committed By: vins
Date: Sun Nov 30 11:46:38 UTC 2025
Modified Files:
pkgsrc/net/openrsync: Makefile distinfo
Added Files:
pkgsrc/net/openrsync/patches: patch-compats.c patch-extern.h
Log Message:
net/openrsync: fix build with gcc14
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/openrsync/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/openrsync/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/openrsync/patches/patch-compats.c
cvs rdiff -u -r0 -r1.3 pkgsrc/net/openrsync/patches/patch-extern.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/openrsync/Makefile
diff -u pkgsrc/net/openrsync/Makefile:1.3 pkgsrc/net/openrsync/Makefile:1.4
--- pkgsrc/net/openrsync/Makefile:1.3 Mon Apr 7 09:18:53 2025
+++ pkgsrc/net/openrsync/Makefile Sun Nov 30 11:46:38 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2025/04/07 09:18:53 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2025/11/30 11:46:38 vins Exp $
DISTNAME= openrsync-0.20250127
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=kristapsdz/}
GITHUB_TAG= a257c0f495af2b5ee6b41efc6724850a445f87ed
Index: pkgsrc/net/openrsync/distinfo
diff -u pkgsrc/net/openrsync/distinfo:1.5 pkgsrc/net/openrsync/distinfo:1.6
--- pkgsrc/net/openrsync/distinfo:1.5 Mon Apr 7 09:18:53 2025
+++ pkgsrc/net/openrsync/distinfo Sun Nov 30 11:46:38 2025
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.5 2025/04/07 09:18:53 wiz Exp $
+$NetBSD: distinfo,v 1.6 2025/11/30 11:46:38 vins Exp $
BLAKE2s (openrsync-0.20250127-a257c0f495af2b5ee6b41efc6724850a445f87ed.tar.gz) = b9fa62c20f47ff781a7f6236cf2fc4bca9c6a3483b681c8da9bfa1d8df2146d9
SHA512 (openrsync-0.20250127-a257c0f495af2b5ee6b41efc6724850a445f87ed.tar.gz) =
424d7e5816f969e8148be1e0967f499eedb3314e0ab6c9389d725ba8f8fe355d642cfe8697745601b76e78d616a4b1cba2f704aaa1542869558b2a18408a8561
Size (openrsync-0.20250127-a257c0f495af2b5ee6b41efc6724850a445f87ed.tar.gz) = 152816 bytes
+SHA1 (patch-compats.c) = f812ef21d3be9c0d58059d20a7d9230b4976dabf
+SHA1 (patch-extern.h) = bebb4a9bc77968cbc6c875288e5813417e3ea479
Added files:
Index: pkgsrc/net/openrsync/patches/patch-compats.c
diff -u /dev/null pkgsrc/net/openrsync/patches/patch-compats.c:1.1
--- /dev/null Sun Nov 30 11:46:39 2025
+++ pkgsrc/net/openrsync/patches/patch-compats.c Sun Nov 30 11:46:38 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-compats.c,v 1.1 2025/11/30 11:46:38 vins Exp $
+
+Prevent incompatble pointer types for memset.
+
+--- compats.c.orig 2025-01-27 04:36:41.000000000 +0000
++++ compats.c
+@@ -2145,7 +2145,7 @@ explicit_bzero(void *p, size_t n)
+ * Indirect memset through a volatile pointer to hopefully avoid
+ * dead-store optimisation eliminating the call.
+ */
+-static void (* volatile ssh_memset)(void *, int, size_t) = memset;
++static void * (* ssh_memset)(void *, int, size_t) = memset;
+
+ void
+ explicit_bzero(void *p, size_t n)
Index: pkgsrc/net/openrsync/patches/patch-extern.h
diff -u /dev/null pkgsrc/net/openrsync/patches/patch-extern.h:1.3
--- /dev/null Sun Nov 30 11:46:39 2025
+++ pkgsrc/net/openrsync/patches/patch-extern.h Sun Nov 30 11:46:38 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-extern.h,v 1.3 2025/11/30 11:46:38 vins Exp $
+
+Add missing include.
+
+--- extern.h.orig 2025-11-30 12:37:24.789764856 +0000
++++ extern.h
+@@ -17,6 +17,7 @@
+ #ifndef EXTERN_H
+ #define EXTERN_H
+
++#include <stdint.h>
+ #include "md4.h"
+
+ #if !HAVE_PLEDGE
Home |
Main Index |
Thread Index |
Old Index